@oceanbase/ui 1.0.0-alpha.1 → 1.0.0-alpha.3

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 (85) hide show
  1. package/dist/ui.min.css +1 -1
  2. package/dist/ui.min.js +1 -1
  3. package/es/Action/style/index.d.ts +2 -2
  4. package/es/DateRanger/Ranger.d.ts +4 -0
  5. package/es/DateRanger/Ranger.js +158 -14
  6. package/es/DateRanger/constant/index.js +1 -1
  7. package/es/DateRanger/index.less +23 -0
  8. package/es/FooterToolbar/style/index.d.ts +0 -2
  9. package/es/FooterToolbar/style/index.js +0 -12
  10. package/es/PageContainer/index.js +14 -4
  11. package/es/PageContainer/style/index.js +5 -7
  12. package/es/ProCard/index.js +11 -3
  13. package/es/ProCard/style/index.d.ts +2 -2
  14. package/es/ProCard/style/index.js +6 -3
  15. package/es/ProTable/index.d.ts +1 -1
  16. package/es/ProTable/index.js +11 -5
  17. package/es/ProTable/style/index.d.ts +2 -2
  18. package/es/ProTable/style/index.js +6 -3
  19. package/lib/Action/Group.js +57 -46
  20. package/lib/Action/Item.js +14 -9
  21. package/lib/Action/style/index.d.ts +2 -2
  22. package/lib/BackgroundTaskManager/RefreshMan.js +3 -12
  23. package/lib/BackgroundTaskManager/index.js +3 -12
  24. package/lib/BasicLayout/Header.js +120 -62
  25. package/lib/BasicLayout/index.js +166 -143
  26. package/lib/BatchOperationBar/index.js +59 -44
  27. package/lib/Boundary/Components/Code.js +11 -5
  28. package/lib/Boundary/Components/Exception.js +33 -23
  29. package/lib/Boundary/Components/Function.js +11 -5
  30. package/lib/ContentWithIcon/index.js +30 -22
  31. package/lib/ContentWithQuestion/index.js +8 -3
  32. package/lib/DateRanger/PickerPanel.js +235 -217
  33. package/lib/DateRanger/Ranger.d.ts +4 -0
  34. package/lib/DateRanger/Ranger.js +396 -227
  35. package/lib/DateRanger/constant/index.js +1 -1
  36. package/lib/DateRanger/index.less +23 -0
  37. package/lib/Dialog/Anchor.js +8 -5
  38. package/lib/Dialog/EventProxy.js +3 -12
  39. package/lib/Dialog/index.js +132 -108
  40. package/lib/DocDialog/index.js +3 -2
  41. package/lib/FooterToolbar/index.js +3 -2
  42. package/lib/FooterToolbar/style/index.d.ts +0 -2
  43. package/lib/FooterToolbar/style/index.js +0 -17
  44. package/lib/FullscreenBox/index.js +16 -7
  45. package/lib/GraphToolbar/index.js +70 -58
  46. package/lib/Highlight/DiffView/DiffCells.js +17 -10
  47. package/lib/Highlight/DiffView/index.js +35 -31
  48. package/lib/Highlight/HighlightCell.js +13 -10
  49. package/lib/Highlight/JsonView.js +15 -14
  50. package/lib/Highlight/index.js +50 -45
  51. package/lib/IconFont/index.js +2 -12
  52. package/lib/LightFilter/index.js +3 -2
  53. package/lib/LocaleDropdown/index.js +13 -20
  54. package/lib/Login/ActivateForm.js +53 -60
  55. package/lib/Login/LoginForm.js +118 -109
  56. package/lib/Login/RegisterForm.js +79 -86
  57. package/lib/Login/index.js +92 -64
  58. package/lib/NavMenu/index.js +9 -8
  59. package/lib/PageContainer/ItemRender.js +5 -5
  60. package/lib/PageContainer/index.js +17 -6
  61. package/lib/PageContainer/style/index.js +5 -6
  62. package/lib/PageLoading/index.js +6 -16
  63. package/lib/Password/Content.js +38 -42
  64. package/lib/Password/index.js +83 -68
  65. package/lib/ProCard/index.js +6 -3
  66. package/lib/ProCard/style/index.d.ts +2 -2
  67. package/lib/ProCard/style/index.js +6 -2
  68. package/lib/ProTable/index.d.ts +1 -1
  69. package/lib/ProTable/index.js +19 -8
  70. package/lib/ProTable/style/index.d.ts +2 -2
  71. package/lib/ProTable/style/index.js +7 -1
  72. package/lib/Ranger/QuickPicker.js +24 -15
  73. package/lib/Ranger/Ranger.js +37 -34
  74. package/lib/SideTip/Dragger.js +5 -4
  75. package/lib/SideTip/IconLoading.js +25 -25
  76. package/lib/SideTip/index.js +19 -10
  77. package/lib/TagSelect/Group.js +9 -5
  78. package/lib/TagSelect/Item.js +22 -18
  79. package/lib/TaskGraph/Graph.js +29 -24
  80. package/lib/TaskGraph/index.js +56 -50
  81. package/lib/TreeSearch/index.js +30 -35
  82. package/lib/Welcome/index.js +64 -37
  83. package/lib/Welcome/step.js +11 -4
  84. package/lib/locale/LocaleWrapper.js +15 -14
  85. package/package.json +4 -4
@@ -8,6 +8,7 @@ import type { Rule } from './PickerPanel';
8
8
  import './index.less';
9
9
  export type RangeName = 'customize' | string;
10
10
  export type RangeValue = [Moment, Moment] | [Dayjs, Dayjs] | [] | null;
11
+ export type RangeValueFormat = [string, string] | [] | null;
11
12
  export type RangeDateValue = {
12
13
  name: RangeName;
13
14
  range: RangeValue;
@@ -20,6 +21,9 @@ export interface DateRangerProps extends Omit<RangePickerProps, 'mode' | 'picker
20
21
  hasSync?: boolean;
21
22
  hasForward?: boolean;
22
23
  hasZoomOut?: boolean;
24
+ history?: boolean | {
25
+ capacity: number;
26
+ };
23
27
  hasTagInPicker?: boolean;
24
28
  tip?: string;
25
29
  rules?: Rule[];