yootd 0.2.45 → 0.2.47

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 (223) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +43 -43
  3. package/dist/affix/index.d.ts +4 -2
  4. package/dist/affix/index.js +1 -1
  5. package/dist/alert/index.d.ts +3 -3
  6. package/dist/alert/index.js +1 -1
  7. package/dist/anchor/index.d.ts +2 -2
  8. package/dist/anchor/index.js +1 -1
  9. package/dist/anchor/index.scss +23 -23
  10. package/dist/app/index.d.ts +3 -3
  11. package/dist/app/index.js +1 -1
  12. package/dist/approval-process/index.scss +95 -95
  13. package/dist/areas/index.scss +21 -21
  14. package/dist/areas/types/types.d.ts +41 -41
  15. package/dist/areas-treeSelect/index.js +1 -1
  16. package/dist/areas-treeSelect/index.scss +6 -6
  17. package/dist/areas-treeSelect/types/type.d.ts +40 -40
  18. package/dist/aside/components/SortableItem.scss +289 -289
  19. package/dist/aside/index.scss +44 -44
  20. package/dist/aside/types/types.d.ts +82 -82
  21. package/dist/auto-complete/index.d.ts +2 -2
  22. package/dist/auto-complete/index.js +1 -1
  23. package/dist/avatar/index.d.ts +2 -2
  24. package/dist/avatar/index.js +1 -1
  25. package/dist/badge/index.d.ts +3 -3
  26. package/dist/badge/index.js +2 -2
  27. package/dist/badge/index.scss +5 -5
  28. package/dist/breadcrumb/index.d.ts +2 -2
  29. package/dist/breadcrumb/index.js +1 -1
  30. package/dist/buildings/types/types.d.ts +21 -21
  31. package/dist/business-tree/components/dept.d.ts +1 -1
  32. package/dist/business-tree/components/space.d.ts +1 -1
  33. package/dist/business-tree/index.d.ts +1 -1
  34. package/dist/button/index.d.ts +2 -2
  35. package/dist/button/index.js +1 -1
  36. package/dist/button/index.scss +30 -30
  37. package/dist/calendar/index.d.ts +2 -2
  38. package/dist/calendar/index.js +1 -1
  39. package/dist/card/index.d.ts +2 -2
  40. package/dist/card/index.js +1 -1
  41. package/dist/carousel/index.d.ts +2 -2
  42. package/dist/carousel/index.js +1 -1
  43. package/dist/cascader/index.d.ts +3 -3
  44. package/dist/cascader/index.js +1 -1
  45. package/dist/cascader/index.scss +5 -5
  46. package/dist/checkbox/index.d.ts +3 -3
  47. package/dist/checkbox/index.js +1 -1
  48. package/dist/collapse/index.d.ts +2 -2
  49. package/dist/collapse/index.js +1 -1
  50. package/dist/color-picker/index.d.ts +2 -2
  51. package/dist/color-picker/index.js +1 -1
  52. package/dist/config-provider/index.d.ts +2 -2
  53. package/dist/config-provider/index.js +2 -2
  54. package/dist/courses/types/types.d.ts +18 -18
  55. package/dist/date-interval/index.d.ts +1 -1
  56. package/dist/date-interval/index.js +1 -1
  57. package/dist/date-picker/index.d.ts +2 -2
  58. package/dist/date-picker/index.js +1 -1
  59. package/dist/date-range/index.d.ts +1 -1
  60. package/dist/date-range/index.js +1 -1
  61. package/dist/department/index.scss +6 -6
  62. package/dist/department/types/types.d.ts +23 -23
  63. package/dist/description/index.d.ts +1 -1
  64. package/dist/description/index.js +1 -1
  65. package/dist/description/index.scss +10 -10
  66. package/dist/dictionary/types/types.d.ts +14 -14
  67. package/dist/divider/index.d.ts +1 -1
  68. package/dist/divider/index.js +1 -1
  69. package/dist/drawer/index.d.ts +2 -2
  70. package/dist/drawer/index.js +1 -1
  71. package/dist/drawer-modal/index.d.ts +1 -1
  72. package/dist/drawer-modal/index.js +1 -1
  73. package/dist/drawer-modal/index.scss +42 -42
  74. package/dist/drawer-modal/types/types.d.ts +3 -3
  75. package/dist/dropdown/assets/arrow-down.svg +5 -5
  76. package/dist/dropdown/index.d.ts +2 -2
  77. package/dist/dropdown/index.js +1 -1
  78. package/dist/dropdown-select/index.js +1 -1
  79. package/dist/dropdown-select/index.scss +6 -6
  80. package/dist/dropdown-select/types/type.d.ts +18 -18
  81. package/dist/empty/index.d.ts +3 -3
  82. package/dist/empty/index.js +1 -1
  83. package/dist/empty/index.scss +15 -15
  84. package/dist/export/index.d.ts +1 -1
  85. package/dist/export/index.js +1 -1
  86. package/dist/export/index.scss +6 -6
  87. package/dist/flex/index.d.ts +1 -1
  88. package/dist/flex/index.js +1 -1
  89. package/dist/float-button/index.d.ts +2 -2
  90. package/dist/float-button/index.js +1 -1
  91. package/dist/form/index.d.ts +2 -2
  92. package/dist/form/index.js +1 -1
  93. package/dist/go-back/components/index.scss +5 -5
  94. package/dist/go-back/index.scss +33 -33
  95. package/dist/grid/index.d.ts +1 -1
  96. package/dist/grid/index.js +1 -1
  97. package/dist/group-title/index.scss +31 -31
  98. package/dist/holiday/types/types.d.ts +22 -22
  99. package/dist/hooks/useBem.js +10 -10
  100. package/dist/image/index.d.ts +3 -3
  101. package/dist/image/index.js +1 -1
  102. package/dist/image/index.scss +26 -26
  103. package/dist/input/index.d.ts +3 -3
  104. package/dist/input/index.js +1 -1
  105. package/dist/input/index.scss +5 -5
  106. package/dist/input-number/index.d.ts +2 -2
  107. package/dist/input-number/index.js +1 -1
  108. package/dist/job-title/types/types.d.ts +17 -17
  109. package/dist/layout/index.d.ts +2 -2
  110. package/dist/layout/index.js +1 -1
  111. package/dist/list/index.d.ts +2 -2
  112. package/dist/list/index.js +1 -1
  113. package/dist/mentions/index.d.ts +2 -2
  114. package/dist/mentions/index.js +1 -1
  115. package/dist/menu/index.d.ts +2 -2
  116. package/dist/menu/index.js +1 -1
  117. package/dist/message/index.d.ts +2 -2
  118. package/dist/message/index.js +1 -1
  119. package/dist/modal/index.d.ts +7 -7
  120. package/dist/modal/index.js +1 -1
  121. package/dist/modal/index.scss +81 -81
  122. package/dist/notification/index.d.ts +2 -2
  123. package/dist/notification/index.js +1 -1
  124. package/dist/pagination/index.d.ts +1 -1
  125. package/dist/pagination/index.js +1 -1
  126. package/dist/pagination/index.scss +47 -47
  127. package/dist/pop-confirm/index.d.ts +2 -2
  128. package/dist/pop-confirm/index.js +1 -1
  129. package/dist/popover/index.d.ts +3 -3
  130. package/dist/popover/index.js +1 -1
  131. package/dist/preview/components/preview/phone.scss +7 -7
  132. package/dist/preview/components/reactflow/Controls.d.ts +1 -1
  133. package/dist/preview/components/reactflow/TopPreview.d.ts +1 -1
  134. package/dist/preview/index.scss +35 -35
  135. package/dist/preview/types/type.d.ts +22 -22
  136. package/dist/progress/index.d.ts +2 -2
  137. package/dist/progress/index.js +1 -1
  138. package/dist/qrcode/index.d.ts +2 -2
  139. package/dist/qrcode/index.js +1 -1
  140. package/dist/radio/index.d.ts +3 -3
  141. package/dist/radio/index.js +2 -2
  142. package/dist/rate/index.d.ts +2 -2
  143. package/dist/rate/index.js +1 -1
  144. package/dist/result/index.d.ts +2 -2
  145. package/dist/result/index.js +1 -1
  146. package/dist/role/types/types.d.ts +22 -22
  147. package/dist/school/index.scss +21 -21
  148. package/dist/school/types/types.d.ts +85 -85
  149. package/dist/segmented/index.d.ts +2 -2
  150. package/dist/segmented/index.js +1 -1
  151. package/dist/select/index.d.ts +2 -2
  152. package/dist/select/index.js +1 -1
  153. package/dist/skeleton/index.d.ts +7 -7
  154. package/dist/skeleton/index.js +1 -1
  155. package/dist/slider/index.d.ts +2 -2
  156. package/dist/slider/index.js +1 -1
  157. package/dist/space/index.d.ts +2 -2
  158. package/dist/space/index.js +1 -1
  159. package/dist/spin/index.d.ts +2 -2
  160. package/dist/spin/index.js +1 -1
  161. package/dist/splitter/index.d.ts +2 -2
  162. package/dist/splitter/index.js +1 -1
  163. package/dist/state/index.scss +89 -89
  164. package/dist/statistic/index.d.ts +2 -2
  165. package/dist/statistic/index.js +1 -1
  166. package/dist/steps/index.d.ts +2 -2
  167. package/dist/steps/index.js +1 -1
  168. package/dist/steps/index.scss +32 -32
  169. package/dist/student-dropdown/types/types.d.ts +44 -44
  170. package/dist/switch/index.d.ts +2 -2
  171. package/dist/switch/index.js +1 -1
  172. package/dist/table/components/primary-header-row/index.scss +67 -67
  173. package/dist/table/components/primary-tbody-row/index.scss +5 -5
  174. package/dist/table/index.d.ts +6 -6
  175. package/dist/table/index.js +2 -2
  176. package/dist/table/index.scss +58 -58
  177. package/dist/tabs/index.d.ts +3 -3
  178. package/dist/tabs/index.js +1 -1
  179. package/dist/tabs/index.scss +86 -86
  180. package/dist/tag/index.d.ts +2 -2
  181. package/dist/tag/index.js +1 -1
  182. package/dist/tag/index.scss +4 -4
  183. package/dist/teacher/types/types.d.ts +33 -33
  184. package/dist/time-picker/index.d.ts +2 -2
  185. package/dist/time-picker/index.js +1 -1
  186. package/dist/timeline/index.d.ts +3 -3
  187. package/dist/timeline/index.js +1 -1
  188. package/dist/tooltip/index.d.ts +3 -3
  189. package/dist/tooltip/index.js +1 -1
  190. package/dist/tour/index.d.ts +3 -3
  191. package/dist/tour/index.js +1 -1
  192. package/dist/transfer/index.d.ts +2 -2
  193. package/dist/transfer/index.js +1 -1
  194. package/dist/tree/index.d.ts +3 -3
  195. package/dist/tree/index.js +1 -1
  196. package/dist/tree/index.scss +34 -34
  197. package/dist/tree-select/index.d.ts +2 -2
  198. package/dist/tree-select/index.js +1 -1
  199. package/dist/typography/index.d.ts +1 -1
  200. package/dist/typography/index.js +1 -1
  201. package/dist/upload/components/fileUpload.d.ts +3 -3
  202. package/dist/upload/components/fileUpload.js +1 -1
  203. package/dist/upload/components/imageUpload.d.ts +3 -3
  204. package/dist/upload/components/imageUpload.js +2 -2
  205. package/dist/upload/index.d.ts +4 -4
  206. package/dist/upload/index.js +1 -1
  207. package/dist/upload/index.scss +115 -115
  208. package/dist/user-dropdown/types/types.d.ts +45 -45
  209. package/dist/utils/types.d.ts +1 -1
  210. package/dist/utils/utils.d.ts +1 -1
  211. package/dist/video-player/index.js +7 -7
  212. package/dist/video-player/index.scss +339 -339
  213. package/dist/watermark/index.d.ts +2 -2
  214. package/dist/watermark/index.js +1 -1
  215. package/dist/with-search-form/index.scss +11 -11
  216. package/dist/with-search-form/types/type.d.ts +3 -3
  217. package/dist/year-options/index.d.ts +1 -1
  218. package/dist/year-options/index.js +1 -1
  219. package/dist/year-term/index.scss +21 -21
  220. package/dist/year-term/types/types.d.ts +39 -39
  221. package/dist/zones/index.scss +21 -21
  222. package/dist/zones/types/types.d.ts +26 -26
  223. package/package.json +93 -93
@@ -1,82 +1,82 @@
1
- import { React } from 'react';
2
- type IdataItem = {
3
- key: string;
4
- title: string;
5
- extra?: string;
6
- checked?: boolean;
7
- status?: string;
8
- data?: any;
9
- showEditBtn?: boolean;
10
- showDelBtn?: boolean;
11
- children?: Array<{
12
- key: string;
13
- title: string;
14
- extra?: string;
15
- checked?: boolean;
16
- status?: string;
17
- data?: any;
18
- showEditBtn?: boolean;
19
- showDelBtn?: boolean;
20
- }>;
21
- };
22
- export type AsideProps = {
23
- width?: number;
24
- height?: number | string;
25
- style?: React.CSSProperties;
26
- activeKey?: string;
27
- title?: string;
28
- data: IdataItem[];
29
- overflow?: boolean;
30
- titleShow?: boolean;
31
- addBtnIcon?: boolean;
32
- editBtnIcon?: boolean;
33
- delBtnIcon?: boolean;
34
- switchBtnIcon?: boolean;
35
- dragBtnIcon?: boolean;
36
- onClick?: (key: string, e: IdataItem) => void;
37
- onAdd?: () => void;
38
- onEdit?: (key: string, e: IdataItem) => void;
39
- onDel?: (key: string, e: IdataItem) => void;
40
- onSwitch?: (
41
- changeValue: { key: string; checked: boolean },
42
- data: IdataItem[],
43
- ) => void;
44
- onDragEnd?: (data: IdataItem[]) => void;
45
- onScrollBottom?: () => void;
46
- bottomThreshold?: number;
47
- isSubNode?: boolean;
48
- onSubClick?: (key: string, subKey: string, e: IdataItem) => void;
49
- customBtn?: React.ReactNode;
50
- };
51
- export type AsideItemProps = {
52
- activeKey: string;
53
- id: string;
54
- title: string;
55
- editBtnIcon?: boolean;
56
- delBtnIcon?: boolean;
57
- switchBtnIcon?: boolean;
58
- dragBtnIcon?: boolean;
59
- checked?: boolean;
60
- extra?: string;
61
- status?: string;
62
- data?: any;
63
- showEditBtn?: boolean;
64
- showDelBtn?: boolean;
65
- onClick?: (key: string | undefined, e: IdataItem) => void;
66
- onEdit?: (key: string, e: IdataItem) => void;
67
- onDel?: (key: string, e: IdataItem) => void;
68
- onSwitch?: (key: string, e: boolean) => void;
69
- subId?: string;
70
- isSubNode?: boolean;
71
- subNode?: Array<{
72
- key: string;
73
- title: string;
74
- extra?: string;
75
- checked?: boolean;
76
- status?: string;
77
- data?: any;
78
- showEditBtn?: boolean;
79
- showDelBtn?: boolean;
80
- }>;
81
- onSubClick?: (key, subKey: string | undefined, e: IdataItem) => void;
82
- };
1
+ import { React } from 'react';
2
+ type IdataItem = {
3
+ key: string;
4
+ title: string;
5
+ extra?: string;
6
+ checked?: boolean;
7
+ status?: string;
8
+ data?: any;
9
+ showEditBtn?: boolean;
10
+ showDelBtn?: boolean;
11
+ children?: Array<{
12
+ key: string;
13
+ title: string;
14
+ extra?: string;
15
+ checked?: boolean;
16
+ status?: string;
17
+ data?: any;
18
+ showEditBtn?: boolean;
19
+ showDelBtn?: boolean;
20
+ }>;
21
+ };
22
+ export type AsideProps = {
23
+ width?: number;
24
+ height?: number | string;
25
+ style?: React.CSSProperties;
26
+ activeKey?: string;
27
+ title?: string;
28
+ data: IdataItem[];
29
+ overflow?: boolean;
30
+ titleShow?: boolean;
31
+ addBtnIcon?: boolean;
32
+ editBtnIcon?: boolean;
33
+ delBtnIcon?: boolean;
34
+ switchBtnIcon?: boolean;
35
+ dragBtnIcon?: boolean;
36
+ onClick?: (key: string, e: IdataItem) => void;
37
+ onAdd?: () => void;
38
+ onEdit?: (key: string, e: IdataItem) => void;
39
+ onDel?: (key: string, e: IdataItem) => void;
40
+ onSwitch?: (
41
+ changeValue: { key: string; checked: boolean },
42
+ data: IdataItem[],
43
+ ) => void;
44
+ onDragEnd?: (data: IdataItem[]) => void;
45
+ onScrollBottom?: () => void;
46
+ bottomThreshold?: number;
47
+ isSubNode?: boolean;
48
+ onSubClick?: (key: string, subKey: string, e: IdataItem) => void;
49
+ customBtn?: React.ReactNode;
50
+ };
51
+ export type AsideItemProps = {
52
+ activeKey: string;
53
+ id: string;
54
+ title: string;
55
+ editBtnIcon?: boolean;
56
+ delBtnIcon?: boolean;
57
+ switchBtnIcon?: boolean;
58
+ dragBtnIcon?: boolean;
59
+ checked?: boolean;
60
+ extra?: string;
61
+ status?: string;
62
+ data?: any;
63
+ showEditBtn?: boolean;
64
+ showDelBtn?: boolean;
65
+ onClick?: (key: string | undefined, e: IdataItem) => void;
66
+ onEdit?: (key: string, e: IdataItem) => void;
67
+ onDel?: (key: string, e: IdataItem) => void;
68
+ onSwitch?: (key: string, e: boolean) => void;
69
+ subId?: string;
70
+ isSubNode?: boolean;
71
+ subNode?: Array<{
72
+ key: string;
73
+ title: string;
74
+ extra?: string;
75
+ checked?: boolean;
76
+ status?: string;
77
+ data?: any;
78
+ showEditBtn?: boolean;
79
+ showDelBtn?: boolean;
80
+ }>;
81
+ onSubClick?: (key, subKey: string | undefined, e: IdataItem) => void;
82
+ };
@@ -1,4 +1,4 @@
1
- import type { AutoCompleteProps as AntAutoCompleteProps } from 'antd';
2
- import { AutoComplete as AntAutoComplete } from 'antd';
1
+ import type { AutoCompleteProps as AntAutoCompleteProps } from '@phoss/antd';
2
+ import { AutoComplete as AntAutoComplete } from '@phoss/antd';
3
3
  export type AutoCompleteProps = AntAutoCompleteProps;
4
4
  export declare const AutoComplete: typeof AntAutoComplete;
@@ -1,2 +1,2 @@
1
- import { AutoComplete as AntAutoComplete } from 'antd';
1
+ import { AutoComplete as AntAutoComplete } from '@phoss/antd';
2
2
  export var AutoComplete = AntAutoComplete;
@@ -1,3 +1,3 @@
1
- import { Avatar as AntAvatar } from 'antd';
2
- export type { AvatarProps, Group, GroupProps } from 'antd/es/avatar';
1
+ import { Avatar as AntAvatar } from '@phoss/antd';
2
+ export type { AvatarProps, GroupProps } from '@phoss/antd/es/avatar';
3
3
  export declare const Avatar: typeof AntAvatar;
@@ -1,2 +1,2 @@
1
- import { Avatar as AntAvatar } from 'antd';
1
+ import { Avatar as AntAvatar } from '@phoss/antd';
2
2
  export var Avatar = AntAvatar;
@@ -1,8 +1,8 @@
1
- import { BadgeProps } from 'antd';
1
+ import { BadgeProps } from '@phoss/antd';
2
2
  import React from 'react';
3
- import Ribbon from 'antd/es/badge/Ribbon';
3
+ import Ribbon from '@phoss/antd/es/badge/Ribbon';
4
4
  import './index.scss';
5
- export type { ScrollNumberProps } from 'antd/es/badge';
5
+ export type { ScrollNumberProps } from '@phoss/antd/es/badge';
6
6
  export type { BadgeProps };
7
7
  type BadgeType = typeof BadgeComponent & {
8
8
  Ribbon: typeof Ribbon;
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["className"];
4
- import { Badge as AntBadge } from 'antd';
4
+ import { Badge as AntBadge } from '@phoss/antd';
5
5
  import React, { forwardRef } from 'react';
6
- import Ribbon from 'antd/es/badge/Ribbon';
6
+ import Ribbon from '@phoss/antd/es/badge/Ribbon';
7
7
  import { useBem } from "../hooks/useBem";
8
8
  import "./index.scss";
9
9
  export var BadgeComponent = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -1,5 +1,5 @@
1
- .yot-badge {
2
- .ant-scroll-number.ant-badge-count {
3
- background-color: var(--ant-color-error);
4
- }
5
- }
1
+ .yot-badge {
2
+ .ant-scroll-number.ant-badge-count {
3
+ background-color: var(--ant-color-error);
4
+ }
5
+ }
@@ -1,5 +1,5 @@
1
- import type { BreadcrumbProps as AntBreadcrumbProps } from 'antd';
2
- import { Breadcrumb as AntBreadcrumb } from 'antd';
1
+ import type { BreadcrumbProps as AntBreadcrumbProps } from '@phoss/antd';
2
+ import { Breadcrumb as AntBreadcrumb } from '@phoss/antd';
3
3
  import React from 'react';
4
4
  export type BreadcrumbProps = AntBreadcrumbProps;
5
5
  type AntBreadcrumbType = typeof AntBreadcrumb;
@@ -1,5 +1,5 @@
1
1
  import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
2
- import { Breadcrumb as AntBreadcrumb } from 'antd';
2
+ import { Breadcrumb as AntBreadcrumb } from '@phoss/antd';
3
3
  import React from 'react';
4
4
  var BreadcrumbComponent = function BreadcrumbComponent(_ref) {
5
5
  var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
@@ -1,21 +1,21 @@
1
- export interface PageData<T> {
2
- content: T[];
3
- page: {
4
- number: number;
5
- size: number;
6
- totalElements: number;
7
- totalPages: number;
8
- };
9
- }
10
- // 查询位置接口返回的数据类型
11
- export interface IareaItem {
12
- areaId: number;
13
- areaLevel: number;
14
- areaName: string;
15
- areaType: number;
16
- }
17
- export interface IBuildingsProps {
18
- showSearch?: boolean;
19
- areaType?: number;
20
- areaSubType?: number;
21
- }
1
+ export interface PageData<T> {
2
+ content: T[];
3
+ page: {
4
+ number: number;
5
+ size: number;
6
+ totalElements: number;
7
+ totalPages: number;
8
+ };
9
+ }
10
+ // 查询位置接口返回的数据类型
11
+ export interface IareaItem {
12
+ areaId: number;
13
+ areaLevel: number;
14
+ areaName: string;
15
+ areaType: number;
16
+ }
17
+ export interface IBuildingsProps {
18
+ showSearch?: boolean;
19
+ areaType?: number;
20
+ areaSubType?: number;
21
+ }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TreeRefProps } from "../..";
3
- declare const DeptTree: React.ForwardRefExoticComponent<import("antd").TreeProps<import("antd").TreeDataNode> & {
3
+ declare const DeptTree: React.ForwardRefExoticComponent<import("@phoss/antd").TreeProps<import("@phoss/antd").TreeDataNode> & {
4
4
  showChildNumbers?: boolean | undefined;
5
5
  placeholder?: string | undefined;
6
6
  showSearch?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TreeRefProps } from "../..";
3
- declare const SpaceTree: React.ForwardRefExoticComponent<import("antd").TreeProps<import("antd").TreeDataNode> & {
3
+ declare const SpaceTree: React.ForwardRefExoticComponent<import("@phoss/antd").TreeProps<import("@phoss/antd").TreeDataNode> & {
4
4
  showChildNumbers?: boolean | undefined;
5
5
  placeholder?: string | undefined;
6
6
  showSearch?: boolean | undefined;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export interface TreeRefProps {
3
3
  refetchData: () => void;
4
4
  }
5
- export declare const BusinessTree: React.ForwardRefExoticComponent<import("antd").TreeProps<import("antd").TreeDataNode> & {
5
+ export declare const BusinessTree: React.ForwardRefExoticComponent<import("@phoss/antd").TreeProps<import("@phoss/antd").TreeDataNode> & {
6
6
  showChildNumbers?: boolean | undefined;
7
7
  placeholder?: string | undefined;
8
8
  showSearch?: boolean | undefined;
@@ -1,5 +1,5 @@
1
- import type { ButtonProps as AntButtonProps } from 'antd';
2
- import { Button as AntButton } from 'antd';
1
+ import type { ButtonProps as AntButtonProps } from '@phoss/antd';
2
+ import { Button as AntButton } from '@phoss/antd';
3
3
  import React from 'react';
4
4
  import './index.scss';
5
5
  type AntButtonType = typeof AntButton;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["variant", "className", "type"];
4
- import { Button as AntButton } from 'antd';
4
+ import { Button as AntButton } from '@phoss/antd';
5
5
  import React from 'react';
6
6
  import { useBem } from "../hooks/useBem";
7
7
  import "./index.scss";
@@ -1,31 +1,31 @@
1
- .yot-button {
2
- &--small {
3
- height: 26px;
4
- padding-left: 16px;
5
- padding-right: 16px;
6
- border-radius: 4px;
7
- font-size: 14px;
8
- }
9
-
10
- &--middle {
11
- height: 32px;
12
- padding-left: 16px;
13
- padding-right: 16px;
14
- border-radius: 4px;
15
- font-size: 14px;
16
- }
17
-
18
- &--large {
19
- height: 40px;
20
- padding-left: 32px;
21
- padding-right: 32px;
22
- border-radius: 8px;
23
- font-size: 16px;
24
- }
25
-
26
- &__link{
27
- padding: 0 !important;
28
- border: 0 !important;
29
- }
30
-
1
+ .yot-button {
2
+ &--small {
3
+ height: 26px;
4
+ padding-left: 16px;
5
+ padding-right: 16px;
6
+ border-radius: 4px;
7
+ font-size: 14px;
8
+ }
9
+
10
+ &--middle {
11
+ height: 32px;
12
+ padding-left: 16px;
13
+ padding-right: 16px;
14
+ border-radius: 4px;
15
+ font-size: 14px;
16
+ }
17
+
18
+ &--large {
19
+ height: 40px;
20
+ padding-left: 32px;
21
+ padding-right: 32px;
22
+ border-radius: 8px;
23
+ font-size: 16px;
24
+ }
25
+
26
+ &__link{
27
+ padding: 0 !important;
28
+ border: 0 !important;
29
+ }
30
+
31
31
  }
@@ -1,3 +1,3 @@
1
- import { Calendar as AntCalender } from 'antd';
2
- export type { CalendarProps, CalendarType } from 'antd/es/calendar';
1
+ import { Calendar as AntCalender } from '@phoss/antd';
2
+ export type { CalendarProps, CalendarType } from '@phoss/antd/es/calendar';
3
3
  export declare const Calendar: typeof AntCalender;
@@ -1,2 +1,2 @@
1
- import { Calendar as AntCalender } from 'antd';
1
+ import { Calendar as AntCalender } from '@phoss/antd';
2
2
  export var Calendar = AntCalender;
@@ -1,3 +1,3 @@
1
- import { Card as AntCard } from 'antd';
2
- export type { CardGridProps, CardInterface, CardMetaProps, CardProps, CardTabListType, } from 'antd/es/card';
1
+ import { Card as AntCard } from '@phoss/antd';
2
+ export type { CardGridProps, CardInterface, CardMetaProps, CardProps, CardTabListType, } from '@phoss/antd/es/card';
3
3
  export declare const Card: typeof AntCard;
@@ -1,2 +1,2 @@
1
- import { Card as AntCard } from 'antd';
1
+ import { Card as AntCard } from '@phoss/antd';
2
2
  export var Card = AntCard;
@@ -1,3 +1,3 @@
1
- import { Carousel as AntCarousel } from 'antd';
2
- export type { CarouselEffect, CarouselProps, CarouselRef, DotPosition, } from 'antd/es/carousel';
1
+ import { Carousel as AntCarousel } from '@phoss/antd';
2
+ export type { CarouselEffect, CarouselProps, CarouselRef, DotPosition, } from '@phoss/antd/es/carousel';
3
3
  export declare const Carousel: typeof AntCarousel;
@@ -1,2 +1,2 @@
1
- import { Carousel as AntCarousel } from 'antd';
1
+ import { Carousel as AntCarousel } from '@phoss/antd';
2
2
  export var Carousel = AntCarousel;
@@ -1,6 +1,6 @@
1
- import type { CascaderProps as AntCascaderProps } from 'antd';
2
- import { Cascader as AntCascader } from 'antd';
3
- import { CascaderRef, DefaultOptionType } from 'antd/es/cascader';
1
+ import type { CascaderProps as AntCascaderProps } from '@phoss/antd';
2
+ import { Cascader as AntCascader } from '@phoss/antd';
3
+ import { CascaderRef, DefaultOptionType } from '@phoss/antd/es/cascader';
4
4
  import React from 'react';
5
5
  import './index.scss';
6
6
  export type CascaderProps<OptionType extends DefaultOptionType = DefaultOptionType, ValueField extends keyof OptionType = keyof OptionType, Multiple extends boolean = boolean> = AntCascaderProps<OptionType, ValueField, Multiple>;
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["popupClassName"];
4
- import { Cascader as AntCascader } from 'antd';
4
+ import { Cascader as AntCascader } from '@phoss/antd';
5
5
  import React, { forwardRef } from 'react';
6
6
  import { useBem } from "../hooks/useBem";
7
7
  import "./index.scss";
@@ -1,5 +1,5 @@
1
- .yot-cascader {
2
- .ant-cascader-menu-item[aria-checked='true'] {
3
- background-color: var(--ant-color-primary-bg);
4
- }
5
- }
1
+ .yot-cascader {
2
+ .ant-cascader-menu-item[aria-checked='true'] {
3
+ background-color: var(--ant-color-primary-bg);
4
+ }
5
+ }
@@ -1,6 +1,6 @@
1
- import type { CheckboxProps as AntCheckboxProps } from 'antd';
2
- import { Checkbox as AntCheckBox } from 'antd';
3
- import { CheckboxRef } from 'antd/es/checkbox';
1
+ import type { CheckboxProps as AntCheckboxProps } from '@phoss/antd';
2
+ import { Checkbox as AntCheckBox } from '@phoss/antd';
3
+ import { CheckboxRef } from '@phoss/antd/es/checkbox';
4
4
  import React from 'react';
5
5
  export type CheckboxProps = AntCheckboxProps;
6
6
  type AntCheckBoxType = typeof AntCheckBox;
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectDestructuringEmpty from "@babel/runtime/helpers/esm/objectDestructuringEmpty";
3
- import { Checkbox as AntCheckBox } from 'antd';
3
+ import { Checkbox as AntCheckBox } from '@phoss/antd';
4
4
  import React, { forwardRef } from 'react';
5
5
  export var CheckboxComponent = /*#__PURE__*/forwardRef(function (_ref, ref) {
6
6
  var rest = Object.assign({}, (_objectDestructuringEmpty(_ref), _ref));
@@ -1,3 +1,3 @@
1
- import { Collapse as AntCollapse } from 'antd';
2
- export type { CollapsePanelProps, CollapseProps } from 'antd/es/collapse';
1
+ import { Collapse as AntCollapse } from '@phoss/antd';
2
+ export type { CollapsePanelProps, CollapseProps } from '@phoss/antd/es/collapse';
3
3
  export declare const Collapse: typeof AntCollapse;
@@ -1,2 +1,2 @@
1
- import { Collapse as AntCollapse } from 'antd';
1
+ import { Collapse as AntCollapse } from '@phoss/antd';
2
2
  export var Collapse = AntCollapse;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import type { ColorPickerProps as AntColorPickerProps } from 'antd';
2
+ import type { ColorPickerProps as AntColorPickerProps } from '@phoss/antd';
3
3
  export type ColorPickerProps = AntColorPickerProps;
4
4
  export declare const ColorPicker: import("react").FC<AntColorPickerProps> & {
5
- _InternalPanelDoNotUseOrYouWillBeFired: (props: import("antd/es/_util/type").AnyObject) => import("react").JSX.Element;
5
+ _InternalPanelDoNotUseOrYouWillBeFired: (props: import("@phoss/antd/es/_util/type").AnyObject) => import("react").JSX.Element;
6
6
  };
@@ -1,2 +1,2 @@
1
- import { ColorPicker as AntColorPicker } from 'antd';
1
+ import { ColorPicker as AntColorPicker } from '@phoss/antd';
2
2
  export var ColorPicker = AntColorPicker;
@@ -1,5 +1,5 @@
1
- import type { ConfigProviderProps as AntConfigProviderProps } from 'antd';
2
- import { ConfigProvider as AntConfigProvider } from 'antd';
1
+ import type { ConfigProviderProps as AntConfigProviderProps } from '@phoss/antd';
2
+ import { ConfigProvider as AntConfigProvider } from '@phoss/antd';
3
3
  import { AxiosInstance } from 'axios';
4
4
  import { FC } from 'react';
5
5
  import 'dayjs/locale/zh-cn';
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  var _excluded = ["request", "baseURL", "assetsURL", "ossURL"];
4
- import { ConfigProvider as AntConfigProvider } from 'antd';
5
- import zhCN from 'antd/locale/zh_CN';
4
+ import { ConfigProvider as AntConfigProvider } from '@phoss/antd';
5
+ import zhCN from '@phoss/antd/locale/zh_CN';
6
6
  import React, { useEffect } from 'react';
7
7
  import { ConfigContext } from "./context";
8
8
  import 'dayjs/locale/zh-cn';
@@ -1,18 +1,18 @@
1
- export interface PageData<T> {
2
- content: T[];
3
- page: {
4
- number: number;
5
- size: number;
6
- totalElements: number;
7
- totalPages: number;
8
- };
9
- }
10
- // 查询课程返回的数据类型
11
- export interface ICourseItem {
12
- courseDefId: number;
13
- courseName: string;
14
- courseNo: string;
15
- }
16
- export interface ICourseProps {
17
- showSearch?: boolean;
18
- }
1
+ export interface PageData<T> {
2
+ content: T[];
3
+ page: {
4
+ number: number;
5
+ size: number;
6
+ totalElements: number;
7
+ totalPages: number;
8
+ };
9
+ }
10
+ // 查询课程返回的数据类型
11
+ export interface ICourseItem {
12
+ courseDefId: number;
13
+ courseName: string;
14
+ courseNo: string;
15
+ }
16
+ export interface ICourseProps {
17
+ showSearch?: boolean;
18
+ }
@@ -1,4 +1,4 @@
1
- import { DatePickerProps as AntdDatePickerProps } from 'antd/es/date-picker';
1
+ import { DatePickerProps as AntdDatePickerProps } from '@phoss/antd/es/date-picker';
2
2
  import dayjs from 'dayjs';
3
3
  import { FC } from 'react';
4
4
  type PickerType = 'time' | 'date' | 'week' | 'month' | 'quarter' | 'year';
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  var _excluded = ["defaultType", "options", "onChange", "value"];
5
- import { DatePicker as AntdDatePicker, Select } from 'antd';
5
+ import { DatePicker as AntdDatePicker, Select } from '@phoss/antd';
6
6
  import React, { useEffect, useMemo, useState } from 'react';
7
7
  var defaultOptions = [{
8
8
  label: '时间',
@@ -1,3 +1,3 @@
1
- import type { DatePickerProps as AntDatePickerProps } from 'antd';
1
+ import type { DatePickerProps as AntDatePickerProps } from '@phoss/antd';
2
2
  export type DatePickerProps = AntDatePickerProps;
3
- export declare const DatePicker: import("antd/es/date-picker").DatePickerType;
3
+ export declare const DatePicker: import("@phoss/antd/es/date-picker").DatePickerType;
@@ -1,2 +1,2 @@
1
- import { DatePicker as AntDatePicker } from 'antd';
1
+ import { DatePicker as AntDatePicker } from '@phoss/antd';
2
2
  export var DatePicker = AntDatePicker;
@@ -1,4 +1,4 @@
1
- import { RangePickerProps } from 'antd/es/date-picker';
1
+ import { RangePickerProps } from '@phoss/antd/es/date-picker';
2
2
  import dayjs from 'dayjs';
3
3
  import { FC } from 'react';
4
4
  type PickerType = 'time' | 'date' | 'week' | 'month' | 'quarter' | 'year';
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
4
4
  var _excluded = ["defaultType", "options", "value", "onChange"];
5
- import { DatePicker, Select, TimePicker } from 'antd';
5
+ import { DatePicker, Select, TimePicker } from '@phoss/antd';
6
6
  import React, { useEffect, useMemo, useState } from 'react';
7
7
  var defaultOptions = [{
8
8
  label: '时间',