tntd 2.1.0 → 2.2.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.
Files changed (173) hide show
  1. package/es/ellipsis/index.less +4 -0
  2. package/es/index.js +2 -1
  3. package/es/index.js.map +1 -1
  4. package/es/label/index.js +1 -0
  5. package/es/label/index.js.map +1 -0
  6. package/es/label/label.js +140 -0
  7. package/es/label/label.js.map +1 -0
  8. package/es/{tag/tag.less → label/label.less} +9 -7
  9. package/es/label/label.test.js +12 -0
  10. package/es/label/label.test.js.map +1 -0
  11. package/es/tag/index.js +1 -139
  12. package/es/tag/index.js.map +1 -1
  13. package/lib/ellipsis/index.less +4 -0
  14. package/lib/index.d.ts +1 -0
  15. package/lib/index.d.ts.map +1 -1
  16. package/lib/index.js +7 -0
  17. package/lib/index.js.map +1 -1
  18. package/lib/label/index.d.ts +2 -0
  19. package/lib/label/index.d.ts.map +1 -0
  20. package/lib/{status → label}/index.js +4 -4
  21. package/lib/label/index.js.map +1 -0
  22. package/lib/label/label.d.ts +52 -0
  23. package/lib/label/label.d.ts.map +1 -0
  24. package/lib/label/label.js +150 -0
  25. package/lib/label/label.js.map +1 -0
  26. package/lib/{tag/tag.less → label/label.less} +9 -7
  27. package/lib/label/label.test.d.ts +2 -0
  28. package/lib/label/label.test.d.ts.map +1 -0
  29. package/lib/label/label.test.js +14 -0
  30. package/lib/label/label.test.js.map +1 -0
  31. package/lib/tag/index.d.ts +1 -50
  32. package/lib/tag/index.d.ts.map +1 -1
  33. package/lib/tag/index.js +4 -145
  34. package/lib/tag/index.js.map +1 -1
  35. package/package.json +3 -4
  36. package/themes/default/variables.less +2 -2
  37. package/codemod/__testfixtures__/v1-to-v2-react.input.js +0 -24
  38. package/codemod/__testfixtures__/v1-to-v2-react.output.js +0 -23
  39. package/codemod/__testfixtures__/v1-to-v2.input.js +0 -2
  40. package/codemod/__testfixtures__/v1-to-v2.output.js +0 -2
  41. package/codemod/__tests__/v1-to-v2-test.js +0 -4
  42. package/codemod/v1-to-v2.js +0 -96
  43. package/es/array-input/style/index.js +0 -1
  44. package/es/array-input/style/index.js.map +0 -1
  45. package/es/auth-context/style/index.js +0 -1
  46. package/es/auth-context/style/index.js.map +0 -1
  47. package/es/development-login/style/index.js +0 -1
  48. package/es/development-login/style/index.js.map +0 -1
  49. package/es/ellipsis/style/index.js +0 -1
  50. package/es/ellipsis/style/index.js.map +0 -1
  51. package/es/empty/render-empty.js +0 -22
  52. package/es/empty/render-empty.js.map +0 -1
  53. package/es/empty/style/index.js +0 -2
  54. package/es/empty/style/index.js.map +0 -1
  55. package/es/handle/style/index.js +0 -1
  56. package/es/handle/style/index.js.map +0 -1
  57. package/es/icon-list/style/index.js +0 -1
  58. package/es/icon-list/style/index.js.map +0 -1
  59. package/es/img/style/index.js +0 -1
  60. package/es/img/style/index.js.map +0 -1
  61. package/es/loading-button/style/index.js +0 -1
  62. package/es/loading-button/style/index.js.map +0 -1
  63. package/es/page/style/index.js +0 -1
  64. package/es/page/style/index.js.map +0 -1
  65. package/es/query-form/style/index.js +0 -1
  66. package/es/query-form/style/index.js.map +0 -1
  67. package/es/query-list-scene/style/index.js +0 -1
  68. package/es/query-list-scene/style/index.js.map +0 -1
  69. package/es/render-empty/style/index.js +0 -1
  70. package/es/render-empty/style/index.js.map +0 -1
  71. package/es/status/index.js +0 -1
  72. package/es/status/index.js.map +0 -1
  73. package/es/status/status.js +0 -5
  74. package/es/status/status.js.map +0 -1
  75. package/es/table/style/index.js +0 -2
  76. package/es/table/style/index.js.map +0 -1
  77. package/es/title/style/index.js +0 -1
  78. package/es/title/style/index.js.map +0 -1
  79. package/es/tntd-icon/style/index.js +0 -1
  80. package/es/tntd-icon/style/index.js.map +0 -1
  81. package/es/tntd-layout/style/index.js +0 -1
  82. package/es/tntd-layout/style/index.js.map +0 -1
  83. package/es/tntd-modal/style/index.js +0 -1
  84. package/es/tntd-modal/style/index.js.map +0 -1
  85. package/es/tntd-select/style/index.js +0 -1
  86. package/es/tntd-select/style/index.js.map +0 -1
  87. package/lib/array-input/style/index.d.ts +0 -1
  88. package/lib/array-input/style/index.d.ts.map +0 -1
  89. package/lib/array-input/style/index.js +0 -1
  90. package/lib/array-input/style/index.js.map +0 -1
  91. package/lib/auth-context/style/index.d.ts +0 -1
  92. package/lib/auth-context/style/index.d.ts.map +0 -1
  93. package/lib/auth-context/style/index.js +0 -1
  94. package/lib/auth-context/style/index.js.map +0 -1
  95. package/lib/development-login/style/index.d.ts +0 -1
  96. package/lib/development-login/style/index.d.ts.map +0 -1
  97. package/lib/development-login/style/index.js +0 -1
  98. package/lib/development-login/style/index.js.map +0 -1
  99. package/lib/ellipsis/style/index.d.ts +0 -1
  100. package/lib/ellipsis/style/index.d.ts.map +0 -1
  101. package/lib/ellipsis/style/index.js +0 -1
  102. package/lib/ellipsis/style/index.js.map +0 -1
  103. package/lib/empty/render-empty.d.ts +0 -3
  104. package/lib/empty/render-empty.d.ts.map +0 -1
  105. package/lib/empty/render-empty.js +0 -32
  106. package/lib/empty/render-empty.js.map +0 -1
  107. package/lib/empty/style/index.d.ts +0 -3
  108. package/lib/empty/style/index.d.ts.map +0 -1
  109. package/lib/empty/style/index.js +0 -4
  110. package/lib/empty/style/index.js.map +0 -1
  111. package/lib/handle/style/index.d.ts +0 -1
  112. package/lib/handle/style/index.d.ts.map +0 -1
  113. package/lib/handle/style/index.js +0 -1
  114. package/lib/handle/style/index.js.map +0 -1
  115. package/lib/icon-list/style/index.d.ts +0 -3
  116. package/lib/icon-list/style/index.d.ts.map +0 -1
  117. package/lib/icon-list/style/index.js +0 -8
  118. package/lib/icon-list/style/index.js.map +0 -1
  119. package/lib/img/style/index.d.ts +0 -1
  120. package/lib/img/style/index.d.ts.map +0 -1
  121. package/lib/img/style/index.js +0 -1
  122. package/lib/img/style/index.js.map +0 -1
  123. package/lib/loading-button/style/index.d.ts +0 -1
  124. package/lib/loading-button/style/index.d.ts.map +0 -1
  125. package/lib/loading-button/style/index.js +0 -1
  126. package/lib/loading-button/style/index.js.map +0 -1
  127. package/lib/page/style/index.d.ts +0 -1
  128. package/lib/page/style/index.d.ts.map +0 -1
  129. package/lib/page/style/index.js +0 -1
  130. package/lib/page/style/index.js.map +0 -1
  131. package/lib/query-form/style/index.d.ts +0 -1
  132. package/lib/query-form/style/index.d.ts.map +0 -1
  133. package/lib/query-form/style/index.js +0 -1
  134. package/lib/query-form/style/index.js.map +0 -1
  135. package/lib/query-list-scene/style/index.d.ts +0 -1
  136. package/lib/query-list-scene/style/index.d.ts.map +0 -1
  137. package/lib/query-list-scene/style/index.js +0 -1
  138. package/lib/query-list-scene/style/index.js.map +0 -1
  139. package/lib/render-empty/style/index.d.ts +0 -2
  140. package/lib/render-empty/style/index.d.ts.map +0 -1
  141. package/lib/render-empty/style/index.js +0 -3
  142. package/lib/render-empty/style/index.js.map +0 -1
  143. package/lib/status/index.d.ts +0 -2
  144. package/lib/status/index.d.ts.map +0 -1
  145. package/lib/status/index.js.map +0 -1
  146. package/lib/status/status.d.ts +0 -6
  147. package/lib/status/status.d.ts.map +0 -1
  148. package/lib/status/status.js +0 -13
  149. package/lib/status/status.js.map +0 -1
  150. package/lib/table/style/index.d.ts +0 -3
  151. package/lib/table/style/index.d.ts.map +0 -1
  152. package/lib/table/style/index.js +0 -4
  153. package/lib/table/style/index.js.map +0 -1
  154. package/lib/title/style/index.d.ts +0 -1
  155. package/lib/title/style/index.d.ts.map +0 -1
  156. package/lib/title/style/index.js +0 -1
  157. package/lib/title/style/index.js.map +0 -1
  158. package/lib/tntd-icon/style/index.d.ts +0 -1
  159. package/lib/tntd-icon/style/index.d.ts.map +0 -1
  160. package/lib/tntd-icon/style/index.js +0 -1
  161. package/lib/tntd-icon/style/index.js.map +0 -1
  162. package/lib/tntd-layout/style/index.d.ts +0 -1
  163. package/lib/tntd-layout/style/index.d.ts.map +0 -1
  164. package/lib/tntd-layout/style/index.js +0 -1
  165. package/lib/tntd-layout/style/index.js.map +0 -1
  166. package/lib/tntd-modal/style/index.d.ts +0 -1
  167. package/lib/tntd-modal/style/index.d.ts.map +0 -1
  168. package/lib/tntd-modal/style/index.js +0 -1
  169. package/lib/tntd-modal/style/index.js.map +0 -1
  170. package/lib/tntd-select/style/index.d.ts +0 -1
  171. package/lib/tntd-select/style/index.d.ts.map +0 -1
  172. package/lib/tntd-select/style/index.js +0 -1
  173. package/lib/tntd-select/style/index.js.map +0 -1
@@ -1,4 +0,0 @@
1
- jest.autoMockOff()
2
- const defineTest = require('jscodeshift/dist/testUtils').defineTest
3
- defineTest(__dirname, 'v1-to-v2')
4
- defineTest(__dirname, 'v1-to-v2', null, 'v1-to-v2-react')
@@ -1,96 +0,0 @@
1
- // Define the codemod
2
- module.exports = (file, api) => {
3
- const j = api.jscodeshift
4
-
5
- // Parse the source code
6
- const root = j(file.source)
7
-
8
- // Find any import statement for '../' or 'tntd'
9
- const importDeclarations = root.find(j.ImportDeclaration, {
10
- source: {
11
- value: (path) => path === '../' || path === 'tntd',
12
- },
13
- })
14
-
15
- // Replace each import statement with a transformed version
16
- importDeclarations
17
- .replaceWith((path) => {
18
- if (path.node.source.value === 'tntd') {
19
- // Update any 'Layout' or 'TntLayout' specifiers to use 'TntLayout' or 'Layout' instead
20
- path.node.specifiers?.forEach((specifier) => {
21
- if (specifier.type === 'ImportSpecifier') {
22
- if (specifier.imported.name === 'Layout') {
23
- specifier.imported.name = 'TntdLayout'
24
- }
25
-
26
- if (specifier.imported.name === 'Icon') {
27
- specifier.imported.name = 'TntdIcon'
28
- }
29
- }
30
- })
31
- }
32
-
33
- // Update the antd import statement to tntd
34
- if (path.node.source.value === '../') {
35
- path.node.source.value = 'tntd'
36
- }
37
-
38
- return path.node
39
- })
40
- .toSource()
41
-
42
- const tntdImportDeclarations = root
43
- .find(j.ImportDeclaration, {
44
- source: {
45
- value: 'tntd',
46
- },
47
- })
48
- .filter(
49
- (path) =>
50
- !path.node.specifiers.some((specifier) => specifier.type === 'ImportNamespaceSpecifier')
51
- )
52
- const specifiers = tntdImportDeclarations.paths().reduce((acc, path) => {
53
- acc.push(...path.node.specifiers)
54
-
55
- return acc
56
- }, [])
57
-
58
- tntdImportDeclarations
59
- .replaceWith((path, index) => {
60
- if (index === 0) {
61
- // Create a new import declaration with the merged specifiers
62
- return j.importDeclaration(specifiers, j.literal('tntd'))
63
- }
64
- })
65
- .toSource()
66
-
67
- // Component Rename
68
- root
69
- .find(j.JSXElement)
70
- .filter((path) => {
71
- const name = path.node.openingElement.name.name === 'Layout'
72
-
73
- if (!name) {
74
- return false
75
- }
76
-
77
- const scope = path.scope.lookup('Layout')
78
-
79
- if (scope && scope.isGlobal) {
80
- return true
81
- }
82
-
83
- return false
84
- })
85
- .replaceWith((path) => {
86
- path.node.openingElement.name.name = 'TntdLayout'
87
-
88
- if (path.node.closingElement) {
89
- path.node.closingElement.name.name = 'TntdLayout'
90
- }
91
-
92
- return path.node
93
- })
94
-
95
- return root.toSource()
96
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/array-input/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-context/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/development-login/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ellipsis/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,22 +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, {
9
- type: "no-result"
10
- });
11
- case 'Select':
12
- case 'TreeSelect':
13
- case 'Cascader':
14
- case 'Transfer':
15
- case 'Mentions':
16
- return React.createElement(Empty, {
17
- size: "mini"
18
- });
19
- default:
20
- return React.createElement(Empty, null);
21
- }
22
- });
@@ -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"]}
@@ -1,2 +0,0 @@
1
- import 'antd/es/empty/style';
2
- import './empty.less';
@@ -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"]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handle/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- export default ['system', 'entry', 'permission', 'graph', 'guanjia', 'case', 'celve1', 'shoucang', 'deal-type', 'pm', 'shoukuan', 'zhibiao', 'puzzle', 'user-group', 'yuce', 'jianmo', 'zhuanzhang', 'yunwei', 'baozhang', 'jizhang', 'tongji', 'pingfen', 'limit', 'spider', 'loan', 'access', 'role', 'org', 'celve', 'book', 'tag', 'shixufenxipeizhi', 'all-cases', 'xianeguanli', 'api', 'network', 'analysis', 'calendar', 'backup', 'all', 'attachment', 'chart-line', 'branches', 'chart-area', 'clock', 'check', 'charging-setting', 'chart-pie-alt', 'dashboard', 'datebase', 'check-reply', 'datacenter', 'connection', 'download', 'date-set', 'event', 'event-wait', 'fieldanalysis', 'exchange', 'knowledge', 'key', 'log', 'list', 'menu', 'index', 'project', 'monitorin', 'pointmap', 'ranking', 'model', 'plan', 'task', 'wait', 'upload', 'question-list', 'read', 'setting', 'reply', 'jinjianguanli', 'change-theme', 'application', 'flag-en', 'flag-cn', 'down', 'up', 'workflow', 'sync', 'folder', 'database', 'circle', 'edit', 'edit-color', 'box', 'layer', 'box-color', 'home-color', 'record', 'monitor', 'time-color', 'user', 'function-color', 'record-color', 'warning-color', 'layer-color', 'template', 'template-color', 'monitor-color', 'search', 'user-color', 'function', 'warning', 'search-color', 'home', 'time', 'application', 'plus', 'minus'];
@@ -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"]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/img/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loading-button/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/query-form/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -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
- import 'antd/es/version/style';
@@ -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"]}
@@ -1 +0,0 @@
1
- export * from './status';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/status/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA","sourcesContent":["export * from './status'\n"]}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export const Status = () => {
3
- return React.createElement("div", null, "Status");
4
- };
5
- Status.displayName = 'Status';
@@ -1 +0,0 @@
1
- {"version":3,"file":"status.js","sourceRoot":"","sources":["../../src/status/status.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,EAAE;IACzB,OAAO,0CAAiB,CAAA;AAC1B,CAAC,CAAA;AAED,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAA","sourcesContent":["import React from 'react'\n\nexport const Status = () => {\n return <div>Status</div>\n}\n\nStatus.displayName = 'Status'\n"]}
@@ -1,2 +0,0 @@
1
- import 'antd/es/table/style';
2
- import './table.less';
@@ -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"]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/title/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-icon/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-layout/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-modal/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1 +0,0 @@
1
- "use strict";
@@ -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
- "use strict";
@@ -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
- "use strict";
@@ -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
- "use strict";
@@ -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
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ellipsis/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare const renderEmpty: (componentName?: string | undefined) => React.ReactNode;
3
- //# sourceMappingURL=render-empty.d.ts.map
@@ -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"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.renderEmpty = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _configProvider = require("antd/lib/config-provider");
9
- var _empty = require("../empty");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var renderEmpty = function renderEmpty(componentName) {
12
- return _react["default"].createElement(_configProvider.ConfigConsumer, null, function () {
13
- switch (componentName) {
14
- case 'Table':
15
- case 'List':
16
- return _react["default"].createElement(_empty.Empty, {
17
- type: "no-result"
18
- });
19
- case 'Select':
20
- case 'TreeSelect':
21
- case 'Cascader':
22
- case 'Transfer':
23
- case 'Mentions':
24
- return _react["default"].createElement(_empty.Empty, {
25
- size: "mini"
26
- });
27
- default:
28
- return _react["default"].createElement(_empty.Empty, null);
29
- }
30
- });
31
- };
32
- exports.renderEmpty = renderEmpty;
@@ -1 +0,0 @@
1
- {"version":3,"file":"render-empty.js","sourceRoot":"","sources":["../../src/empty/render-empty.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AACzB,6DAAwD;AAExD,oCAAgC;AAEzB,MAAM,WAAW,GAAG,CAAC,aAAsB,EAAmB,EAAE,CAAC,CACtE,8BAAC,gCAAc,QACZ,GAAG,EAAE;IACJ,QAAQ,aAAa,EAAE;QACrB,KAAK,OAAO,CAAC;QACb,KAAK,MAAM;YACT,OAAO,8BAAC,aAAK,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,8BAAC,aAAK,IAAC,IAAI,EAAC,MAAM,GAAG,CAAA;QAC9B;YACE,OAAO,8BAAC,aAAK,OAAG,CAAA;KACnB;AACH,CAAC,CACc,CAClB,CAAA;AAnBY,QAAA,WAAW,eAmBvB","sourcesContent":["import React from 'react'\nimport { ConfigConsumer } from 'antd/lib/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"]}
@@ -1,3 +0,0 @@
1
- import 'antd/lib/empty/style';
2
- import './empty.less';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/empty/style/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAC5B,OAAO,cAAc,CAAA"}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- require("antd/lib/empty/style");
4
- require("./empty.less");
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/empty/style/index.ts"],"names":[],"mappings":";;AAAA,+BAA4B;AAC5B,wBAAqB","sourcesContent":["import 'antd/lib/empty/style'\nimport './empty.less'\n"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/handle/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/handle/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,3 +0,0 @@
1
- declare const _default: string[];
2
- export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/icon-list/style/index.ts"],"names":[],"mappings":";AAAA,wBAsHC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _default = ['system', 'entry', 'permission', 'graph', 'guanjia', 'case', 'celve1', 'shoucang', 'deal-type', 'pm', 'shoukuan', 'zhibiao', 'puzzle', 'user-group', 'yuce', 'jianmo', 'zhuanzhang', 'yunwei', 'baozhang', 'jizhang', 'tongji', 'pingfen', 'limit', 'spider', 'loan', 'access', 'role', 'org', 'celve', 'book', 'tag', 'shixufenxipeizhi', 'all-cases', 'xianeguanli', 'api', 'network', 'analysis', 'calendar', 'backup', 'all', 'attachment', 'chart-line', 'branches', 'chart-area', 'clock', 'check', 'charging-setting', 'chart-pie-alt', 'dashboard', 'datebase', 'check-reply', 'datacenter', 'connection', 'download', 'date-set', 'event', 'event-wait', 'fieldanalysis', 'exchange', 'knowledge', 'key', 'log', 'list', 'menu', 'index', 'project', 'monitorin', 'pointmap', 'ranking', 'model', 'plan', 'task', 'wait', 'upload', 'question-list', 'read', 'setting', 'reply', 'jinjianguanli', 'change-theme', 'application', 'flag-en', 'flag-cn', 'down', 'up', 'workflow', 'sync', 'folder', 'database', 'circle', 'edit', 'edit-color', 'box', 'layer', 'box-color', 'home-color', 'record', 'monitor', 'time-color', 'user', 'function-color', 'record-color', 'warning-color', 'layer-color', 'template', 'template-color', 'monitor-color', 'search', 'user-color', 'function', 'warning', 'search-color', 'home', 'time', 'application', 'plus', 'minus'];
8
- exports["default"] = _default;
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/icon-list/style/index.ts"],"names":[],"mappings":";;AAAA,kBAAe;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"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/img/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/img/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/loading-button/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/loading-button/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/page/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page/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/query-form/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/query-form/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/query-list-scene/style/index.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/query-list-scene/style/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,2 +0,0 @@
1
- import 'antd/lib/version/style';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/render-empty/style/index.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
-
3
- require("antd/lib/version/style");
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/render-empty/style/index.ts"],"names":[],"mappings":";;AAAA,iCAA8B","sourcesContent":["import 'antd/lib/version/style'\n"]}
@@ -1,2 +0,0 @@
1
- export * from './status';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/status/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/status/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB","sourcesContent":["export * from './status'\n"]}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Status: {
3
- (): JSX.Element;
4
- displayName: string;
5
- };
6
- //# sourceMappingURL=status.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/status/status.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,MAAM;;;CAElB,CAAA"}