linkmore-design 1.1.10 → 1.1.12

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 (235) hide show
  1. package/dist/Button/demos/type.d.ts +2 -0
  2. package/dist/Cascader/demos/formItem.d.ts +2 -0
  3. package/dist/CustomTableOption/index.d.ts +1 -0
  4. package/dist/CustomTableOption/locale/en_US.d.ts +19 -0
  5. package/dist/CustomTableOption/locale/zh_CN.d.ts +19 -0
  6. package/dist/LmEditTable/demos/priceTable.d.ts +2 -0
  7. package/dist/LmEditTable/util.d.ts +1 -0
  8. package/dist/LmFilter/demos/filterControl.d.ts +2 -0
  9. package/dist/Locale/default.d.ts +4 -1
  10. package/dist/Locale/zh_CN.d.ts +4 -1
  11. package/dist/Modal/demos/locale.d.ts +2 -0
  12. package/dist/Modal/locale.d.ts +7 -0
  13. package/dist/Select/demos/formItem.d.ts +2 -0
  14. package/dist/Select/index.d.ts +1 -0
  15. package/dist/TreeSelect/demos/formItem.d.ts +2 -0
  16. package/dist/TreeSelect/index.d.ts +8 -3
  17. package/dist/base.css +1 -0
  18. package/dist/index.umd.js +394 -206
  19. package/dist/index.umd.min.js +6 -6
  20. package/dist/variables.css +45 -12
  21. package/es/Affix/style/index.css +1 -0
  22. package/es/Alert/style/index.css +1 -0
  23. package/es/Approval/style/index.css +1 -0
  24. package/es/AutoComplete/style/index.css +1 -0
  25. package/es/Avatar/style/index.css +1 -0
  26. package/es/Badge/style/index.css +1 -0
  27. package/es/Breadcrumb/style/index.css +1 -0
  28. package/es/Button/style/index.css +4 -1
  29. package/es/Button/style/variables.css +4 -1
  30. package/es/ButtonTags/style/index.css +1 -0
  31. package/es/Calendar/style/index.css +1 -0
  32. package/es/Card/style/index.css +1 -0
  33. package/es/CardTable/style/index.css +7 -9
  34. package/es/CardTable/style/variables.css +7 -9
  35. package/es/Carousel/style/index.css +1 -0
  36. package/es/Cascader/style/index.css +1 -0
  37. package/es/Col/style/index.css +1 -0
  38. package/es/Collapse/style/index.css +1 -0
  39. package/es/Comment/style/index.css +1 -0
  40. package/es/CustomTableOption/cardSort.js +21 -16
  41. package/es/CustomTableOption/columnsSort.js +16 -16
  42. package/es/CustomTableOption/filterSort.js +11 -11
  43. package/es/CustomTableOption/index.d.ts +1 -0
  44. package/es/CustomTableOption/index.js +45 -17
  45. package/es/CustomTableOption/locale/en_US.d.ts +19 -0
  46. package/es/CustomTableOption/locale/en_US.js +19 -0
  47. package/es/CustomTableOption/locale/zh_CN.d.ts +19 -0
  48. package/es/CustomTableOption/locale/zh_CN.js +19 -0
  49. package/es/CustomTableOption/style/index.css +5 -0
  50. package/es/CustomTableOption/style/variables.css +4 -0
  51. package/es/CustomerService/style/index.css +1 -0
  52. package/es/DatePicker/style/index.css +1 -0
  53. package/es/Descriptions/style/index.css +1 -0
  54. package/es/Divider/style/index.css +1 -0
  55. package/es/Drawer/style/index.css +1 -0
  56. package/es/Dropdown/style/index.css +3 -2
  57. package/es/Dropdown/style/variables.css +2 -2
  58. package/es/EditTable/style/index.css +1 -0
  59. package/es/Empty/style/index.css +1 -0
  60. package/es/Filter/style/index.css +1 -0
  61. package/es/Form/style/index.css +1 -0
  62. package/es/FullScreen/style/index.css +1 -0
  63. package/es/Grid/style/index.css +1 -0
  64. package/es/Icon/style/index.css +1 -0
  65. package/es/Image/style/index.css +1 -0
  66. package/es/Input/style/index.css +1 -0
  67. package/es/InputNumber/style/index.css +1 -0
  68. package/es/Layout/style/index.css +1 -0
  69. package/es/LeftTable/index.js +3 -1
  70. package/es/LeftTable/style/index.css +1 -0
  71. package/es/List/style/index.css +1 -0
  72. package/es/LmEditTable/EditTable.js +102 -98
  73. package/es/LmEditTable/style/index.css +23 -0
  74. package/es/LmEditTable/style/variables.css +22 -0
  75. package/es/LmEditTable/util.d.ts +1 -0
  76. package/es/LmEditTable/util.js +27 -0
  77. package/es/LmSelect/style/index.css +1 -0
  78. package/es/LmTable/style/index.css +1 -0
  79. package/es/Locale/default.d.ts +4 -1
  80. package/es/Locale/default.js +3 -1
  81. package/es/Locale/zh_CN.d.ts +4 -1
  82. package/es/Locale/zh_CN.js +3 -1
  83. package/es/Mentions/style/index.css +1 -0
  84. package/es/Menu/style/index.css +1 -0
  85. package/es/Modal/index.js +18 -14
  86. package/es/Modal/locale.d.ts +7 -0
  87. package/es/Modal/locale.js +12 -0
  88. package/es/Modal/style/index.css +1 -0
  89. package/es/PageHeader/style/index.css +1 -0
  90. package/es/Pagination/style/index.css +1 -0
  91. package/es/Popconfirm/style/index.css +1 -0
  92. package/es/Popover/style/index.css +1 -0
  93. package/es/Progress/style/index.css +1 -0
  94. package/es/QuickMenu/style/index.css +6 -0
  95. package/es/QuickMenu/style/variables.css +5 -0
  96. package/es/Rate/style/index.css +1 -0
  97. package/es/Result/style/index.css +1 -0
  98. package/es/Row/style/index.css +1 -0
  99. package/es/Segmented/style/index.css +1 -0
  100. package/es/Select/index.d.ts +1 -0
  101. package/es/Select/index.js +38 -4
  102. package/es/Select/style/index.css +1 -0
  103. package/es/Skeleton/style/index.css +1 -0
  104. package/es/Slider/style/index.css +1 -0
  105. package/es/Space/style/index.css +1 -0
  106. package/es/Spin/style/index.css +1 -0
  107. package/es/Statistic/style/index.css +1 -0
  108. package/es/Steps/style/index.css +1 -0
  109. package/es/Switch/style/index.css +1 -0
  110. package/es/Table/style/index.css +1 -0
  111. package/es/Tabs/style/index.css +1 -0
  112. package/es/Tag/style/index.css +1 -0
  113. package/es/TimePicker/style/index.css +1 -0
  114. package/es/Timeline/style/index.css +1 -0
  115. package/es/Tooltip/style/index.css +1 -0
  116. package/es/Transfer/style/index.css +1 -0
  117. package/es/Tree/style/index.css +1 -0
  118. package/es/TreeSelect/index.d.ts +8 -3
  119. package/es/TreeSelect/index.js +74 -1
  120. package/es/TreeSelect/style/index.css +1 -0
  121. package/es/Typography/style/index.css +1 -0
  122. package/es/Upload/style/index.css +1 -0
  123. package/es/locale-provider/style/index.css +1 -0
  124. package/es/message/style/index.css +1 -0
  125. package/es/notification/style/index.css +1 -0
  126. package/es/styles/main.css +1 -0
  127. package/es/styles/variables.css +45 -12
  128. package/lib/Affix/style/index.css +1 -0
  129. package/lib/Alert/style/index.css +1 -0
  130. package/lib/Approval/style/index.css +1 -0
  131. package/lib/AutoComplete/style/index.css +1 -0
  132. package/lib/Avatar/style/index.css +1 -0
  133. package/lib/Badge/style/index.css +1 -0
  134. package/lib/Breadcrumb/style/index.css +1 -0
  135. package/lib/Button/style/index.css +4 -1
  136. package/lib/Button/style/variables.css +4 -1
  137. package/lib/ButtonTags/style/index.css +1 -0
  138. package/lib/Calendar/style/index.css +1 -0
  139. package/lib/Card/style/index.css +1 -0
  140. package/lib/CardTable/style/index.css +7 -9
  141. package/lib/CardTable/style/variables.css +7 -9
  142. package/lib/Carousel/style/index.css +1 -0
  143. package/lib/Cascader/style/index.css +1 -0
  144. package/lib/Col/style/index.css +1 -0
  145. package/lib/Collapse/style/index.css +1 -0
  146. package/lib/Comment/style/index.css +1 -0
  147. package/lib/CustomTableOption/cardSort.js +20 -15
  148. package/lib/CustomTableOption/columnsSort.js +16 -16
  149. package/lib/CustomTableOption/filterSort.js +11 -11
  150. package/lib/CustomTableOption/index.d.ts +1 -0
  151. package/lib/CustomTableOption/index.js +45 -16
  152. package/lib/CustomTableOption/locale/en_US.d.ts +19 -0
  153. package/lib/CustomTableOption/locale/en_US.js +26 -0
  154. package/lib/CustomTableOption/locale/zh_CN.d.ts +19 -0
  155. package/lib/CustomTableOption/locale/zh_CN.js +26 -0
  156. package/lib/CustomTableOption/style/index.css +5 -0
  157. package/lib/CustomTableOption/style/variables.css +4 -0
  158. package/lib/CustomerService/style/index.css +1 -0
  159. package/lib/DatePicker/style/index.css +1 -0
  160. package/lib/Descriptions/style/index.css +1 -0
  161. package/lib/Divider/style/index.css +1 -0
  162. package/lib/Drawer/style/index.css +1 -0
  163. package/lib/Dropdown/style/index.css +3 -2
  164. package/lib/Dropdown/style/variables.css +2 -2
  165. package/lib/EditTable/style/index.css +1 -0
  166. package/lib/Empty/style/index.css +1 -0
  167. package/lib/Filter/style/index.css +1 -0
  168. package/lib/Form/style/index.css +1 -0
  169. package/lib/FullScreen/style/index.css +1 -0
  170. package/lib/Grid/style/index.css +1 -0
  171. package/lib/Icon/style/index.css +1 -0
  172. package/lib/Image/style/index.css +1 -0
  173. package/lib/Input/style/index.css +1 -0
  174. package/lib/InputNumber/style/index.css +1 -0
  175. package/lib/Layout/style/index.css +1 -0
  176. package/lib/LeftTable/index.js +3 -1
  177. package/lib/LeftTable/style/index.css +1 -0
  178. package/lib/List/style/index.css +1 -0
  179. package/lib/LmEditTable/EditTable.js +101 -96
  180. package/lib/LmEditTable/style/index.css +23 -0
  181. package/lib/LmEditTable/style/variables.css +22 -0
  182. package/lib/LmEditTable/util.d.ts +1 -0
  183. package/lib/LmEditTable/util.js +30 -0
  184. package/lib/LmSelect/style/index.css +1 -0
  185. package/lib/LmTable/style/index.css +1 -0
  186. package/lib/Locale/default.d.ts +4 -1
  187. package/lib/Locale/default.js +4 -1
  188. package/lib/Locale/zh_CN.d.ts +4 -1
  189. package/lib/Locale/zh_CN.js +4 -1
  190. package/lib/Mentions/style/index.css +1 -0
  191. package/lib/Menu/style/index.css +1 -0
  192. package/lib/Modal/index.js +22 -14
  193. package/lib/Modal/locale.d.ts +7 -0
  194. package/lib/Modal/locale.js +25 -0
  195. package/lib/Modal/style/index.css +1 -0
  196. package/lib/PageHeader/style/index.css +1 -0
  197. package/lib/Pagination/style/index.css +1 -0
  198. package/lib/Popconfirm/style/index.css +1 -0
  199. package/lib/Popover/style/index.css +1 -0
  200. package/lib/Progress/style/index.css +1 -0
  201. package/lib/QuickMenu/style/index.css +6 -0
  202. package/lib/QuickMenu/style/variables.css +5 -0
  203. package/lib/Rate/style/index.css +1 -0
  204. package/lib/Result/style/index.css +1 -0
  205. package/lib/Row/style/index.css +1 -0
  206. package/lib/Segmented/style/index.css +1 -0
  207. package/lib/Select/index.d.ts +1 -0
  208. package/lib/Select/index.js +37 -3
  209. package/lib/Select/style/index.css +1 -0
  210. package/lib/Skeleton/style/index.css +1 -0
  211. package/lib/Slider/style/index.css +1 -0
  212. package/lib/Space/style/index.css +1 -0
  213. package/lib/Spin/style/index.css +1 -0
  214. package/lib/Statistic/style/index.css +1 -0
  215. package/lib/Steps/style/index.css +1 -0
  216. package/lib/Switch/style/index.css +1 -0
  217. package/lib/Table/style/index.css +1 -0
  218. package/lib/Tabs/style/index.css +1 -0
  219. package/lib/Tag/style/index.css +1 -0
  220. package/lib/TimePicker/style/index.css +1 -0
  221. package/lib/Timeline/style/index.css +1 -0
  222. package/lib/Tooltip/style/index.css +1 -0
  223. package/lib/Transfer/style/index.css +1 -0
  224. package/lib/Tree/style/index.css +1 -0
  225. package/lib/TreeSelect/index.d.ts +8 -3
  226. package/lib/TreeSelect/index.js +78 -1
  227. package/lib/TreeSelect/style/index.css +1 -0
  228. package/lib/Typography/style/index.css +1 -0
  229. package/lib/Upload/style/index.css +1 -0
  230. package/lib/locale-provider/style/index.css +1 -0
  231. package/lib/message/style/index.css +1 -0
  232. package/lib/notification/style/index.css +1 -0
  233. package/lib/styles/main.css +1 -0
  234. package/lib/styles/variables.css +45 -12
  235. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -9,6 +9,7 @@ export interface ICustomTableOptionProps {
9
9
  columns?: TableProps<any>['columns'];
10
10
  card?: TableProps<any>['columns'];
11
11
  onSave?: (data: any) => void;
12
+ recommendNumObj?: Record<string, number>;
12
13
  }
13
14
  declare const LMCustomTableOption: React.FC<ICustomTableOptionProps>;
14
15
  export default LMCustomTableOption;
@@ -0,0 +1,19 @@
1
+ declare const locale: {
2
+ lang: {
3
+ setting: string;
4
+ cancel: string;
5
+ confirm: string;
6
+ filterSetting: string;
7
+ columnsSetting: string;
8
+ cardSetting: string;
9
+ other: string;
10
+ listStyle: string;
11
+ isSaveSetting: string;
12
+ selectAll: string;
13
+ reset: string;
14
+ fixedInLeft: string;
15
+ noFixed: string;
16
+ fixedInRight: string;
17
+ };
18
+ };
19
+ export default locale;
@@ -0,0 +1,19 @@
1
+ declare const locale: {
2
+ lang: {
3
+ setting: string;
4
+ cancel: string;
5
+ confirm: string;
6
+ filterSetting: string;
7
+ columnsSetting: string;
8
+ cardSetting: string;
9
+ other: string;
10
+ listStyle: string;
11
+ isSaveSetting: string;
12
+ selectAll: string;
13
+ reset: string;
14
+ fixedInLeft: string;
15
+ noFixed: string;
16
+ fixedInRight: string;
17
+ };
18
+ };
19
+ export default locale;
@@ -0,0 +1,2 @@
1
+ declare function PriceTable(props: any): JSX.Element;
2
+ export default PriceTable;
@@ -1,6 +1,7 @@
1
1
  export declare function isObjEmpty(obj: Record<string, any>): boolean;
2
2
  export declare function deepDataSourcePreKeys(dataSource: any[], rowKey: string): any;
3
3
  export declare function isExpandRow(children: any): boolean;
4
+ export declare function checkRowKeyByDataSource(dataSource: any, rowKey: any): any;
4
5
  declare const _default: {
5
6
  isObjEmpty: typeof isObjEmpty;
6
7
  };
@@ -0,0 +1,2 @@
1
+ export default SingleFilter;
2
+ declare function SingleFilter(): JSX.Element;
@@ -1,3 +1,6 @@
1
1
  import type { Locale } from 'antd/es/locale-provider';
2
- declare const localeValues: Locale;
2
+ interface ILocal extends Locale {
3
+ CustomTableOption?: any;
4
+ }
5
+ declare const localeValues: ILocal;
3
6
  export default localeValues;
@@ -1,3 +1,6 @@
1
1
  import type { Locale } from 'antd/es/locale-provider';
2
- declare const localeValues: Locale;
2
+ interface ILocal extends Locale {
3
+ CustomTableOption?: any;
4
+ }
5
+ declare const localeValues: ILocal;
3
6
  export default localeValues;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -0,0 +1,7 @@
1
+ export interface ModalLocale {
2
+ okText: string;
3
+ cancelText: string;
4
+ justOkText: string;
5
+ }
6
+ export declare function changeConfirmLocale(newLocale?: ModalLocale): void;
7
+ export declare function getConfirmLocale(): ModalLocale;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -5,6 +5,7 @@ export interface ISelectProps extends SelectProps {
5
5
  style?: React.CSSProperties;
6
6
  Option?: typeof Select.Option;
7
7
  OptGroup?: typeof Select.OptGroup;
8
+ defaultLabel?: string;
8
9
  }
9
10
  declare type SelectType = typeof Select & typeof Select.Option & typeof Select.OptGroup;
10
11
  declare const LMSelect: SelectType;
@@ -0,0 +1,2 @@
1
+ declare const App: () => JSX.Element;
2
+ export default App;
@@ -1,3 +1,8 @@
1
- import { TreeSelect } from 'antd';
2
- export type { TreeSelectProps } from 'antd';
3
- export default TreeSelect;
1
+ import { TreeSelect, TreeSelectProps as OriginTreeSelectProps } from 'antd';
2
+ export interface TreeSelectProps extends OriginTreeSelectProps {
3
+ defaultLabel?: string;
4
+ children?: any;
5
+ }
6
+ declare type TreeSelectType = typeof TreeSelect & typeof TreeSelect.TreeNode;
7
+ declare const LMTreeSelect: TreeSelectType;
8
+ export default LMTreeSelect;
package/dist/base.css CHANGED
@@ -198,6 +198,7 @@
198
198
  --font-size-base: 14px;
199
199
  --font-size-lg: calc(var(--font-size-base) + 2px);
200
200
  --font-size-sm: 12px;
201
+ --border-radius: 2px;
201
202
  --color-contrast: #fff;
202
203
  --color-100: #000;
203
204
  --color-85: #262626;