next-ui3 1.0.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/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/index.full.min.js +43 -0
- package/dist/index.full.min.mjs +43 -0
- package/dist/locale/zh-cn.min.js +1 -0
- package/dist/locale/zh-cn.min.mjs +1 -0
- package/dist/utils/index.min.js +1 -0
- package/dist/utils/index.min.mjs +1 -0
- package/es/component.d.ts +3 -0
- package/es/components/_base/config/presetComponents.d.ts +2 -0
- package/es/components/_base/config/presetFileUploader.d.ts +2 -0
- package/es/components/_base/next.d.ts +1 -0
- package/es/components/_base/types/index.d.ts +59 -0
- package/es/components/autocomplete/index.d.ts +2 -0
- package/es/components/autocomplete/src/index.vue.d.ts +264 -0
- package/es/components/building/index.d.ts +2 -0
- package/es/components/building/src/index.vue.d.ts +28 -0
- package/es/components/cascader/index.d.ts +2 -0
- package/es/components/cascader/src/index.vue.d.ts +1191 -0
- package/es/components/checkbox/index.d.ts +2 -0
- package/es/components/checkbox/src/index.vue.d.ts +85 -0
- package/es/components/checkbox-group/index.d.ts +2 -0
- package/es/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/es/components/date-picker/index.d.ts +2 -0
- package/es/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/es/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/es/components/date-picker/src/index.vue.d.ts +417 -0
- package/es/components/empty/index.d.ts +2 -0
- package/es/components/empty/src/index.vue.d.ts +52 -0
- package/es/components/enum-tag/index.d.ts +2 -0
- package/es/components/enum-tag/src/index.vue.d.ts +32 -0
- package/es/components/file-select/index.d.ts +2 -0
- package/es/components/file-select/src/index.vue.d.ts +67 -0
- package/es/components/filter/index.d.ts +2 -0
- package/es/components/filter/src/index.vue.d.ts +268 -0
- package/es/components/flex-text/index.d.ts +2 -0
- package/es/components/flex-text/src/index.vue.d.ts +63 -0
- package/es/components/form/index.d.ts +2 -0
- package/es/components/form/src/index.vue.d.ts +248 -0
- package/es/components/index.d.ts +28 -0
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/index.vue.d.ts +471 -0
- package/es/components/input-number/index.d.ts +2 -0
- package/es/components/input-number/src/index.vue.d.ts +522 -0
- package/es/components/input-password/index.d.ts +2 -0
- package/es/components/input-password/src/index.vue.d.ts +457 -0
- package/es/components/mask-text/index.d.ts +2 -0
- package/es/components/mask-text/src/index.vue.d.ts +30 -0
- package/es/components/pagination/index.d.ts +2 -0
- package/es/components/pagination/src/index.vue.d.ts +51 -0
- package/es/components/radio-group/index.d.ts +2 -0
- package/es/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/es/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/es/components/radio-group/src/index.vue.d.ts +94 -0
- package/es/components/remote-cascader/index.d.ts +2 -0
- package/es/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/es/components/remote-select/index.d.ts +4 -0
- package/es/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/es/components/remote-select/src/index.vue.d.ts +63 -0
- package/es/components/remote-tree-select/index.d.ts +2 -0
- package/es/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/es/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/es/components/search/index.d.ts +2 -0
- package/es/components/search/src/index.vue.d.ts +33 -0
- package/es/components/select/index.d.ts +2 -0
- package/es/components/select/src/index.vue.d.ts +639 -0
- package/es/components/table/index.d.ts +2 -0
- package/es/components/table/src/index.vue.d.ts +643 -0
- package/es/components/table/src/utils.d.ts +11 -0
- package/es/components/tree-panel/index.d.ts +2 -0
- package/es/components/tree-panel/src/index.vue.d.ts +994 -0
- package/es/components/tree-select/index.d.ts +2 -0
- package/es/components/tree-select/src/index.vue.d.ts +135 -0
- package/es/components/upload/index.d.ts +3 -0
- package/es/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/es/components/upload/src/index.vue.d.ts +559 -0
- package/es/constants/aria.d.ts +17 -0
- package/es/constants/event.d.ts +3 -0
- package/es/constants/index.d.ts +3 -0
- package/es/constants/key.d.ts +1 -0
- package/es/defaults.d.ts +5 -0
- package/es/directives/index.d.ts +1 -0
- package/es/directives/size-ob/index.d.ts +12 -0
- package/es/hooks/index.d.ts +12 -0
- package/es/hooks/use-dict-loader/index.d.ts +10 -0
- package/es/hooks/use-enums/index.d.ts +5 -0
- package/es/hooks/use-global-config/index.d.ts +22 -0
- package/es/hooks/use-list/index.d.ts +57 -0
- package/es/hooks/use-loader/index.d.ts +18 -0
- package/es/hooks/use-locale/index.d.ts +16 -0
- package/es/hooks/use-resettable/index.d.ts +4 -0
- package/es/hooks/use-size/index.d.ts +8 -0
- package/es/hooks/use-table/index.d.ts +19 -0
- package/es/hooks/use-toast/index.d.ts +18 -0
- package/es/hooks/use-upload-config/index.d.ts +24 -0
- package/es/hooks/use-vmodel/index.d.ts +3 -0
- package/es/index.d.ts +9 -0
- package/es/locale/index.d.ts +8 -0
- package/es/locale/lang/zh-cn.d.ts +9 -0
- package/es/locales.d.ts +1 -0
- package/es/make-installer.d.ts +6 -0
- package/es/utils/array.d.ts +26 -0
- package/es/utils/biz.d.ts +10 -0
- package/es/utils/compress.d.ts +14 -0
- package/es/utils/debounce.d.ts +13 -0
- package/es/utils/dom/index.d.ts +1 -0
- package/es/utils/enum.d.ts +22 -0
- package/es/utils/format.d.ts +28 -0
- package/es/utils/functions.d.ts +7 -0
- package/es/utils/html.d.ts +12 -0
- package/es/utils/index.d.ts +18 -0
- package/es/utils/install.d.ts +4 -0
- package/es/utils/object.d.ts +42 -0
- package/es/utils/rand.d.ts +1 -0
- package/es/utils/stream.d.ts +5 -0
- package/es/utils/string.d.ts +4 -0
- package/es/utils/timer.d.ts +17 -0
- package/es/utils/tree.d.ts +44 -0
- package/es/utils/types.d.ts +25 -0
- package/es/utils/url.d.ts +9 -0
- package/es/version.d.ts +1 -0
- package/global.d.ts +11 -0
- package/lib/component.d.ts +3 -0
- package/lib/components/_base/config/presetComponents.d.ts +2 -0
- package/lib/components/_base/config/presetFileUploader.d.ts +2 -0
- package/lib/components/_base/next.d.ts +1 -0
- package/lib/components/_base/types/index.d.ts +59 -0
- package/lib/components/autocomplete/index.d.ts +2 -0
- package/lib/components/autocomplete/src/index.vue.d.ts +264 -0
- package/lib/components/building/index.d.ts +2 -0
- package/lib/components/building/src/index.vue.d.ts +28 -0
- package/lib/components/cascader/index.d.ts +2 -0
- package/lib/components/cascader/src/index.vue.d.ts +1191 -0
- package/lib/components/checkbox/index.d.ts +2 -0
- package/lib/components/checkbox/src/index.vue.d.ts +85 -0
- package/lib/components/checkbox-group/index.d.ts +2 -0
- package/lib/components/checkbox-group/src/index.vue.d.ts +105 -0
- package/lib/components/date-picker/index.d.ts +2 -0
- package/lib/components/date-picker/src/QuarterPicker.vue.d.ts +96 -0
- package/lib/components/date-picker/src/SemiAnnualPicker.vue.d.ts +91 -0
- package/lib/components/date-picker/src/index.vue.d.ts +417 -0
- package/lib/components/empty/index.d.ts +2 -0
- package/lib/components/empty/src/index.vue.d.ts +52 -0
- package/lib/components/enum-tag/index.d.ts +2 -0
- package/lib/components/enum-tag/src/index.vue.d.ts +32 -0
- package/lib/components/file-select/index.d.ts +2 -0
- package/lib/components/file-select/src/index.vue.d.ts +67 -0
- package/lib/components/filter/index.d.ts +2 -0
- package/lib/components/filter/src/index.vue.d.ts +268 -0
- package/lib/components/flex-text/index.d.ts +2 -0
- package/lib/components/flex-text/src/index.vue.d.ts +63 -0
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/src/index.vue.d.ts +248 -0
- package/lib/components/index.d.ts +28 -0
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/index.vue.d.ts +471 -0
- package/lib/components/input-number/index.d.ts +2 -0
- package/lib/components/input-number/src/index.vue.d.ts +522 -0
- package/lib/components/input-password/index.d.ts +2 -0
- package/lib/components/input-password/src/index.vue.d.ts +457 -0
- package/lib/components/mask-text/index.d.ts +2 -0
- package/lib/components/mask-text/src/index.vue.d.ts +30 -0
- package/lib/components/pagination/index.d.ts +2 -0
- package/lib/components/pagination/src/index.vue.d.ts +51 -0
- package/lib/components/radio-group/index.d.ts +2 -0
- package/lib/components/radio-group/src/CustomRadioGroup.vue.d.ts +63 -0
- package/lib/components/radio-group/src/FlexRadioGroup.vue.d.ts +43 -0
- package/lib/components/radio-group/src/index.vue.d.ts +94 -0
- package/lib/components/remote-cascader/index.d.ts +2 -0
- package/lib/components/remote-cascader/src/index.vue.d.ts +47 -0
- package/lib/components/remote-select/index.d.ts +4 -0
- package/lib/components/remote-select/src/DictSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/EnumSelect.vue.d.ts +176 -0
- package/lib/components/remote-select/src/index.vue.d.ts +63 -0
- package/lib/components/remote-tree-select/index.d.ts +2 -0
- package/lib/components/remote-tree-select/src/index.vue.d.ts +52 -0
- package/lib/components/remote-tree-select/src/old.vue.d.ts +123 -0
- package/lib/components/search/index.d.ts +2 -0
- package/lib/components/search/src/index.vue.d.ts +33 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/src/index.vue.d.ts +639 -0
- package/lib/components/table/index.d.ts +2 -0
- package/lib/components/table/src/index.vue.d.ts +643 -0
- package/lib/components/table/src/utils.d.ts +11 -0
- package/lib/components/tree-panel/index.d.ts +2 -0
- package/lib/components/tree-panel/src/index.vue.d.ts +994 -0
- package/lib/components/tree-select/index.d.ts +2 -0
- package/lib/components/tree-select/src/index.vue.d.ts +135 -0
- package/lib/components/upload/index.d.ts +3 -0
- package/lib/components/upload/src/ImageUpload.vue.d.ts +52 -0
- package/lib/components/upload/src/index.vue.d.ts +559 -0
- package/lib/constants/aria.d.ts +17 -0
- package/lib/constants/event.d.ts +3 -0
- package/lib/constants/index.d.ts +3 -0
- package/lib/constants/key.d.ts +1 -0
- package/lib/defaults.d.ts +5 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/size-ob/index.d.ts +12 -0
- package/lib/hooks/index.d.ts +12 -0
- package/lib/hooks/use-dict-loader/index.d.ts +10 -0
- package/lib/hooks/use-enums/index.d.ts +5 -0
- package/lib/hooks/use-global-config/index.d.ts +22 -0
- package/lib/hooks/use-list/index.d.ts +57 -0
- package/lib/hooks/use-loader/index.d.ts +18 -0
- package/lib/hooks/use-locale/index.d.ts +16 -0
- package/lib/hooks/use-resettable/index.d.ts +4 -0
- package/lib/hooks/use-size/index.d.ts +8 -0
- package/lib/hooks/use-table/index.d.ts +19 -0
- package/lib/hooks/use-toast/index.d.ts +18 -0
- package/lib/hooks/use-upload-config/index.d.ts +24 -0
- package/lib/hooks/use-vmodel/index.d.ts +3 -0
- package/lib/index.d.ts +9 -0
- package/lib/locale/index.d.ts +8 -0
- package/lib/locale/lang/zh-cn.d.ts +9 -0
- package/lib/locales.d.ts +1 -0
- package/lib/make-installer.d.ts +6 -0
- package/lib/utils/array.d.ts +26 -0
- package/lib/utils/biz.d.ts +10 -0
- package/lib/utils/compress.d.ts +14 -0
- package/lib/utils/debounce.d.ts +13 -0
- package/lib/utils/dom/index.d.ts +1 -0
- package/lib/utils/enum.d.ts +22 -0
- package/lib/utils/format.d.ts +28 -0
- package/lib/utils/functions.d.ts +7 -0
- package/lib/utils/html.d.ts +12 -0
- package/lib/utils/index.d.ts +18 -0
- package/lib/utils/install.d.ts +4 -0
- package/lib/utils/object.d.ts +42 -0
- package/lib/utils/rand.d.ts +1 -0
- package/lib/utils/stream.d.ts +5 -0
- package/lib/utils/string.d.ts +4 -0
- package/lib/utils/timer.d.ts +17 -0
- package/lib/utils/tree.d.ts +44 -0
- package/lib/utils/types.d.ts +25 -0
- package/lib/utils/url.d.ts +9 -0
- package/lib/version.d.ts +1 -0
- package/package.json +85 -0
- package/theme-chalk/base.css +1 -0
- package/theme-chalk/dark/css-vars.css +0 -0
- package/theme-chalk/el-building.css +1 -0
- package/theme-chalk/el-cascader.css +1 -0
- package/theme-chalk/el-checkbox-group.css +1 -0
- package/theme-chalk/el-date-picker.css +1 -0
- package/theme-chalk/el-empty.css +1 -0
- package/theme-chalk/el-file-select.css +1 -0
- package/theme-chalk/el-filter.css +1 -0
- package/theme-chalk/el-flex-text.css +1 -0
- package/theme-chalk/el-form.css +1 -0
- package/theme-chalk/el-image-upload.css +1 -0
- package/theme-chalk/el-input-number.css +1 -0
- package/theme-chalk/el-mask-text.css +1 -0
- package/theme-chalk/el-radio-group.css +1 -0
- package/theme-chalk/el-search.css +1 -0
- package/theme-chalk/el-select.css +1 -0
- package/theme-chalk/el-table.css +1 -0
- package/theme-chalk/el-tree-panel.css +1 -0
- package/theme-chalk/el-tree-select.css +1 -0
- package/theme-chalk/el-upload.css +1 -0
- package/theme-chalk/index.css +1 -0
- package/theme-chalk/src/base.scss +11 -0
- package/theme-chalk/src/building.scss +6 -0
- package/theme-chalk/src/cascader.scss +36 -0
- package/theme-chalk/src/checkbox-group.scss +16 -0
- package/theme-chalk/src/dark/css-vars.scss +0 -0
- package/theme-chalk/src/date-picker.scss +40 -0
- package/theme-chalk/src/empty.scss +82 -0
- package/theme-chalk/src/file-select.scss +94 -0
- package/theme-chalk/src/filter.scss +119 -0
- package/theme-chalk/src/flex-text.scss +31 -0
- package/theme-chalk/src/form.scss +10 -0
- package/theme-chalk/src/image-upload.scss +25 -0
- package/theme-chalk/src/index.scss +20 -0
- package/theme-chalk/src/input-number.scss +16 -0
- package/theme-chalk/src/mask-text.scss +8 -0
- package/theme-chalk/src/radio-group.scss +204 -0
- package/theme-chalk/src/search.scss +5 -0
- package/theme-chalk/src/select.scss +14 -0
- package/theme-chalk/src/table.scss +24 -0
- package/theme-chalk/src/tree-panel.scss +113 -0
- package/theme-chalk/src/tree-select.scss +14 -0
- package/theme-chalk/src/upload.scss +86 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.nt-image-upload {
|
|
2
|
+
&__image {
|
|
3
|
+
width: 120px;
|
|
4
|
+
height: 120px;
|
|
5
|
+
border-radius: 50%;
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
outline: 1px dashed var(--el-border-color);
|
|
10
|
+
font-size: 32px;
|
|
11
|
+
color: var(--el-text-color-secondary);
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
&:hover {
|
|
15
|
+
outline-color: var(--el-color-primary);
|
|
16
|
+
color: var(--el-color-primary);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
img {
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
object-fit: cover;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use './base.scss';
|
|
2
|
+
@use './building.scss';
|
|
3
|
+
@use './cascader.scss';
|
|
4
|
+
@use './checkbox-group.scss';
|
|
5
|
+
@use './date-picker.scss';
|
|
6
|
+
@use './empty.scss';
|
|
7
|
+
@use './file-select.scss';
|
|
8
|
+
@use './filter.scss';
|
|
9
|
+
@use './flex-text.scss';
|
|
10
|
+
@use './form.scss';
|
|
11
|
+
@use './image-upload.scss';
|
|
12
|
+
@use './input-number.scss';
|
|
13
|
+
@use './mask-text.scss';
|
|
14
|
+
@use './radio-group.scss';
|
|
15
|
+
@use './search.scss';
|
|
16
|
+
@use './select.scss';
|
|
17
|
+
@use './table.scss';
|
|
18
|
+
@use './tree-panel.scss';
|
|
19
|
+
@use './tree-select.scss';
|
|
20
|
+
@use './upload.scss';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.nt-input-number--right ::v-deep .el-input__inner {
|
|
2
|
+
text-align: right;
|
|
3
|
+
}
|
|
4
|
+
.nt-input-number--center ::v-deep .el-input__inner {
|
|
5
|
+
text-align: center;
|
|
6
|
+
font-family: math;
|
|
7
|
+
}
|
|
8
|
+
.nt-input-number--bold ::v-deep .el-input__inner {
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
}
|
|
11
|
+
.nt-input-number--padding ::v-deep .el-input__inner {
|
|
12
|
+
padding: 0 15px;
|
|
13
|
+
}
|
|
14
|
+
.nt-input-number--prefix {
|
|
15
|
+
display: inline-block;
|
|
16
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// 自适应单行选项组
|
|
2
|
+
.nt-flex-radio-group {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.nt-flex-radio-container {
|
|
9
|
+
height: 36px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
flex: 1;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
gap: 12px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.nt-flex-radio-label {
|
|
19
|
+
border-radius: 8px;
|
|
20
|
+
padding: 8px 16px;
|
|
21
|
+
color: #151b26;
|
|
22
|
+
line-height: 22px;
|
|
23
|
+
height: 20px;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
background: #fff;
|
|
26
|
+
font-weight: 500;
|
|
27
|
+
box-sizing: content-box;
|
|
28
|
+
position: relative;
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
color: #999ebe;
|
|
31
|
+
&:before {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 0;
|
|
34
|
+
top: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
content: '';
|
|
39
|
+
border: solid 1px #eef0f6;
|
|
40
|
+
border-radius: 8px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:hover {
|
|
44
|
+
color: var(--el-color-primary);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.nt-flex-radio-label--active {
|
|
48
|
+
background: var(--el-color-primary);
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
color: #fff;
|
|
51
|
+
// font-size: 18px;
|
|
52
|
+
&:before {
|
|
53
|
+
border: solid 1px transparent;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.nt-flex-radio-label--more {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.nt-flex-radio-icon {
|
|
63
|
+
margin-left: 3px;
|
|
64
|
+
transition: all 0.3s ease-in-out;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.nt-flex-radio-label--visible .nt-flex-radio-icon {
|
|
68
|
+
transform: rotate(180deg);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.nt-flex-radio-popover {
|
|
73
|
+
min-width: auto !important;
|
|
74
|
+
|
|
75
|
+
.el-scrollbar {
|
|
76
|
+
width: calc(100% + 12px);
|
|
77
|
+
margin-right: -12px;
|
|
78
|
+
padding-right: 12px;
|
|
79
|
+
.el-scrollbar__wrap {
|
|
80
|
+
max-height: 240px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.nt-flex-radio-popup {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
gap: 6px;
|
|
89
|
+
background: #fff;
|
|
90
|
+
width: fit-content;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.nt-flex-radio-popup-item {
|
|
94
|
+
padding: 0;
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
line-height: 24px;
|
|
97
|
+
height: 24px;
|
|
98
|
+
box-sizing: content-box;
|
|
99
|
+
white-space: nowrap;
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
color: var(--el-color-primary);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.nt-flex-radio-popup-item--active {
|
|
107
|
+
color: var(--el-color-primary);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// 自定义单选组
|
|
112
|
+
.nt-custom-radio-group {
|
|
113
|
+
display: flex;
|
|
114
|
+
gap: 12px;
|
|
115
|
+
}
|
|
116
|
+
.nt-custom-radio-item {
|
|
117
|
+
border: 1px solid var(--el-color-info-light-7);
|
|
118
|
+
border-radius: 8px;
|
|
119
|
+
padding: 8px 16px;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
width: var(--option-width, 160px);
|
|
122
|
+
|
|
123
|
+
&__header {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
font-size: 16px;
|
|
127
|
+
color: var(--el-text-color-primary);
|
|
128
|
+
}
|
|
129
|
+
&__icon {
|
|
130
|
+
margin-right: 6px;
|
|
131
|
+
font-size: 18px;
|
|
132
|
+
}
|
|
133
|
+
&__content {
|
|
134
|
+
font-size: 13px;
|
|
135
|
+
line-height: 1.5;
|
|
136
|
+
color: var(--el-color-info-light-3);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&:hover {
|
|
140
|
+
.custom-radio-item__header {
|
|
141
|
+
color: var(--el-color-primary);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
&.nt-custom-radio-item--active {
|
|
145
|
+
border-color: var(--el-color-primary);
|
|
146
|
+
background-color: #147bea0d;
|
|
147
|
+
.nt-custom-radio-item__header {
|
|
148
|
+
color: var(--el-color-primary);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
// .nt-custom-radio-label {
|
|
153
|
+
// color: #151b26;
|
|
154
|
+
// line-height: 22px;
|
|
155
|
+
// height: 20px;
|
|
156
|
+
// cursor: pointer;
|
|
157
|
+
// background: #fff;
|
|
158
|
+
// font-weight: 500;
|
|
159
|
+
// box-sizing: content-box;
|
|
160
|
+
// position: relative;
|
|
161
|
+
// font-size: 16px;
|
|
162
|
+
// color: #999ebe;
|
|
163
|
+
// &:before{
|
|
164
|
+
// position: absolute;
|
|
165
|
+
// left: 0;
|
|
166
|
+
// top:0;
|
|
167
|
+
// right: 0;
|
|
168
|
+
// bottom: 0;
|
|
169
|
+
// pointer-events: none;
|
|
170
|
+
// content: "";
|
|
171
|
+
// border: solid 1px #eef0f6;
|
|
172
|
+
// border-radius: 8px;
|
|
173
|
+
// }
|
|
174
|
+
// &:hover {
|
|
175
|
+
// color: var(--el-color-primary);
|
|
176
|
+
// }
|
|
177
|
+
|
|
178
|
+
// &.nt-custom-radio-label--active {
|
|
179
|
+
// background: var(--el-color-primary);
|
|
180
|
+
// font-weight: 500;
|
|
181
|
+
// color: #fff;
|
|
182
|
+
// // font-size: 18px;
|
|
183
|
+
// &:before{
|
|
184
|
+
// border: solid 1px transparent;
|
|
185
|
+
// }
|
|
186
|
+
// }
|
|
187
|
+
// }
|
|
188
|
+
|
|
189
|
+
.nt-radio-group__placeholder {
|
|
190
|
+
background: #fff;
|
|
191
|
+
height: 32px;
|
|
192
|
+
font-size: var(--el-font-size-base);
|
|
193
|
+
}
|
|
194
|
+
.nt-radio-group__text {
|
|
195
|
+
color: var(--el-text-color-secondary);
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
height: 100%;
|
|
199
|
+
width: 100%;
|
|
200
|
+
}
|
|
201
|
+
.nt-radio-group__text--error {
|
|
202
|
+
color: var(--el-color-danger);
|
|
203
|
+
cursor: pointer;
|
|
204
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.nt-select__text {
|
|
2
|
+
color: var(--el-text-color-secondary);
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
height: 34px;
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
.nt-select__text--error {
|
|
12
|
+
color: var(--el-color-danger);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.nt-table {
|
|
2
|
+
|
|
3
|
+
.el-table__empty-block {
|
|
4
|
+
padding-top: 20px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.el-button.is-text {
|
|
8
|
+
padding: 6px 6px;
|
|
9
|
+
font-weight: normal;
|
|
10
|
+
}
|
|
11
|
+
.el-button+.el-button {
|
|
12
|
+
margin-left: 6px;
|
|
13
|
+
}
|
|
14
|
+
.el-button--info.is-text {
|
|
15
|
+
--el-button-text-color: var(--el-text-color-placeholder);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-column{
|
|
19
|
+
&--flex {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
$gap: 12px;
|
|
2
|
+
|
|
3
|
+
.m-text {
|
|
4
|
+
color: var(--el-text-color-secondary);
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
font-size: 13px;
|
|
9
|
+
text-align: center;
|
|
10
|
+
height: 34px;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
.is-error {
|
|
14
|
+
color: var(--el-color-danger);
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.nt-tree-panel {
|
|
19
|
+
height: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
margin-left: -$gap;
|
|
23
|
+
margin-right: -$gap;
|
|
24
|
+
|
|
25
|
+
.el-scrollbar__view {
|
|
26
|
+
min-height: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.el-tree {
|
|
30
|
+
margin-bottom: -2px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.el-tree-node {
|
|
34
|
+
margin-bottom: 2px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.el-tree-node__content {
|
|
38
|
+
height: 32px;
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__header {
|
|
43
|
+
padding: 0 $gap;
|
|
44
|
+
padding-bottom: 12px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__title {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__title-label {
|
|
55
|
+
color: var(--el-color-info);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__title-value {
|
|
59
|
+
margin-left: 16px;
|
|
60
|
+
position: relative;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
flex: 1;
|
|
65
|
+
text-align: right;
|
|
66
|
+
line-height: 1;
|
|
67
|
+
color: var(--el-text-color-primary);
|
|
68
|
+
}
|
|
69
|
+
&.nt-tree-panel--clearable .nt-tree-panel__title-value {
|
|
70
|
+
padding-right: 18px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__title-op {
|
|
74
|
+
position: absolute;
|
|
75
|
+
right: 0;
|
|
76
|
+
top: 0;
|
|
77
|
+
line-height: 0;
|
|
78
|
+
|
|
79
|
+
.el-link {
|
|
80
|
+
--el-link-text-color: var(--el-color-info-light-5);
|
|
81
|
+
--el-link-hover-text-color: var(--el-color-info-light-3);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
&__tool {
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__tool-item {
|
|
90
|
+
margin: 0 8px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__filter {
|
|
94
|
+
margin-top: 12px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&__body {
|
|
98
|
+
flex: 1;
|
|
99
|
+
height: 0;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&__content {
|
|
103
|
+
padding: 0 $gap;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&__empty {
|
|
107
|
+
height: 100%;
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
padding: 0 $gap;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.nt-tree-select__text {
|
|
2
|
+
color: var(--el-text-color-secondary);
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
font-size: 13px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
height: 34px;
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
.nt-tree-select__text--error {
|
|
12
|
+
color: var(--el-color-danger);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
.nt-upload {
|
|
2
|
+
// .el-upload-dragger {
|
|
3
|
+
// --el-border-color: #c4d9ff;
|
|
4
|
+
// --el-upload-dragger-padding-horizontal: 30px;
|
|
5
|
+
// .el-icon--upload::before {
|
|
6
|
+
// content: '\e9f8';
|
|
7
|
+
// font-family: 'c-icon-font';
|
|
8
|
+
// color: #e8ecf3;
|
|
9
|
+
// font-size: 56px;
|
|
10
|
+
// }
|
|
11
|
+
// .el-icon--upload svg {
|
|
12
|
+
// display: none;
|
|
13
|
+
// }
|
|
14
|
+
// .el-upload__tip {
|
|
15
|
+
// font-size: 14px;
|
|
16
|
+
// color: #999;
|
|
17
|
+
// }
|
|
18
|
+
// }
|
|
19
|
+
// .el-upload-list {
|
|
20
|
+
// .el-upload-list__item {
|
|
21
|
+
// margin-bottom: 12px;
|
|
22
|
+
// border: solid 1px #e5edfc;
|
|
23
|
+
// padding: 12px 18px;
|
|
24
|
+
// .el-upload-list__item-info {
|
|
25
|
+
// margin-left: 0;
|
|
26
|
+
// display: flex;
|
|
27
|
+
// }
|
|
28
|
+
// }
|
|
29
|
+
// .el-upload-list__item .el-icon--close,
|
|
30
|
+
// .el-upload-list__item-status-label {
|
|
31
|
+
// right: 16px;
|
|
32
|
+
// font-size: 20px;
|
|
33
|
+
// }
|
|
34
|
+
// .el-icon--document {
|
|
35
|
+
// margin-right: 10px;
|
|
36
|
+
// svg {
|
|
37
|
+
// display: none;
|
|
38
|
+
// }
|
|
39
|
+
// &::before {
|
|
40
|
+
// content: '\e9f9';
|
|
41
|
+
// font-family: 'c-icon-font';
|
|
42
|
+
// color: #54c07d;
|
|
43
|
+
// font-size: 26px;
|
|
44
|
+
// }
|
|
45
|
+
// }
|
|
46
|
+
// .el-upload-list__item .el-progress__text {
|
|
47
|
+
// top: unset;
|
|
48
|
+
// bottom: 15px;
|
|
49
|
+
// }
|
|
50
|
+
// .el-upload-list__item .el-progress {
|
|
51
|
+
// top: unset;
|
|
52
|
+
// bottom: 0;
|
|
53
|
+
// left: 0;
|
|
54
|
+
// }
|
|
55
|
+
// }
|
|
56
|
+
|
|
57
|
+
.el-upload-list__item {
|
|
58
|
+
transition: none !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.el-upload-list--text {
|
|
62
|
+
.el-upload-list__item {
|
|
63
|
+
margin-bottom: 8px;
|
|
64
|
+
}
|
|
65
|
+
.el-progress {
|
|
66
|
+
margin-top: 0 !important;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__tips {
|
|
71
|
+
font-size: var(--el-font-size-base);
|
|
72
|
+
color: var(--el-text-color-secondary);
|
|
73
|
+
margin-top: 6px;
|
|
74
|
+
|
|
75
|
+
.el-icon {
|
|
76
|
+
transform: translateY(2px);
|
|
77
|
+
color: var(--el-text-color-placeholder);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&--exceed {
|
|
82
|
+
.el-upload.el-upload--picture-card {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|