tntd 2.0.1 → 2.0.2
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/es/ellipsis/index.js +1 -1
- package/es/ellipsis/index.js.map +1 -1
- package/es/exception/exception.js +34 -0
- package/es/exception/exception.js.map +1 -0
- package/es/exception/exception.less +29 -0
- package/es/exception/index.js +5 -0
- package/es/exception/index.js.map +1 -0
- package/es/handle/index.js +52 -33
- package/es/handle/index.js.map +1 -1
- package/es/index.js +1 -0
- package/es/index.js.map +1 -1
- package/es/locale/default.js +3 -2
- package/es/locale/default.js.map +1 -1
- package/es/locale/en_US.js +10 -1
- package/es/locale/en_US.js.map +1 -1
- package/es/locale/zh_CN.js +10 -1
- package/es/locale/zh_CN.js.map +1 -1
- package/es/steps/index.js +2 -1
- package/es/steps/index.js.map +1 -1
- package/es/steps/style/index.less +11 -0
- package/es/steps/style/nav.less +179 -0
- package/es/steps/style/small.less +5 -0
- package/lib/ellipsis/index.js +1 -1
- package/lib/ellipsis/index.js.map +1 -1
- package/lib/exception/exception.d.ts +16 -0
- package/lib/exception/exception.d.ts.map +1 -0
- package/lib/exception/exception.js +41 -0
- package/lib/exception/exception.js.map +1 -0
- package/lib/exception/exception.less +29 -0
- package/lib/exception/index.d.ts +5 -0
- package/lib/exception/index.d.ts.map +1 -0
- package/lib/exception/index.js +21 -0
- package/lib/exception/index.js.map +1 -0
- package/lib/handle/index.d.ts.map +1 -1
- package/lib/handle/index.js +52 -33
- package/lib/handle/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/locale/default.d.ts +10 -1
- package/lib/locale/default.d.ts.map +1 -1
- package/lib/locale/default.js +3 -3
- package/lib/locale/default.js.map +1 -1
- package/lib/locale/en_US.d.ts +10 -1
- package/lib/locale/en_US.d.ts.map +1 -1
- package/lib/locale/en_US.js +10 -2
- package/lib/locale/en_US.js.map +1 -1
- package/lib/locale/zh_CN.d.ts +10 -1
- package/lib/locale/zh_CN.d.ts.map +1 -1
- package/lib/locale/zh_CN.js +10 -2
- package/lib/locale/zh_CN.js.map +1 -1
- package/lib/steps/index.d.ts +2 -1
- package/lib/steps/index.d.ts.map +1 -1
- package/lib/steps/index.js +2 -1
- package/lib/steps/index.js.map +1 -1
- package/lib/steps/style/index.less +11 -0
- package/lib/steps/style/nav.less +179 -0
- package/lib/steps/style/small.less +5 -0
- package/package.json +1 -1
- package/es/array-input/style/index.js +0 -2
- package/es/array-input/style/index.js.map +0 -1
- package/es/auth-context/style/index.js +0 -2
- package/es/auth-context/style/index.js.map +0 -1
- package/es/development-login/style/index.js +0 -2
- package/es/development-login/style/index.js.map +0 -1
- package/es/ellipsis/style/index.js +0 -2
- package/es/ellipsis/style/index.js.map +0 -1
- package/es/empty/render-empty.js +0 -19
- package/es/empty/render-empty.js.map +0 -1
- package/es/empty/style/index.js +0 -3
- package/es/empty/style/index.js.map +0 -1
- package/es/handle/style/index.js +0 -2
- package/es/handle/style/index.js.map +0 -1
- package/es/icon-list/style/index.js +0 -120
- package/es/icon-list/style/index.js.map +0 -1
- package/es/img/style/index.js +0 -2
- package/es/img/style/index.js.map +0 -1
- package/es/loading-button/style/index.js +0 -2
- package/es/loading-button/style/index.js.map +0 -1
- package/es/page/style/index.js +0 -2
- package/es/page/style/index.js.map +0 -1
- package/es/query-form/style/index.js +0 -2
- package/es/query-form/style/index.js.map +0 -1
- package/es/query-list-scene/style/index.js +0 -2
- package/es/query-list-scene/style/index.js.map +0 -1
- package/es/render-empty/style/index.js +0 -2
- package/es/render-empty/style/index.js.map +0 -1
- package/es/table/style/index.js +0 -3
- package/es/table/style/index.js.map +0 -1
- package/es/title/style/index.js +0 -2
- package/es/title/style/index.js.map +0 -1
- package/es/tntd-icon/style/index.js +0 -2
- package/es/tntd-icon/style/index.js.map +0 -1
- package/es/tntd-layout/style/index.js +0 -2
- package/es/tntd-layout/style/index.js.map +0 -1
- package/es/tntd-modal/style/index.js +0 -2
- package/es/tntd-modal/style/index.js.map +0 -1
- package/es/tntd-select/style/index.js +0 -2
- package/es/tntd-select/style/index.js.map +0 -1
- package/lib/array-input/style/index.d.ts +0 -1
- package/lib/array-input/style/index.d.ts.map +0 -1
- package/lib/array-input/style/index.js +0 -2
- package/lib/array-input/style/index.js.map +0 -1
- package/lib/auth-context/style/index.d.ts +0 -1
- package/lib/auth-context/style/index.d.ts.map +0 -1
- package/lib/auth-context/style/index.js +0 -2
- package/lib/auth-context/style/index.js.map +0 -1
- package/lib/development-login/style/index.d.ts +0 -1
- package/lib/development-login/style/index.d.ts.map +0 -1
- package/lib/development-login/style/index.js +0 -2
- package/lib/development-login/style/index.js.map +0 -1
- package/lib/ellipsis/style/index.d.ts +0 -1
- package/lib/ellipsis/style/index.d.ts.map +0 -1
- package/lib/ellipsis/style/index.js +0 -2
- package/lib/ellipsis/style/index.js.map +0 -1
- package/lib/empty/render-empty.d.ts +0 -3
- package/lib/empty/render-empty.d.ts.map +0 -1
- package/lib/empty/render-empty.js +0 -26
- package/lib/empty/render-empty.js.map +0 -1
- package/lib/empty/style/index.d.ts +0 -3
- package/lib/empty/style/index.d.ts.map +0 -1
- package/lib/empty/style/index.js +0 -5
- package/lib/empty/style/index.js.map +0 -1
- package/lib/handle/style/index.d.ts +0 -1
- package/lib/handle/style/index.d.ts.map +0 -1
- package/lib/handle/style/index.js +0 -2
- package/lib/handle/style/index.js.map +0 -1
- package/lib/icon-list/style/index.d.ts +0 -3
- package/lib/icon-list/style/index.d.ts.map +0 -1
- package/lib/icon-list/style/index.js +0 -122
- package/lib/icon-list/style/index.js.map +0 -1
- package/lib/img/style/index.d.ts +0 -1
- package/lib/img/style/index.d.ts.map +0 -1
- package/lib/img/style/index.js +0 -2
- package/lib/img/style/index.js.map +0 -1
- package/lib/loading-button/style/index.d.ts +0 -1
- package/lib/loading-button/style/index.d.ts.map +0 -1
- package/lib/loading-button/style/index.js +0 -2
- package/lib/loading-button/style/index.js.map +0 -1
- package/lib/page/style/index.d.ts +0 -1
- package/lib/page/style/index.d.ts.map +0 -1
- package/lib/page/style/index.js +0 -2
- package/lib/page/style/index.js.map +0 -1
- package/lib/query-form/style/index.d.ts +0 -1
- package/lib/query-form/style/index.d.ts.map +0 -1
- package/lib/query-form/style/index.js +0 -2
- package/lib/query-form/style/index.js.map +0 -1
- package/lib/query-list-scene/style/index.d.ts +0 -1
- package/lib/query-list-scene/style/index.d.ts.map +0 -1
- package/lib/query-list-scene/style/index.js +0 -2
- package/lib/query-list-scene/style/index.js.map +0 -1
- package/lib/render-empty/style/index.d.ts +0 -2
- package/lib/render-empty/style/index.d.ts.map +0 -1
- package/lib/render-empty/style/index.js +0 -4
- package/lib/render-empty/style/index.js.map +0 -1
- package/lib/table/style/index.d.ts +0 -3
- package/lib/table/style/index.d.ts.map +0 -1
- package/lib/table/style/index.js +0 -5
- package/lib/table/style/index.js.map +0 -1
- package/lib/title/style/index.d.ts +0 -1
- package/lib/title/style/index.d.ts.map +0 -1
- package/lib/title/style/index.js +0 -2
- package/lib/title/style/index.js.map +0 -1
- package/lib/tntd-icon/style/index.d.ts +0 -1
- package/lib/tntd-icon/style/index.d.ts.map +0 -1
- package/lib/tntd-icon/style/index.js +0 -2
- package/lib/tntd-icon/style/index.js.map +0 -1
- package/lib/tntd-layout/style/index.d.ts +0 -1
- package/lib/tntd-layout/style/index.d.ts.map +0 -1
- package/lib/tntd-layout/style/index.js +0 -2
- package/lib/tntd-layout/style/index.js.map +0 -1
- package/lib/tntd-modal/style/index.d.ts +0 -1
- package/lib/tntd-modal/style/index.d.ts.map +0 -1
- package/lib/tntd-modal/style/index.js +0 -2
- package/lib/tntd-modal/style/index.js.map +0 -1
- package/lib/tntd-select/style/index.d.ts +0 -1
- package/lib/tntd-select/style/index.d.ts.map +0 -1
- package/lib/tntd-select/style/index.js +0 -2
- package/lib/tntd-select/style/index.js.map +0 -1
package/lib/locale/zh_CN.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh_CN.js","sourceRoot":"","sources":["../../src/locale/zh_CN.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh_CN.js","sourceRoot":"","sources":["../../src/locale/zh_CN.ts"],"names":[],"mappings":";;;;;AAAA,iEAA+C;AAE/C,yCAAiC;AAEjC,MAAM,KAAK,GAAG,IAAA,iBAAK,EAAC,EAAE,EAAE,eAAY,EAAE;IACpC,KAAK,EAAE;QACL,kBAAkB,EAAE,UAAU;QAC9B,gBAAgB,EAAE,MAAM;KACzB;IACD,KAAK,EAAE;QACL,WAAW,EAAE,MAAM;QACnB,YAAY,EAAE,MAAM;QACpB,mBAAmB,EAAE,MAAM;QAC3B,cAAc,EAAE,MAAM;QACtB,SAAS,EAAE,OAAO;QAClB,MAAM,EAAE,MAAM;KACf;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI;KACX;IACD,SAAS,EAAE;QACT,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,YAAY;QACnB,KAAK,EAAE,WAAW;KACnB;CACF,CAAC,CAAA;AAEF,kBAAe,KAAK,CAAA","sourcesContent":["import sourceLocale from 'antd/es/locale/zh_CN'\n\nimport { merge } from 'lodash-es'\n\nconst zh_CN = merge({}, sourceLocale, {\n Table: {\n loadingDescription: '数据加载中...',\n emptyDescription: '暂无数据',\n },\n Empty: {\n noGraphData: '暂无图表',\n noPermission: '暂无权限',\n createdSuccessfully: '创建成功',\n creationFailed: '创建失败',\n noNetwork: '网络未连接',\n noData: '暂无数据',\n },\n Handle: {\n more: '更多',\n },\n Exception: {\n '403': '很抱歉,暂无该页面访问权限',\n '404': '很抱歉,本页暂无结果',\n '500': '很抱歉,服务器报错',\n },\n})\n\nexport default zh_CN\n"]}
|
package/lib/steps/index.d.ts
CHANGED
package/lib/steps/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAC5B,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,oBAAoB,CAAA;AAE3B,cAAc,eAAe,CAAA;AAE7B,eAAe,KAAK,CAAA"}
|
package/lib/steps/index.js
CHANGED
|
@@ -17,8 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
const steps_1 = __importDefault(require("antd/es/steps"));
|
|
21
20
|
require("antd/es/steps/style");
|
|
21
|
+
const steps_1 = __importDefault(require("antd/es/steps"));
|
|
22
|
+
require("./style/index.less");
|
|
22
23
|
__exportStar(require("antd/es/steps"), exports);
|
|
23
24
|
exports.default = steps_1.default;
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
package/lib/steps/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,0DAAiC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,+BAA4B;AAC5B,0DAAiC;AACjC,8BAA2B;AAE3B,gDAA6B;AAE7B,kBAAe,eAAK,CAAA","sourcesContent":["import 'antd/es/steps/style'\nimport Steps from 'antd/es/steps'\nimport './style/index.less'\n\nexport * from 'antd/es/steps'\n\nexport default Steps\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import './small.less';
|
|
2
|
+
@import './nav.less';
|
|
3
|
+
|
|
4
|
+
@steps-prefix-cls: ~'@{ant-prefix}-steps';
|
|
5
|
+
|
|
6
|
+
@steps-nav-arrow-color: fade(@black, 25%);
|
|
7
|
+
@steps-nav-finish-color: #5E9BFF;
|
|
8
|
+
@steps-nav-active-color: @primary-color;
|
|
9
|
+
@wait-icon-color: @disabled-color;
|
|
10
|
+
|
|
11
|
+
@steps-nav-content-max-width: auto;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
.@{steps-prefix-cls}-navigation {
|
|
2
|
+
padding-top: 12px;
|
|
3
|
+
|
|
4
|
+
.@{steps-prefix-cls}-item-icon{
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.@{steps-prefix-cls}-small {
|
|
9
|
+
.@{steps-prefix-cls}-item {
|
|
10
|
+
&-container {
|
|
11
|
+
margin-left: 0;
|
|
12
|
+
padding-bottom:0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.@{steps-prefix-cls}-item {
|
|
18
|
+
overflow: visible;
|
|
19
|
+
position: relative;
|
|
20
|
+
text-align: left;
|
|
21
|
+
display: inline-block;
|
|
22
|
+
height: 48px;
|
|
23
|
+
padding-left: 64px;
|
|
24
|
+
margin-right: 2px !important;
|
|
25
|
+
background: @border-color-split;
|
|
26
|
+
|
|
27
|
+
&-container {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
text-align: left;
|
|
31
|
+
height: 100%;
|
|
32
|
+
margin-left: 0;
|
|
33
|
+
padding-bottom: 0;
|
|
34
|
+
transition: opacity 0.3s;
|
|
35
|
+
|
|
36
|
+
.@{steps-prefix-cls}-item-content {
|
|
37
|
+
max-width: @steps-nav-content-max-width;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.@{steps-prefix-cls}-item-title {
|
|
41
|
+
max-width: 100%;
|
|
42
|
+
padding-right: 0;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
white-space: nowrap;
|
|
45
|
+
text-overflow: ellipsis;
|
|
46
|
+
|
|
47
|
+
&::after {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(.@{steps-prefix-cls}-item-active) {
|
|
54
|
+
.@{steps-prefix-cls}-item-container[role='button'] {
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
&:hover {
|
|
57
|
+
opacity: 0.85;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:last-child {
|
|
63
|
+
flex: 1;
|
|
64
|
+
&::after {
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:first-child {
|
|
70
|
+
padding-left: 40px;
|
|
71
|
+
&:before {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&::after {
|
|
77
|
+
content: '';
|
|
78
|
+
display: block;
|
|
79
|
+
border:none;
|
|
80
|
+
border-top: 24px solid transparent;
|
|
81
|
+
border-bottom: 24px solid transparent;
|
|
82
|
+
border-left: 24px solid @border-color-split;
|
|
83
|
+
position: absolute;
|
|
84
|
+
right: -24px;
|
|
85
|
+
top: 0;
|
|
86
|
+
z-index: 10;
|
|
87
|
+
transform: rotate(0deg);
|
|
88
|
+
margin-top:0;
|
|
89
|
+
margin-left: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&::before {
|
|
93
|
+
content: '';
|
|
94
|
+
display: block;
|
|
95
|
+
background: none;;
|
|
96
|
+
border-top: 24px solid @border-color-split;
|
|
97
|
+
border-bottom: 24px solid @border-color-split;
|
|
98
|
+
border-left: 24px solid #fff;
|
|
99
|
+
position: absolute;
|
|
100
|
+
height: 0;
|
|
101
|
+
width: 0;
|
|
102
|
+
left: 0px;
|
|
103
|
+
top: 0;
|
|
104
|
+
transition: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&-finish{
|
|
108
|
+
background-color: @steps-nav-finish-color;
|
|
109
|
+
&::before{
|
|
110
|
+
border-top-color: @steps-nav-finish-color;
|
|
111
|
+
border-bottom-color: @steps-nav-finish-color;
|
|
112
|
+
}
|
|
113
|
+
&::after{
|
|
114
|
+
border-left-color: @steps-nav-finish-color;
|
|
115
|
+
}
|
|
116
|
+
.@{steps-prefix-cls}-item-title,
|
|
117
|
+
.@{steps-prefix-cls}-item-subtitle,
|
|
118
|
+
.@{steps-prefix-cls}-item-description{
|
|
119
|
+
color:#fff !important;
|
|
120
|
+
cursor: not-allowed;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
&-process{
|
|
124
|
+
background-color: @steps-nav-active-color !important;
|
|
125
|
+
&::before{
|
|
126
|
+
border-top-color: @steps-nav-active-color;
|
|
127
|
+
border-bottom-color: @steps-nav-active-color;
|
|
128
|
+
}
|
|
129
|
+
&::after{
|
|
130
|
+
border-left-color: @steps-nav-active-color;
|
|
131
|
+
}
|
|
132
|
+
.@{steps-prefix-cls}-item-title,
|
|
133
|
+
.@{steps-prefix-cls}-item-subtitle,
|
|
134
|
+
.@{steps-prefix-cls}-item-description{
|
|
135
|
+
color:#fff !important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.@{steps-prefix-cls}-item.@{steps-prefix-cls}-item-active::before {
|
|
141
|
+
left: 0;
|
|
142
|
+
width: 0;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media (max-width: @screen-xs) {
|
|
147
|
+
.@{steps-prefix-cls}-navigation {
|
|
148
|
+
> .@{steps-prefix-cls}-item {
|
|
149
|
+
margin-right: 0 !important;
|
|
150
|
+
&::before {
|
|
151
|
+
display: none;
|
|
152
|
+
}
|
|
153
|
+
&.@{steps-prefix-cls}-item-active::before {
|
|
154
|
+
top: 0;
|
|
155
|
+
right: 0;
|
|
156
|
+
left: unset;
|
|
157
|
+
display: block;
|
|
158
|
+
width: 3px;
|
|
159
|
+
height: calc(100% - 24px);
|
|
160
|
+
}
|
|
161
|
+
&::after {
|
|
162
|
+
position: relative;
|
|
163
|
+
top: -2px;
|
|
164
|
+
left: 50%;
|
|
165
|
+
display: block;
|
|
166
|
+
width: 8px;
|
|
167
|
+
height: 8px;
|
|
168
|
+
margin-bottom: 8px;
|
|
169
|
+
text-align: center;
|
|
170
|
+
transform: rotate(135deg);
|
|
171
|
+
}
|
|
172
|
+
> .@{steps-prefix-cls}-item-container > .@{steps-prefix-cls}-item-tail {
|
|
173
|
+
visibility: hidden;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/array-input/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-context/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/development-login/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ellipsis/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
package/es/empty/render-empty.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConfigConsumer } from 'antd/es/config-provider';
|
|
3
|
-
import { Empty } from '../empty';
|
|
4
|
-
export const renderEmpty = (componentName) => (React.createElement(ConfigConsumer, null, () => {
|
|
5
|
-
switch (componentName) {
|
|
6
|
-
case 'Table':
|
|
7
|
-
case 'List':
|
|
8
|
-
return React.createElement(Empty, { type: "no-result" });
|
|
9
|
-
case 'Select':
|
|
10
|
-
case 'TreeSelect':
|
|
11
|
-
case 'Cascader':
|
|
12
|
-
case 'Transfer':
|
|
13
|
-
case 'Mentions':
|
|
14
|
-
return React.createElement(Empty, { size: "mini" });
|
|
15
|
-
default:
|
|
16
|
-
return React.createElement(Empty, null);
|
|
17
|
-
}
|
|
18
|
-
}));
|
|
19
|
-
//# sourceMappingURL=render-empty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-empty.js","sourceRoot":"","sources":["../../src/empty/render-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAEhC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,aAAsB,EAAmB,EAAE,CAAC,CACtE,oBAAC,cAAc,QACZ,GAAG,EAAE;IACJ,QAAQ,aAAa,EAAE;QACrB,KAAK,OAAO,CAAC;QACb,KAAK,MAAM;YACT,OAAO,oBAAC,KAAK,IAAC,IAAI,EAAC,WAAW,GAAG,CAAA;QAEnC,KAAK,QAAQ,CAAC;QACd,KAAK,YAAY,CAAC;QAClB,KAAK,UAAU,CAAC;QAChB,KAAK,UAAU,CAAC;QAChB,KAAK,UAAU;YACb,OAAO,oBAAC,KAAK,IAAC,IAAI,EAAC,MAAM,GAAG,CAAA;QAC9B;YACE,OAAO,oBAAC,KAAK,OAAG,CAAA;KACnB;AACH,CAAC,CACc,CAClB,CAAA","sourcesContent":["import React from 'react'\nimport { ConfigConsumer } from 'antd/es/config-provider'\n\nimport { Empty } from '../empty'\n\nexport const renderEmpty = (componentName?: string): React.ReactNode => (\n <ConfigConsumer>\n {() => {\n switch (componentName) {\n case 'Table':\n case 'List':\n return <Empty type=\"no-result\" />\n\n case 'Select':\n case 'TreeSelect':\n case 'Cascader':\n case 'Transfer':\n case 'Mentions':\n return <Empty size=\"mini\" />\n default:\n return <Empty />\n }\n }}\n </ConfigConsumer>\n)\n"]}
|
package/es/empty/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/empty/style/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAC5B,OAAO,cAAc,CAAA","sourcesContent":["import 'antd/es/empty/style'\nimport './empty.less'\n"]}
|
package/es/handle/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handle/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export default [
|
|
2
|
-
'system',
|
|
3
|
-
'entry',
|
|
4
|
-
'permission',
|
|
5
|
-
'graph',
|
|
6
|
-
'guanjia',
|
|
7
|
-
'case',
|
|
8
|
-
'celve1',
|
|
9
|
-
'shoucang',
|
|
10
|
-
'deal-type',
|
|
11
|
-
'pm',
|
|
12
|
-
'shoukuan',
|
|
13
|
-
'zhibiao',
|
|
14
|
-
'puzzle',
|
|
15
|
-
'user-group',
|
|
16
|
-
'yuce',
|
|
17
|
-
'jianmo',
|
|
18
|
-
'zhuanzhang',
|
|
19
|
-
'yunwei',
|
|
20
|
-
'baozhang',
|
|
21
|
-
'jizhang',
|
|
22
|
-
'tongji',
|
|
23
|
-
'pingfen',
|
|
24
|
-
'limit',
|
|
25
|
-
'spider',
|
|
26
|
-
'loan',
|
|
27
|
-
'access',
|
|
28
|
-
'role',
|
|
29
|
-
'org',
|
|
30
|
-
'celve',
|
|
31
|
-
'book',
|
|
32
|
-
'tag',
|
|
33
|
-
'shixufenxipeizhi',
|
|
34
|
-
'all-cases',
|
|
35
|
-
'xianeguanli',
|
|
36
|
-
'api',
|
|
37
|
-
'network',
|
|
38
|
-
'analysis',
|
|
39
|
-
'calendar',
|
|
40
|
-
'backup',
|
|
41
|
-
'all',
|
|
42
|
-
'attachment',
|
|
43
|
-
'chart-line',
|
|
44
|
-
'branches',
|
|
45
|
-
'chart-area',
|
|
46
|
-
'clock',
|
|
47
|
-
'check',
|
|
48
|
-
'charging-setting',
|
|
49
|
-
'chart-pie-alt',
|
|
50
|
-
'dashboard',
|
|
51
|
-
'datebase',
|
|
52
|
-
'check-reply',
|
|
53
|
-
'datacenter',
|
|
54
|
-
'connection',
|
|
55
|
-
'download',
|
|
56
|
-
'date-set',
|
|
57
|
-
'event',
|
|
58
|
-
'event-wait',
|
|
59
|
-
'fieldanalysis',
|
|
60
|
-
'exchange',
|
|
61
|
-
'knowledge',
|
|
62
|
-
'key',
|
|
63
|
-
'log',
|
|
64
|
-
'list',
|
|
65
|
-
'menu',
|
|
66
|
-
'index',
|
|
67
|
-
'project',
|
|
68
|
-
'monitorin',
|
|
69
|
-
'pointmap',
|
|
70
|
-
'ranking',
|
|
71
|
-
'model',
|
|
72
|
-
'plan',
|
|
73
|
-
'task',
|
|
74
|
-
'wait',
|
|
75
|
-
'upload',
|
|
76
|
-
'question-list',
|
|
77
|
-
'read',
|
|
78
|
-
'setting',
|
|
79
|
-
'reply',
|
|
80
|
-
'jinjianguanli',
|
|
81
|
-
'change-theme',
|
|
82
|
-
'application',
|
|
83
|
-
'flag-en',
|
|
84
|
-
'flag-cn',
|
|
85
|
-
'down',
|
|
86
|
-
'up',
|
|
87
|
-
'workflow',
|
|
88
|
-
'sync',
|
|
89
|
-
'folder',
|
|
90
|
-
'database',
|
|
91
|
-
'circle',
|
|
92
|
-
'edit',
|
|
93
|
-
'edit-color',
|
|
94
|
-
'box',
|
|
95
|
-
'layer',
|
|
96
|
-
'box-color',
|
|
97
|
-
'home-color',
|
|
98
|
-
'record',
|
|
99
|
-
'monitor',
|
|
100
|
-
'time-color',
|
|
101
|
-
'user',
|
|
102
|
-
'function-color',
|
|
103
|
-
'record-color',
|
|
104
|
-
'warning-color',
|
|
105
|
-
'layer-color',
|
|
106
|
-
'template',
|
|
107
|
-
'template-color',
|
|
108
|
-
'monitor-color',
|
|
109
|
-
'search',
|
|
110
|
-
'user-color',
|
|
111
|
-
'function',
|
|
112
|
-
'warning',
|
|
113
|
-
'search-color',
|
|
114
|
-
'home',
|
|
115
|
-
'time',
|
|
116
|
-
'application',
|
|
117
|
-
'plus',
|
|
118
|
-
'minus',
|
|
119
|
-
];
|
|
120
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon-list/style/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,UAAU;IACV,WAAW;IACX,IAAI;IACJ,UAAU;IACV,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,UAAU;IACV,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,MAAM;IACN,KAAK;IACL,OAAO;IACP,MAAM;IACN,KAAK;IACL,kBAAkB;IAClB,WAAW;IACX,aAAa;IACb,KAAK;IACL,SAAS;IACT,UAAU;IACV,UAAU;IACV,QAAQ;IACR,KAAK;IACL,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,OAAO;IACP,OAAO;IACP,kBAAkB;IAClB,eAAe;IACf,WAAW;IACX,UAAU;IACV,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,UAAU;IACV,OAAO;IACP,YAAY;IACZ,eAAe;IACf,UAAU;IACV,WAAW;IACX,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;IACT,WAAW;IACX,UAAU;IACV,SAAS;IACT,OAAO;IACP,MAAM;IACN,MAAM;IACN,MAAM;IACN,QAAQ;IACR,eAAe;IACf,MAAM;IACN,SAAS;IACT,OAAO;IACP,eAAe;IACf,cAAc;IACd,aAAa;IACb,SAAS;IACT,SAAS;IACT,MAAM;IACN,IAAI;IACJ,UAAU;IACV,MAAM;IACN,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,MAAM;IACN,YAAY;IACZ,KAAK;IACL,OAAO;IACP,WAAW;IACX,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,MAAM;IACN,gBAAgB;IAChB,cAAc;IACd,eAAe;IACf,aAAa;IACb,UAAU;IACV,gBAAgB;IAChB,eAAe;IACf,QAAQ;IACR,YAAY;IACZ,UAAU;IACV,SAAS;IACT,cAAc;IACd,MAAM;IACN,MAAM;IACN,aAAa;IACb,MAAM;IACN,OAAO;CACR,CAAA","sourcesContent":["export default [\n 'system',\n 'entry',\n 'permission',\n 'graph',\n 'guanjia',\n 'case',\n 'celve1',\n 'shoucang',\n 'deal-type',\n 'pm',\n 'shoukuan',\n 'zhibiao',\n 'puzzle',\n 'user-group',\n 'yuce',\n 'jianmo',\n 'zhuanzhang',\n 'yunwei',\n 'baozhang',\n 'jizhang',\n 'tongji',\n 'pingfen',\n 'limit',\n 'spider',\n 'loan',\n 'access',\n 'role',\n 'org',\n 'celve',\n 'book',\n 'tag',\n 'shixufenxipeizhi',\n 'all-cases',\n 'xianeguanli',\n 'api',\n 'network',\n 'analysis',\n 'calendar',\n 'backup',\n 'all',\n 'attachment',\n 'chart-line',\n 'branches',\n 'chart-area',\n 'clock',\n 'check',\n 'charging-setting',\n 'chart-pie-alt',\n 'dashboard',\n 'datebase',\n 'check-reply',\n 'datacenter',\n 'connection',\n 'download',\n 'date-set',\n 'event',\n 'event-wait',\n 'fieldanalysis',\n 'exchange',\n 'knowledge',\n 'key',\n 'log',\n 'list',\n 'menu',\n 'index',\n 'project',\n 'monitorin',\n 'pointmap',\n 'ranking',\n 'model',\n 'plan',\n 'task',\n 'wait',\n 'upload',\n 'question-list',\n 'read',\n 'setting',\n 'reply',\n 'jinjianguanli',\n 'change-theme',\n 'application',\n 'flag-en',\n 'flag-cn',\n 'down',\n 'up',\n 'workflow',\n 'sync',\n 'folder',\n 'database',\n 'circle',\n 'edit',\n 'edit-color',\n 'box',\n 'layer',\n 'box-color',\n 'home-color',\n 'record',\n 'monitor',\n 'time-color',\n 'user',\n 'function-color',\n 'record-color',\n 'warning-color',\n 'layer-color',\n 'template',\n 'template-color',\n 'monitor-color',\n 'search',\n 'user-color',\n 'function',\n 'warning',\n 'search-color',\n 'home',\n 'time',\n 'application',\n 'plus',\n 'minus',\n]\n"]}
|
package/es/img/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/img/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loading-button/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
package/es/page/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/query-form/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/query-list-scene/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/render-empty/style/index.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA","sourcesContent":["import 'antd/es/version/style'\n"]}
|
package/es/table/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/table/style/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAC5B,OAAO,cAAc,CAAA","sourcesContent":["import 'antd/es/table/style'\nimport './table.less'\n"]}
|
package/es/title/style/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/title/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-icon/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-layout/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-modal/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-select/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/array-input/style/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/array-input/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth-context/style/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-context/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/development-login/style/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/development-login/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ellipsis/style/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ellipsis/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-empty.d.ts","sourceRoot":"","sources":["../../src/empty/render-empty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,WAAW,0CAA6B,MAAM,SAmB1D,CAAA"}
|