@lobehub/ui 5.59.0 → 5.61.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 (164) hide show
  1. package/es/ActionIcon/style.mjs +8 -2
  2. package/es/ActionIcon/style.mjs.map +1 -1
  3. package/es/EmojiPicker/AvatarUploader.mjs +1 -1
  4. package/es/Form/components/FormSubmitFooter.mjs +1 -1
  5. package/es/awesome/Grainient/Grainient.d.mts +11 -0
  6. package/es/awesome/Grainient/Grainient.mjs +311 -0
  7. package/es/awesome/Grainient/Grainient.mjs.map +1 -0
  8. package/es/awesome/Grainient/index.d.mts +3 -0
  9. package/es/awesome/Grainient/style.mjs +25 -0
  10. package/es/awesome/Grainient/style.mjs.map +1 -0
  11. package/es/awesome/Grainient/type.d.mts +122 -0
  12. package/es/awesome/index.d.mts +4 -1
  13. package/es/awesome/index.mjs +2 -1
  14. package/es/base-ui/ActionIcon/style.mjs +8 -2
  15. package/es/base-ui/ActionIcon/style.mjs.map +1 -1
  16. package/es/base-ui/Input/style.d.mts +1 -1
  17. package/es/base-ui/Pagination/Pagination.mjs +158 -41
  18. package/es/base-ui/Pagination/Pagination.mjs.map +1 -1
  19. package/es/base-ui/Pagination/helpers.mjs +3 -3
  20. package/es/base-ui/Pagination/helpers.mjs.map +1 -1
  21. package/es/base-ui/Pagination/index.d.mts +2 -2
  22. package/es/base-ui/Pagination/style.mjs +39 -0
  23. package/es/base-ui/Pagination/style.mjs.map +1 -1
  24. package/es/base-ui/Pagination/type.d.mts +42 -4
  25. package/es/base-ui/QRCode/QRCode.mjs +1 -1
  26. package/es/base-ui/Table/Column.d.mts +9 -0
  27. package/es/base-ui/Table/Column.mjs +7 -0
  28. package/es/base-ui/Table/Column.mjs.map +1 -0
  29. package/es/base-ui/Table/ColumnGroup.d.mts +12 -0
  30. package/es/base-ui/Table/ColumnGroup.mjs +7 -0
  31. package/es/base-ui/Table/ColumnGroup.mjs.map +1 -0
  32. package/es/base-ui/Table/ExpandIcon.mjs +33 -0
  33. package/es/base-ui/Table/ExpandIcon.mjs.map +1 -0
  34. package/es/base-ui/Table/FilterDropdown.mjs +284 -0
  35. package/es/base-ui/Table/FilterDropdown.mjs.map +1 -0
  36. package/es/base-ui/Table/LoadingSkeleton.mjs +83 -0
  37. package/es/base-ui/Table/LoadingSkeleton.mjs.map +1 -0
  38. package/es/base-ui/Table/Table.d.mts +21 -3
  39. package/es/base-ui/Table/Table.mjs +444 -97
  40. package/es/base-ui/Table/Table.mjs.map +1 -1
  41. package/es/base-ui/Table/columnUtils.mjs +56 -0
  42. package/es/base-ui/Table/columnUtils.mjs.map +1 -0
  43. package/es/base-ui/Table/index.d.mts +4 -2
  44. package/es/base-ui/Table/selectionUtils.d.mts +9 -0
  45. package/es/base-ui/Table/selectionUtils.mjs +128 -0
  46. package/es/base-ui/Table/selectionUtils.mjs.map +1 -0
  47. package/es/base-ui/Table/semantic.mjs +55 -0
  48. package/es/base-ui/Table/semantic.mjs.map +1 -0
  49. package/es/base-ui/Table/style.mjs +801 -161
  50. package/es/base-ui/Table/style.mjs.map +1 -1
  51. package/es/base-ui/Table/type.d.mts +471 -37
  52. package/es/base-ui/Table/useBreakpoint.mjs +41 -0
  53. package/es/base-ui/Table/useBreakpoint.mjs.map +1 -0
  54. package/es/base-ui/Table/useFilter.mjs +64 -0
  55. package/es/base-ui/Table/useFilter.mjs.map +1 -0
  56. package/es/base-ui/Table/useSelection.mjs +421 -0
  57. package/es/base-ui/Table/useSelection.mjs.map +1 -0
  58. package/es/base-ui/Table/useSorter.mjs +152 -0
  59. package/es/base-ui/Table/useSorter.mjs.map +1 -0
  60. package/es/base-ui/Table/useTableState.mjs +82 -55
  61. package/es/base-ui/Table/useTableState.mjs.map +1 -1
  62. package/es/base-ui/index.d.mts +6 -4
  63. package/es/base-ui/index.mjs +9 -9
  64. package/es/chat/EditableMessageList/EditableMessageList.mjs +1 -1
  65. package/es/chat/MessageInput/MessageInput.mjs +1 -1
  66. package/es/chat/MessageModal/MessageModal.mjs +1 -1
  67. package/es/chat/TokenTag/TokenTag.mjs +1 -1
  68. package/es/dashboard/AuthLayout/Aside.d.mts +10 -0
  69. package/es/dashboard/AuthLayout/Aside.mjs +30 -0
  70. package/es/dashboard/AuthLayout/Aside.mjs.map +1 -0
  71. package/es/dashboard/AuthLayout/AuthLayout.d.mts +3 -1
  72. package/es/dashboard/AuthLayout/AuthLayout.mjs +93 -37
  73. package/es/dashboard/AuthLayout/AuthLayout.mjs.map +1 -1
  74. package/es/dashboard/AuthLayout/index.d.mts +3 -2
  75. package/es/dashboard/AuthLayout/style.mjs +120 -1
  76. package/es/dashboard/AuthLayout/style.mjs.map +1 -1
  77. package/es/dashboard/AuthLayout/type.d.mts +39 -3
  78. package/es/dashboard/AuthTools/AuthLocaleSwitch.d.mts +10 -0
  79. package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs +32 -0
  80. package/es/dashboard/AuthTools/AuthLocaleSwitch.mjs.map +1 -0
  81. package/es/dashboard/AuthTools/AuthThemeSwitch.d.mts +10 -0
  82. package/es/dashboard/AuthTools/AuthThemeSwitch.mjs +59 -0
  83. package/es/dashboard/AuthTools/AuthThemeSwitch.mjs.map +1 -0
  84. package/es/dashboard/AuthTools/index.d.mts +4 -0
  85. package/es/dashboard/AuthTools/style.mjs +63 -0
  86. package/es/dashboard/AuthTools/style.mjs.map +1 -0
  87. package/es/dashboard/AuthTools/type.d.mts +30 -0
  88. package/es/dashboard/ConsoleNav/Skeleton.d.mts +15 -0
  89. package/es/dashboard/ConsoleNav/Skeleton.mjs +81 -0
  90. package/es/dashboard/ConsoleNav/Skeleton.mjs.map +1 -0
  91. package/es/dashboard/ConsoleNav/index.d.mts +3 -2
  92. package/es/dashboard/ConsoleNav/style.mjs +15 -0
  93. package/es/dashboard/ConsoleNav/style.mjs.map +1 -1
  94. package/es/dashboard/ConsoleNav/type.d.mts +14 -1
  95. package/es/dashboard/ConsoleShell/ConsoleShell.d.mts +1 -1
  96. package/es/dashboard/ConsoleShell/ConsoleShell.mjs +11 -3
  97. package/es/dashboard/ConsoleShell/ConsoleShell.mjs.map +1 -1
  98. package/es/dashboard/ConsoleShell/style.mjs +6 -0
  99. package/es/dashboard/ConsoleShell/style.mjs.map +1 -1
  100. package/es/dashboard/ConsoleShell/type.d.mts +9 -0
  101. package/es/dashboard/FilterSidebar/FilterSidebar.mjs +18 -17
  102. package/es/dashboard/FilterSidebar/FilterSidebar.mjs.map +1 -1
  103. package/es/dashboard/FilterStrip/FilterStrip.mjs +36 -32
  104. package/es/dashboard/FilterStrip/FilterStrip.mjs.map +1 -1
  105. package/es/dashboard/FilterStrip/style.mjs +2 -1
  106. package/es/dashboard/FilterStrip/style.mjs.map +1 -1
  107. package/es/dashboard/MetricStrip/MetricCell.mjs +81 -0
  108. package/es/dashboard/MetricStrip/MetricCell.mjs.map +1 -0
  109. package/es/dashboard/MetricStrip/MetricStrip.d.mts +5 -2
  110. package/es/dashboard/MetricStrip/MetricStrip.mjs +33 -62
  111. package/es/dashboard/MetricStrip/MetricStrip.mjs.map +1 -1
  112. package/es/dashboard/MetricStrip/style.mjs +49 -4
  113. package/es/dashboard/MetricStrip/style.mjs.map +1 -1
  114. package/es/dashboard/MetricStrip/type.d.mts +12 -0
  115. package/es/dashboard/PageSkeleton/PageSkeleton.mjs +20 -18
  116. package/es/dashboard/PageSkeleton/PageSkeleton.mjs.map +1 -1
  117. package/es/dashboard/PageSkeleton/style.mjs +1 -1
  118. package/es/dashboard/PageSkeleton/style.mjs.map +1 -1
  119. package/es/dashboard/PanelSurface/PanelSurface.mjs +4 -1
  120. package/es/dashboard/PanelSurface/PanelSurface.mjs.map +1 -1
  121. package/es/dashboard/StatCard/StatCard.d.mts +2 -1
  122. package/es/dashboard/StatCard/StatCard.mjs +24 -72
  123. package/es/dashboard/StatCard/StatCard.mjs.map +1 -1
  124. package/es/dashboard/StatCard/type.d.mts +16 -5
  125. package/es/dashboard/Surface/Surface.mjs +26 -10
  126. package/es/dashboard/Surface/Surface.mjs.map +1 -1
  127. package/es/dashboard/Surface/index.d.mts +2 -2
  128. package/es/dashboard/Surface/link.d.mts +6 -1
  129. package/es/dashboard/Surface/link.mjs +12 -1
  130. package/es/dashboard/Surface/link.mjs.map +1 -1
  131. package/es/dashboard/Surface/style.d.mts +22 -3
  132. package/es/dashboard/Surface/style.mjs +95 -26
  133. package/es/dashboard/Surface/style.mjs.map +1 -1
  134. package/es/dashboard/index.d.mts +10 -4
  135. package/es/dashboard/index.mjs +7 -3
  136. package/es/i18n/resources/en/index.d.mts +3 -2
  137. package/es/i18n/resources/en/index.mjs +4 -2
  138. package/es/i18n/resources/en/index.mjs.map +1 -1
  139. package/es/i18n/resources/en/table.d.mts +23 -0
  140. package/es/i18n/resources/en/table.mjs +24 -0
  141. package/es/i18n/resources/en/table.mjs.map +1 -0
  142. package/es/i18n/resources/zhCn/index.d.mts +3 -2
  143. package/es/i18n/resources/zhCn/index.mjs +4 -2
  144. package/es/i18n/resources/zhCn/index.mjs.map +1 -1
  145. package/es/i18n/resources/zhCn/table.d.mts +23 -0
  146. package/es/i18n/resources/zhCn/table.mjs +24 -0
  147. package/es/i18n/resources/zhCn/table.mjs.map +1 -0
  148. package/es/i18n/types.d.mts +2 -1
  149. package/es/index.mjs +2 -2
  150. package/package.json +2 -2
  151. package/es/base-ui/Table/FilterMenu.mjs +0 -45
  152. package/es/base-ui/Table/FilterMenu.mjs.map +0 -1
  153. package/es/base-ui/Table/TableBody.mjs +0 -59
  154. package/es/base-ui/Table/TableBody.mjs.map +0 -1
  155. package/es/base-ui/Table/TableHead.mjs +0 -50
  156. package/es/base-ui/Table/TableHead.mjs.map +0 -1
  157. package/es/base-ui/Table/features.mjs +0 -12
  158. package/es/base-ui/Table/features.mjs.map +0 -1
  159. package/es/base-ui/Table/fixedOffsets.mjs +0 -29
  160. package/es/base-ui/Table/fixedOffsets.mjs.map +0 -1
  161. package/es/base-ui/Table/toColumnDefs.mjs +0 -26
  162. package/es/base-ui/Table/toColumnDefs.mjs.map +0 -1
  163. package/es/dashboard/StatCard/style.mjs +0 -135
  164. package/es/dashboard/StatCard/style.mjs.map +0 -1
@@ -3,18 +3,55 @@ import { createStaticStyles } from "antd-style";
3
3
  /**
4
4
  * A content card sitting on the workspace.
5
5
  *
6
- * Outlined `Block` uses `colorBorderSecondary` on `colorBgContainer`.
7
- * The workspace is already that container, so a card inside it steps up to
8
- * `colorBgElevated` and `colorBorder`.
6
+ * Backgrounds: light mode uses `colorBgContainer`. Dark mode uses the translucent
7
+ * `colorFillTertiary` (white 6%): on the #0d0d0d workspace it reads as about #1c1c1c, a subtle
8
+ * raised step. `colorFillQuaternary` (white 2%, about #111) would barely separate from the page.
9
+ *
10
+ * Borders and inner dividers (table, header and cell lines, PageSkeleton) use `colorFillSecondary`
11
+ * (white 10% / black 6%); hover and focus use the stronger `colorFill`. Painted over the dark card
12
+ * the border lands near #2f2f2f against #1c1c1c, and in light near #f0f0f0 against #ffffff.
13
+ *
14
+ * Anything that must hide content scrolled beneath it (table header cells, pinned and sticky
15
+ * cells, their scroll shadows) uses `--lobe-surface-bg-solid`: the same white 6% blended onto
16
+ * `--lobe-surface-canvas` (default `colorBgContainer`, the ConsoleShell workspace). `color-mix`
17
+ * in srgb with an opaque base is plain alpha compositing, so it matches the translucent card.
18
+ * Set `--lobe-surface-canvas` when a card sits on another page color.
19
+ *
20
+ * A Surface inside another Surface (`useSurfaceDepth() > 0`) drops its own fill so fills do not
21
+ * stack. Row hover backgrounds keep their own mix. Layout containers (ConsoleShell, ConsoleNav,
22
+ * FilterSidebar split divider, AuthLayout page canvas) keep their own tokens.
23
+ *
24
+ * Apply the card with `useSurfaceCardClassName()`; plain `surfaceStyles.card` is the light look.
9
25
  */
10
26
  const styles = createStaticStyles(({ css, cssVar }) => ({
11
27
  card: css`
28
+ --lobe-surface-bg: ${cssVar.colorBgContainer};
29
+ --lobe-surface-bg-solid: ${cssVar.colorBgContainer};
30
+
12
31
  &&,
13
32
  &&:hover {
14
- border: 1px solid ${cssVar.colorBorder};
33
+ border: 1px solid ${cssVar.colorFillSecondary};
15
34
  border-radius: ${cssVar.borderRadiusLG};
16
- background: ${cssVar.colorBgElevated};
17
- box-shadow: ${cssVar.boxShadowTertiary};
35
+ background: var(--lobe-surface-bg);
36
+ box-shadow: rgb(0 0 0 / 4%) 0 1px 2px 0;
37
+ }
38
+ `,
39
+ cardDark: css`
40
+ &&& {
41
+ --lobe-surface-bg: ${cssVar.colorFillTertiary};
42
+
43
+ /* colorFillTertiary is white 6% in dark; blend the same amount onto the page. */
44
+ --lobe-surface-bg-solid: color-mix(
45
+ in srgb,
46
+ #fff 6%,
47
+ var(--lobe-surface-canvas, ${cssVar.colorBgContainer})
48
+ );
49
+ }
50
+ `,
51
+ cardNested: css`
52
+ &&&,
53
+ &&&:hover {
54
+ background: transparent;
18
55
  }
19
56
  `,
20
57
  chart: css`
@@ -30,7 +67,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
30
67
  arrow: css`
31
68
  flex: none;
32
69
 
33
- margin-block-start: 2px;
70
+ margin-block-start: 8px;
34
71
  margin-inline-start: auto;
35
72
 
36
73
  color: ${cssVar.colorTextTertiary};
@@ -38,6 +75,16 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
38
75
  transition:
39
76
  color 150ms ease-out,
40
77
  transform 150ms ease-out;
78
+ `,
79
+ arrowLink: css`
80
+ display: flex;
81
+ flex: none;
82
+ align-items: center;
83
+ color: inherit;
84
+
85
+ & [data-surface-arrow] {
86
+ margin-block-start: 0;
87
+ }
41
88
  `,
42
89
  bleed: css`
43
90
  && th,
@@ -59,9 +106,8 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
59
106
  content: css`
60
107
  min-inline-size: 0;
61
108
 
62
- /* Table cells default to colorBgContainer, a step darker than this card.
63
- Ant Design paints that color on .ant-table itself, so the body stays dark
64
- even after the cells are cleared. */
109
+ /* Ant Design paints its own container color on .ant-table and the cells.
110
+ Clear it so the card background shows through; the card owns the fill. */
65
111
  && .ant-table,
66
112
  && th,
67
113
  && td {
@@ -70,7 +116,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
70
116
 
71
117
  && .ant-table-css-var,
72
118
  && .ant-table-wrapper {
73
- --ant-table-border-color: color-mix(in srgb, ${cssVar.colorText} 10%, transparent);
119
+ --ant-table-border-color: ${cssVar.colorFillSecondary};
74
120
  --ant-table-row-hover-bg: color-mix(
75
121
  in srgb,
76
122
  ${cssVar.colorText} 6%,
@@ -83,8 +129,8 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
83
129
  color: ${cssVar.colorTextSecondary};
84
130
  white-space: nowrap;
85
131
 
86
- background: ${cssVar.colorBgElevated};
87
- box-shadow: inset 0 -1px 0 color-mix(in srgb, ${cssVar.colorText} 10%, transparent);
132
+ background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});
133
+ box-shadow: inset 0 -1px 0 ${cssVar.colorFillSecondary};
88
134
  }
89
135
 
90
136
  /* Pinned body cells inherit the transparent body, so a scrolled cell paints
@@ -93,14 +139,18 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
93
139
  as a lighter strip in dark mode. */
94
140
  && td.ant-table-cell-fix-start,
95
141
  && td.ant-table-cell-fix-end {
96
- background: color-mix(in srgb, ${cssVar.colorBgElevated} 82%, transparent);
142
+ background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});
97
143
  backdrop-filter: blur(12px);
98
144
  }
99
145
 
100
146
  && td.ant-table-cell-fix-end-shadow-show::after {
101
147
  background: linear-gradient(
102
148
  to left,
103
- color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),
149
+ color-mix(
150
+ in srgb,
151
+ var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,
152
+ transparent
153
+ ),
104
154
  transparent
105
155
  );
106
156
  backdrop-filter: blur(8px);
@@ -109,7 +159,11 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
109
159
  && td.ant-table-cell-fix-start-shadow-show::after {
110
160
  background: linear-gradient(
111
161
  to right,
112
- color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),
162
+ color-mix(
163
+ in srgb,
164
+ var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,
165
+ transparent
166
+ ),
113
167
  transparent
114
168
  );
115
169
  backdrop-filter: blur(8px);
@@ -118,7 +172,11 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
118
172
  [dir='rtl'] && td.ant-table-cell-fix-end-shadow-show::after {
119
173
  background: linear-gradient(
120
174
  to right,
121
- color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),
175
+ color-mix(
176
+ in srgb,
177
+ var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,
178
+ transparent
179
+ ),
122
180
  transparent
123
181
  );
124
182
  }
@@ -126,13 +184,17 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
126
184
  [dir='rtl'] && td.ant-table-cell-fix-start-shadow-show::after {
127
185
  background: linear-gradient(
128
186
  to left,
129
- color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),
187
+ color-mix(
188
+ in srgb,
189
+ var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,
190
+ transparent
191
+ ),
130
192
  transparent
131
193
  );
132
194
  }
133
195
 
134
196
  && td {
135
- border-block-end-color: color-mix(in srgb, ${cssVar.colorText} 10%, transparent);
197
+ border-block-end-color: ${cssVar.colorFillSecondary};
136
198
  }
137
199
 
138
200
  && tr:hover > td,
@@ -143,7 +205,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
143
205
  /* base-ui Table pins with inline position:sticky, not .ant-table-cell-fix-*.
144
206
  The transparent body rule above would let scrolled text show through. */
145
207
  && td[style*='sticky'] {
146
- background: ${cssVar.colorBgElevated};
208
+ background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});
147
209
  }
148
210
 
149
211
  && tr:hover > td[style*='sticky'] {
@@ -154,7 +216,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
154
216
  cardLinked: css`
155
217
  &&:hover,
156
218
  &&:focus-within {
157
- border-color: color-mix(in srgb, ${cssVar.colorText} 28%, transparent);
219
+ border-color: ${cssVar.colorFill};
158
220
  }
159
221
 
160
222
  &&:hover [data-surface-arrow] {
@@ -163,7 +225,7 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
163
225
  }
164
226
  `,
165
227
  desc: css`
166
- margin-block-start: 2px;
228
+ margin-block-start: -4px;
167
229
 
168
230
  font-size: 13px;
169
231
  font-weight: 400;
@@ -175,16 +237,20 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
175
237
  flex: none;
176
238
  gap: 8px;
177
239
  align-items: center;
240
+
241
+ block-size: 32px;
178
242
  `,
179
243
  header: css`
180
244
  display: flex;
181
245
  gap: 12px;
182
- align-items: center;
246
+ align-items: flex-start;
183
247
  justify-content: space-between;
184
248
 
185
- padding-block: 12px;
249
+ box-sizing: border-box;
250
+ min-block-size: 48px;
251
+ padding-block: 8px;
186
252
  padding-inline: 16px;
187
- border-block-end: 1px solid ${cssVar.colorBorderSecondary};
253
+ border-block-end: 1px solid ${cssVar.colorFillSecondary};
188
254
  `,
189
255
  heading: css`
190
256
  min-inline-size: 0;
@@ -291,7 +357,10 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
291
357
 
292
358
  font-size: 14px;
293
359
  font-weight: 500;
294
- line-height: 1.4;
360
+
361
+ /* The title line is the 32px control row; extra and the arrow center on it, and a
362
+ description adds its own line below without moving them. */
363
+ line-height: 32px;
295
364
  color: ${cssVar.colorText};
296
365
  text-overflow: ellipsis;
297
366
  white-space: nowrap;
@@ -1 +1 @@
1
- {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/Surface/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\n\n/**\n * A content card sitting on the workspace.\n *\n * Outlined `Block` uses `colorBorderSecondary` on `colorBgContainer`.\n * The workspace is already that container, so a card inside it steps up to\n * `colorBgElevated` and `colorBorder`.\n */\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n card: css`\n &&,\n &&:hover {\n border: 1px solid ${cssVar.colorBorder};\n border-radius: ${cssVar.borderRadiusLG};\n background: ${cssVar.colorBgElevated};\n box-shadow: ${cssVar.boxShadowTertiary};\n }\n `,\n chart: css`\n min-inline-size: 0;\n `,\n /** Rounded corners clip a bled table, header rule, or chart. Bare cards keep overflow visible. */\n clip: css`\n overflow: hidden;\n `,\n loading: css`\n padding-block: 4px 8px;\n `,\n arrow: css`\n flex: none;\n\n margin-block-start: 2px;\n margin-inline-start: auto;\n\n color: ${cssVar.colorTextTertiary};\n\n transition:\n color 150ms ease-out,\n transform 150ms ease-out;\n `,\n bleed: css`\n && th,\n && td {\n padding-inline: 16px;\n }\n\n && th {\n white-space: nowrap;\n }\n `,\n body: css`\n --surface-pad-inline: 16px;\n --surface-pad-block: 16px;\n\n padding: 16px;\n `,\n /** Table and header rules for the rich card. Kept off `card` so the shared class stays a plain frame. */\n content: css`\n min-inline-size: 0;\n\n /* Table cells default to colorBgContainer, a step darker than this card.\n Ant Design paints that color on .ant-table itself, so the body stays dark\n even after the cells are cleared. */\n && .ant-table,\n && th,\n && td {\n background: transparent;\n }\n\n && .ant-table-css-var,\n && .ant-table-wrapper {\n --ant-table-border-color: color-mix(in srgb, ${cssVar.colorText} 10%, transparent);\n --ant-table-row-hover-bg: color-mix(\n in srgb,\n ${cssVar.colorText} 6%,\n ${cssVar.colorBgElevated}\n );\n }\n\n && th {\n font-weight: 500;\n color: ${cssVar.colorTextSecondary};\n white-space: nowrap;\n\n background: ${cssVar.colorBgElevated};\n box-shadow: inset 0 -1px 0 color-mix(in srgb, ${cssVar.colorText} 10%, transparent);\n }\n\n /* Pinned body cells inherit the transparent body, so a scrolled cell paints\n straight through them. Frost with the card color. Header pins stay the\n same solid fill as the rest of the header — a translucent header reads\n as a lighter strip in dark mode. */\n && td.ant-table-cell-fix-start,\n && td.ant-table-cell-fix-end {\n background: color-mix(in srgb, ${cssVar.colorBgElevated} 82%, transparent);\n backdrop-filter: blur(12px);\n }\n\n && td.ant-table-cell-fix-end-shadow-show::after {\n background: linear-gradient(\n to left,\n color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),\n transparent\n );\n backdrop-filter: blur(8px);\n }\n\n && td.ant-table-cell-fix-start-shadow-show::after {\n background: linear-gradient(\n to right,\n color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),\n transparent\n );\n backdrop-filter: blur(8px);\n }\n\n [dir='rtl'] && td.ant-table-cell-fix-end-shadow-show::after {\n background: linear-gradient(\n to right,\n color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),\n transparent\n );\n }\n\n [dir='rtl'] && td.ant-table-cell-fix-start-shadow-show::after {\n background: linear-gradient(\n to left,\n color-mix(in srgb, ${cssVar.colorBgElevated} 72%, transparent),\n transparent\n );\n }\n\n && td {\n border-block-end-color: color-mix(in srgb, ${cssVar.colorText} 10%, transparent);\n }\n\n && tr:hover > td,\n && .ant-table-tbody > tr.ant-table-row:hover > td {\n background: color-mix(in srgb, ${cssVar.colorText} 6%, ${cssVar.colorBgElevated});\n }\n\n /* base-ui Table pins with inline position:sticky, not .ant-table-cell-fix-*.\n The transparent body rule above would let scrolled text show through. */\n && td[style*='sticky'] {\n background: ${cssVar.colorBgElevated};\n }\n\n && tr:hover > td[style*='sticky'] {\n background: color-mix(in srgb, ${cssVar.colorText} 6%, ${cssVar.colorBgElevated});\n }\n `,\n /** Whole card answers hover when its header drills into another page. */\n cardLinked: css`\n &&:hover,\n &&:focus-within {\n border-color: color-mix(in srgb, ${cssVar.colorText} 28%, transparent);\n }\n\n &&:hover [data-surface-arrow] {\n transform: translate(1px, -1px);\n color: ${cssVar.colorText};\n }\n `,\n desc: css`\n margin-block-start: 2px;\n\n font-size: 13px;\n font-weight: 400;\n line-height: 1.45;\n color: ${cssVar.colorTextSecondary};\n `,\n extra: css`\n display: flex;\n flex: none;\n gap: 8px;\n align-items: center;\n `,\n header: css`\n display: flex;\n gap: 12px;\n align-items: center;\n justify-content: space-between;\n\n padding-block: 12px;\n padding-inline: 16px;\n border-block-end: 1px solid ${cssVar.colorBorderSecondary};\n `,\n heading: css`\n min-inline-size: 0;\n `,\n headingLink: css`\n display: flex;\n flex: 1;\n gap: 12px;\n align-items: flex-start;\n\n min-inline-size: 0;\n\n color: inherit;\n text-decoration: none;\n\n &:hover {\n color: inherit;\n }\n `,\n /**\n * A table inside padded card body meets the card's left, right, and bottom\n * edges. A table that is the only body content also meets the header.\n * Padding amounts come from `--surface-pad-*` on the same element.\n */\n tableBleed: css`\n /* A table nested in a cell keeps the cell's own inset. */\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) {\n width: calc(100% + 2 * var(--surface-pad-inline, 16px));\n margin-inline: calc(-1 * var(--surface-pad-inline, 16px));\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])):last-child {\n margin-block-end: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])):first-child:last-child {\n margin-block-start: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n /* ProTable keeps its search and toolbar in the padding. The table itself\n meets the card's left, right, and bottom edges. Lower-specificity\n selectors stay above the :has(th/td) rules for stylelint. */\n && .ant-table-css-var,\n && .ant-table-wrapper {\n --ant-table-cell-padding-inline: var(--surface-pad-inline, 16px);\n --ant-table-cell-padding-inline-md: var(--surface-pad-inline, 16px);\n --ant-table-cell-padding-inline-sm: var(--surface-pad-inline, 16px);\n --ant-table-header-border-radius: 0;\n }\n\n && .ant-table-wrapper {\n width: calc(100% + 2 * var(--surface-pad-inline, 16px));\n max-width: none;\n margin-inline: calc(-1 * var(--surface-pad-inline, 16px));\n }\n\n /* A plain table that is the card body meets the header and the bottom edge.\n Its own corner radius would otherwise float inside the card padding. */\n && > .lobe-flex:only-child > .ant-table-wrapper:only-child {\n margin-block: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && .ant-pro-table:last-child {\n margin-block-end: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && .ant-table-wrapper .ant-table,\n && .ant-table-wrapper .ant-table-container,\n && .ant-table-thead > tr > th,\n && .ant-table-thead > tr > th:first-child,\n && .ant-table-thead > tr > th:last-child {\n border-radius: 0;\n }\n\n && .ant-table-wrapper .ant-table-cell {\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n && .ant-table-wrapper .ant-pagination {\n margin-block: 0;\n padding-block: 12px;\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) th,\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) td {\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n /* The root's negative bottom margin includes this sibling. Without block\n padding the pager sits on the card edge. Same inset as the ant pagination. */\n &&\n :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper]))\n > :not([data-table-wrapper]) {\n margin-block: 0;\n padding-block: 12px;\n padding-inline: var(--surface-pad-inline, 16px);\n }\n `,\n title: css`\n overflow: hidden;\n\n min-inline-size: 0;\n\n font-size: 14px;\n font-weight: 500;\n line-height: 1.4;\n color: ${cssVar.colorText};\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n}));\n"],"mappings":";;;;;;;;;AASA,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,MAAM,GAAG;;;0BAGe,OAAO,YAAY;uBACtB,OAAO,eAAe;oBACzB,OAAO,gBAAgB;oBACvB,OAAO,kBAAkB;;;CAG3C,OAAO,GAAG;;;;CAIV,MAAM,GAAG;;;CAGT,SAAS,GAAG;;;CAGZ,OAAO,GAAG;;;;;;aAMC,OAAO,kBAAkB;;;;;;CAMpC,OAAO,GAAG;;;;;;;;;;CAUV,MAAM,GAAG;;;;;;;CAOT,SAAS,GAAG;;;;;;;;;;;;;;qDAcuC,OAAO,UAAU;;;UAG5D,OAAO,UAAU;UACjB,OAAO,gBAAgB;;;;;;eAMlB,OAAO,mBAAmB;;;oBAGrB,OAAO,gBAAgB;sDACW,OAAO,UAAU;;;;;;;;;uCAShC,OAAO,gBAAgB;;;;;;;6BAOjC,OAAO,gBAAgB;;;;;;;;;6BASvB,OAAO,gBAAgB;;;;;;;;;6BASvB,OAAO,gBAAgB;;;;;;;;6BAQvB,OAAO,gBAAgB;;;;;;mDAMD,OAAO,UAAU;;;;;uCAK7B,OAAO,UAAU,OAAO,OAAO,gBAAgB;;;;;;oBAMlE,OAAO,gBAAgB;;;;uCAIJ,OAAO,UAAU,OAAO,OAAO,gBAAgB;;;;CAIpF,YAAY,GAAG;;;yCAGwB,OAAO,UAAU;;;;;eAK3C,OAAO,UAAU;;;CAG9B,MAAM,GAAG;;;;;;aAME,OAAO,mBAAmB;;CAErC,OAAO,GAAG;;;;;;CAMV,QAAQ,GAAG;;;;;;;;kCAQqB,OAAO,qBAAqB;;CAE5D,SAAS,GAAG;;;CAGZ,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;CAoBhB,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Ef,OAAO,GAAG;;;;;;;;aAQC,OAAO,UAAU;;;;AAI9B,EAAE"}
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../../src/dashboard/Surface/style.ts"],"sourcesContent":["import { createStaticStyles } from 'antd-style';\n\n/**\n * A content card sitting on the workspace.\n *\n * Backgrounds: light mode uses `colorBgContainer`. Dark mode uses the translucent\n * `colorFillTertiary` (white 6%): on the #0d0d0d workspace it reads as about #1c1c1c, a subtle\n * raised step. `colorFillQuaternary` (white 2%, about #111) would barely separate from the page.\n *\n * Borders and inner dividers (table, header and cell lines, PageSkeleton) use `colorFillSecondary`\n * (white 10% / black 6%); hover and focus use the stronger `colorFill`. Painted over the dark card\n * the border lands near #2f2f2f against #1c1c1c, and in light near #f0f0f0 against #ffffff.\n *\n * Anything that must hide content scrolled beneath it (table header cells, pinned and sticky\n * cells, their scroll shadows) uses `--lobe-surface-bg-solid`: the same white 6% blended onto\n * `--lobe-surface-canvas` (default `colorBgContainer`, the ConsoleShell workspace). `color-mix`\n * in srgb with an opaque base is plain alpha compositing, so it matches the translucent card.\n * Set `--lobe-surface-canvas` when a card sits on another page color.\n *\n * A Surface inside another Surface (`useSurfaceDepth() > 0`) drops its own fill so fills do not\n * stack. Row hover backgrounds keep their own mix. Layout containers (ConsoleShell, ConsoleNav,\n * FilterSidebar split divider, AuthLayout page canvas) keep their own tokens.\n *\n * Apply the card with `useSurfaceCardClassName()`; plain `surfaceStyles.card` is the light look.\n */\nexport const styles = createStaticStyles(({ css, cssVar }) => ({\n card: css`\n --lobe-surface-bg: ${cssVar.colorBgContainer};\n --lobe-surface-bg-solid: ${cssVar.colorBgContainer};\n\n &&,\n &&:hover {\n border: 1px solid ${cssVar.colorFillSecondary};\n border-radius: ${cssVar.borderRadiusLG};\n background: var(--lobe-surface-bg);\n box-shadow: rgb(0 0 0 / 4%) 0 1px 2px 0;\n }\n `,\n cardDark: css`\n &&& {\n --lobe-surface-bg: ${cssVar.colorFillTertiary};\n\n /* colorFillTertiary is white 6% in dark; blend the same amount onto the page. */\n --lobe-surface-bg-solid: color-mix(\n in srgb,\n #fff 6%,\n var(--lobe-surface-canvas, ${cssVar.colorBgContainer})\n );\n }\n `,\n cardNested: css`\n &&&,\n &&&:hover {\n background: transparent;\n }\n `,\n chart: css`\n min-inline-size: 0;\n `,\n /** Rounded corners clip a bled table, header rule, or chart. Bare cards keep overflow visible. */\n clip: css`\n overflow: hidden;\n `,\n loading: css`\n padding-block: 4px 8px;\n `,\n arrow: css`\n flex: none;\n\n margin-block-start: 8px;\n margin-inline-start: auto;\n\n color: ${cssVar.colorTextTertiary};\n\n transition:\n color 150ms ease-out,\n transform 150ms ease-out;\n `,\n arrowLink: css`\n display: flex;\n flex: none;\n align-items: center;\n color: inherit;\n\n & [data-surface-arrow] {\n margin-block-start: 0;\n }\n `,\n bleed: css`\n && th,\n && td {\n padding-inline: 16px;\n }\n\n && th {\n white-space: nowrap;\n }\n `,\n body: css`\n --surface-pad-inline: 16px;\n --surface-pad-block: 16px;\n\n padding: 16px;\n `,\n /** Table and header rules for the rich card. Kept off `card` so the shared class stays a plain frame. */\n content: css`\n min-inline-size: 0;\n\n /* Ant Design paints its own container color on .ant-table and the cells.\n Clear it so the card background shows through; the card owns the fill. */\n && .ant-table,\n && th,\n && td {\n background: transparent;\n }\n\n && .ant-table-css-var,\n && .ant-table-wrapper {\n --ant-table-border-color: ${cssVar.colorFillSecondary};\n --ant-table-row-hover-bg: color-mix(\n in srgb,\n ${cssVar.colorText} 6%,\n ${cssVar.colorBgElevated}\n );\n }\n\n && th {\n font-weight: 500;\n color: ${cssVar.colorTextSecondary};\n white-space: nowrap;\n\n background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});\n box-shadow: inset 0 -1px 0 ${cssVar.colorFillSecondary};\n }\n\n /* Pinned body cells inherit the transparent body, so a scrolled cell paints\n straight through them. Frost with the card color. Header pins stay the\n same solid fill as the rest of the header — a translucent header reads\n as a lighter strip in dark mode. */\n && td.ant-table-cell-fix-start,\n && td.ant-table-cell-fix-end {\n background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});\n backdrop-filter: blur(12px);\n }\n\n && td.ant-table-cell-fix-end-shadow-show::after {\n background: linear-gradient(\n to left,\n color-mix(\n in srgb,\n var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,\n transparent\n ),\n transparent\n );\n backdrop-filter: blur(8px);\n }\n\n && td.ant-table-cell-fix-start-shadow-show::after {\n background: linear-gradient(\n to right,\n color-mix(\n in srgb,\n var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,\n transparent\n ),\n transparent\n );\n backdrop-filter: blur(8px);\n }\n\n [dir='rtl'] && td.ant-table-cell-fix-end-shadow-show::after {\n background: linear-gradient(\n to right,\n color-mix(\n in srgb,\n var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,\n transparent\n ),\n transparent\n );\n }\n\n [dir='rtl'] && td.ant-table-cell-fix-start-shadow-show::after {\n background: linear-gradient(\n to left,\n color-mix(\n in srgb,\n var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer}) 72%,\n transparent\n ),\n transparent\n );\n }\n\n && td {\n border-block-end-color: ${cssVar.colorFillSecondary};\n }\n\n && tr:hover > td,\n && .ant-table-tbody > tr.ant-table-row:hover > td {\n background: color-mix(in srgb, ${cssVar.colorText} 6%, ${cssVar.colorBgElevated});\n }\n\n /* base-ui Table pins with inline position:sticky, not .ant-table-cell-fix-*.\n The transparent body rule above would let scrolled text show through. */\n && td[style*='sticky'] {\n background: var(--lobe-surface-bg-solid, ${cssVar.colorBgContainer});\n }\n\n && tr:hover > td[style*='sticky'] {\n background: color-mix(in srgb, ${cssVar.colorText} 6%, ${cssVar.colorBgElevated});\n }\n `,\n /** Whole card answers hover when its header drills into another page. */\n cardLinked: css`\n &&:hover,\n &&:focus-within {\n border-color: ${cssVar.colorFill};\n }\n\n &&:hover [data-surface-arrow] {\n transform: translate(1px, -1px);\n color: ${cssVar.colorText};\n }\n `,\n desc: css`\n margin-block-start: -4px;\n\n font-size: 13px;\n font-weight: 400;\n line-height: 1.45;\n color: ${cssVar.colorTextSecondary};\n `,\n /* One fixed control row (32px, the height of a small Segmented or a default ActionIcon), so a\n header with controls is exactly as tall as one without, and the controls sit centered with\n 8px clear above the divider. */\n extra: css`\n display: flex;\n flex: none;\n gap: 8px;\n align-items: center;\n\n block-size: 32px;\n `,\n header: css`\n display: flex;\n gap: 12px;\n align-items: flex-start;\n justify-content: space-between;\n\n box-sizing: border-box;\n min-block-size: 48px;\n padding-block: 8px;\n padding-inline: 16px;\n border-block-end: 1px solid ${cssVar.colorFillSecondary};\n `,\n heading: css`\n min-inline-size: 0;\n `,\n headingLink: css`\n display: flex;\n flex: 1;\n gap: 12px;\n align-items: flex-start;\n\n min-inline-size: 0;\n\n color: inherit;\n text-decoration: none;\n\n &:hover {\n color: inherit;\n }\n `,\n /**\n * A table inside padded card body meets the card's left, right, and bottom\n * edges. A table that is the only body content also meets the header.\n * Padding amounts come from `--surface-pad-*` on the same element.\n */\n tableBleed: css`\n /* A table nested in a cell keeps the cell's own inset. */\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) {\n width: calc(100% + 2 * var(--surface-pad-inline, 16px));\n margin-inline: calc(-1 * var(--surface-pad-inline, 16px));\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])):last-child {\n margin-block-end: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])):first-child:last-child {\n margin-block-start: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n /* ProTable keeps its search and toolbar in the padding. The table itself\n meets the card's left, right, and bottom edges. Lower-specificity\n selectors stay above the :has(th/td) rules for stylelint. */\n && .ant-table-css-var,\n && .ant-table-wrapper {\n --ant-table-cell-padding-inline: var(--surface-pad-inline, 16px);\n --ant-table-cell-padding-inline-md: var(--surface-pad-inline, 16px);\n --ant-table-cell-padding-inline-sm: var(--surface-pad-inline, 16px);\n --ant-table-header-border-radius: 0;\n }\n\n && .ant-table-wrapper {\n width: calc(100% + 2 * var(--surface-pad-inline, 16px));\n max-width: none;\n margin-inline: calc(-1 * var(--surface-pad-inline, 16px));\n }\n\n /* A plain table that is the card body meets the header and the bottom edge.\n Its own corner radius would otherwise float inside the card padding. */\n && > .lobe-flex:only-child > .ant-table-wrapper:only-child {\n margin-block: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && .ant-pro-table:last-child {\n margin-block-end: calc(-1 * var(--surface-pad-block, 16px));\n }\n\n && .ant-table-wrapper .ant-table,\n && .ant-table-wrapper .ant-table-container,\n && .ant-table-thead > tr > th,\n && .ant-table-thead > tr > th:first-child,\n && .ant-table-thead > tr > th:last-child {\n border-radius: 0;\n }\n\n && .ant-table-wrapper .ant-table-cell {\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n && .ant-table-wrapper .ant-pagination {\n margin-block: 0;\n padding-block: 12px;\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) th,\n && :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper])) td {\n padding-inline: var(--surface-pad-inline, 16px);\n }\n\n /* The root's negative bottom margin includes this sibling. Without block\n padding the pager sits on the card edge. Same inset as the ant pagination. */\n &&\n :has(> [data-table-wrapper]):not(td :has(> [data-table-wrapper]))\n > :not([data-table-wrapper]) {\n margin-block: 0;\n padding-block: 12px;\n padding-inline: var(--surface-pad-inline, 16px);\n }\n `,\n title: css`\n overflow: hidden;\n\n min-inline-size: 0;\n\n font-size: 14px;\n font-weight: 500;\n\n /* The title line is the 32px control row; extra and the arrow center on it, and a\n description adds its own line below without moving them. */\n line-height: 32px;\n color: ${cssVar.colorText};\n text-overflow: ellipsis;\n white-space: nowrap;\n `,\n}));\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAa,SAAS,oBAAoB,EAAE,KAAK,cAAc;CAC7D,MAAM,GAAG;yBACc,OAAO,iBAAiB;+BAClB,OAAO,iBAAiB;;;;0BAI7B,OAAO,mBAAmB;uBAC7B,OAAO,eAAe;;;;;CAK3C,UAAU,GAAG;;2BAEY,OAAO,kBAAkB;;;;;;qCAMf,OAAO,iBAAiB;;;;CAI3D,YAAY,GAAG;;;;;;CAMf,OAAO,GAAG;;;;CAIV,MAAM,GAAG;;;CAGT,SAAS,GAAG;;;CAGZ,OAAO,GAAG;;;;;;aAMC,OAAO,kBAAkB;;;;;;CAMpC,WAAW,GAAG;;;;;;;;;;CAUd,OAAO,GAAG;;;;;;;;;;CAUV,MAAM,GAAG;;;;;;;CAOT,SAAS,GAAG;;;;;;;;;;;;;kCAaoB,OAAO,mBAAmB;;;UAGlD,OAAO,UAAU;UACjB,OAAO,gBAAgB;;;;;;eAMlB,OAAO,mBAAmB;;;iDAGQ,OAAO,iBAAiB;mCACtC,OAAO,mBAAmB;;;;;;;;;iDASZ,OAAO,iBAAiB;;;;;;;;;yCAShC,OAAO,iBAAiB;;;;;;;;;;;;;yCAaxB,OAAO,iBAAiB;;;;;;;;;;;;;yCAaxB,OAAO,iBAAiB;;;;;;;;;;;;yCAYxB,OAAO,iBAAiB;;;;;;;;gCAQjC,OAAO,mBAAmB;;;;;uCAKnB,OAAO,UAAU,OAAO,OAAO,gBAAgB;;;;;;iDAMrC,OAAO,iBAAiB;;;;uCAIlC,OAAO,UAAU,OAAO,OAAO,gBAAgB;;;;CAIpF,YAAY,GAAG;;;sBAGK,OAAO,UAAU;;;;;eAKxB,OAAO,UAAU;;;CAG9B,MAAM,GAAG;;;;;;aAME,OAAO,mBAAmB;;CAKrC,OAAO,GAAG;;;;;;;;CAQV,QAAQ,GAAG;;;;;;;;;;kCAUqB,OAAO,mBAAmB;;CAE1D,SAAS,GAAG;;;CAGZ,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;CAoBhB,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Ef,OAAO,GAAG;;;;;;;;;;;aAWC,OAAO,UAAU;;;;AAI9B,EAAE"}
@@ -1,15 +1,21 @@
1
- import { AuthLayoutProps } from "./AuthLayout/type.mjs";
1
+ import { AuthLayoutAsideProps, AuthLayoutBackground, AuthLayoutProps, AuthLayoutVariant } from "./AuthLayout/type.mjs";
2
+ import AuthLayoutAside from "./AuthLayout/Aside.mjs";
2
3
  import AuthLayout from "./AuthLayout/AuthLayout.mjs";
3
4
  import "./AuthLayout/index.mjs";
5
+ import { AuthLocaleOption, AuthLocaleSwitchProps, AuthThemeMode, AuthThemeSwitchProps } from "./AuthTools/type.mjs";
6
+ import AuthLocaleSwitch from "./AuthTools/AuthLocaleSwitch.mjs";
7
+ import AuthThemeSwitch from "./AuthTools/AuthThemeSwitch.mjs";
8
+ import "./AuthTools/index.mjs";
4
9
  import { BreadcrumbItem, BreadcrumbProps } from "./Breadcrumb/type.mjs";
5
10
  import Breadcrumb from "./Breadcrumb/Breadcrumb.mjs";
6
11
  import "./Breadcrumb/index.mjs";
7
12
  import { ChartGridProps } from "./ChartGrid/type.mjs";
8
13
  import ChartGrid from "./ChartGrid/ChartGrid.mjs";
9
14
  import "./ChartGrid/index.mjs";
10
- import { ConsoleNavGroup, ConsoleNavItem, ConsoleNavProps } from "./ConsoleNav/type.mjs";
15
+ import { ConsoleNavGroup, ConsoleNavItem, ConsoleNavProps, ConsoleNavSkeletonProps } from "./ConsoleNav/type.mjs";
11
16
  import { resolveActiveHref } from "./ConsoleNav/active.mjs";
12
17
  import ConsoleNav from "./ConsoleNav/ConsoleNav.mjs";
18
+ import ConsoleNavSkeleton, { ConsoleFooterSkeleton } from "./ConsoleNav/Skeleton.mjs";
13
19
  import "./ConsoleNav/index.mjs";
14
20
  import { ConsoleBrandProps, ConsoleShellProps, ConsoleShellState } from "./ConsoleShell/type.mjs";
15
21
  import ConsoleBrand from "./ConsoleShell/ConsoleBrand.mjs";
@@ -52,7 +58,7 @@ import "./Section/index.mjs";
52
58
  import { StatCardProps, StatDirection } from "./StatCard/type.mjs";
53
59
  import StatCard from "./StatCard/StatCard.mjs";
54
60
  import "./StatCard/index.mjs";
55
- import { SurfaceLinkProvider, useSurfaceDepth, useSurfaceLink } from "./Surface/link.mjs";
61
+ import { SurfaceLinkProvider, useSurfaceCardClassName, useSurfaceDepth, useSurfaceLink } from "./Surface/link.mjs";
56
62
  import { styles } from "./Surface/style.mjs";
57
63
  import Surface from "./Surface/Surface.mjs";
58
64
  import "./Surface/index.mjs";
@@ -62,4 +68,4 @@ import "./TableIconActions/index.mjs";
62
68
  import { TitleWithTipsProps } from "./TitleWithTips/type.mjs";
63
69
  import TitleWithTips from "./TitleWithTips/TitleWithTips.mjs";
64
70
  import "./TitleWithTips/index.mjs";
65
- export { AuthLayout, type AuthLayoutProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, ChartGrid, type ChartGridProps, ConsoleBrand, type ConsoleBrandProps, ConsoleNav, type ConsoleNavGroup, type ConsoleNavItem, type ConsoleNavProps, ConsoleShell, type ConsoleShellProps, type ConsoleShellState, FilterOption, type FilterOptionProps, FilterRow, type FilterRowProps, FilterSidebar, type FilterSidebarProps, FilterStrip, type FilterStripItem, type FilterStripProps, LabelWithKey, type LabelWithKeyProps, LoadingAnnouncer, type MetricItem, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, PageHeaderSkeleton, PageLoading, type PageLoadingProps, type PageTab, PageTabs, type PageTabsProps, PageToolbar, type PageToolbarProps, PanelSurface, type PanelSurfaceProps, RouteProgress, type RouteProgressProps, Section, type SectionProps, StatCard, type StatCardProps, StatCardSkeleton, type StatDirection, Surface, type SurfaceLinkProps, SurfaceLinkProvider, type SurfaceProps, type SurfaceRenderLink, TableIconAction, type TableIconActionProps, TableIconActions, type TableIconActionsProps, TableSkeleton, TitleWithTips, type TitleWithTipsProps, formatInteger, resolveActiveHref, styles as surfaceStyles, tableActionColumnWidth, useConsoleShell, useInFilterSplit, useSurfaceDepth, useSurfaceLink };
71
+ export { AuthLayout, AuthLayoutAside, type AuthLayoutAsideProps, type AuthLayoutBackground, type AuthLayoutProps, type AuthLayoutVariant, type AuthLocaleOption, AuthLocaleSwitch, type AuthLocaleSwitchProps, type AuthThemeMode, AuthThemeSwitch, type AuthThemeSwitchProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, ChartGrid, type ChartGridProps, ConsoleBrand, type ConsoleBrandProps, ConsoleFooterSkeleton, ConsoleNav, type ConsoleNavGroup, type ConsoleNavItem, type ConsoleNavProps, ConsoleNavSkeleton, type ConsoleNavSkeletonProps, ConsoleShell, type ConsoleShellProps, type ConsoleShellState, FilterOption, type FilterOptionProps, FilterRow, type FilterRowProps, FilterSidebar, type FilterSidebarProps, FilterStrip, type FilterStripItem, type FilterStripProps, LabelWithKey, type LabelWithKeyProps, LoadingAnnouncer, type MetricItem, MetricStrip, type MetricStripProps, PageHeader, type PageHeaderProps, PageHeaderSkeleton, PageLoading, type PageLoadingProps, type PageTab, PageTabs, type PageTabsProps, PageToolbar, type PageToolbarProps, PanelSurface, type PanelSurfaceProps, RouteProgress, type RouteProgressProps, Section, type SectionProps, StatCard, type StatCardProps, StatCardSkeleton, type StatDirection, Surface, type SurfaceLinkProps, SurfaceLinkProvider, type SurfaceProps, type SurfaceRenderLink, TableIconAction, type TableIconActionProps, TableIconActions, type TableIconActionsProps, TableSkeleton, TitleWithTips, type TitleWithTipsProps, formatInteger, resolveActiveHref, styles as surfaceStyles, tableActionColumnWidth, useConsoleShell, useInFilterSplit, useSurfaceCardClassName, useSurfaceDepth, useSurfaceLink };
@@ -1,21 +1,25 @@
1
+ import AuthLayoutAside from "./AuthLayout/Aside.mjs";
1
2
  import { styles } from "./Surface/style.mjs";
3
+ import { SurfaceLinkProvider, useSurfaceCardClassName, useSurfaceDepth, useSurfaceLink } from "./Surface/link.mjs";
2
4
  import AuthLayout from "./AuthLayout/AuthLayout.mjs";
5
+ import AuthLocaleSwitch from "./AuthTools/AuthLocaleSwitch.mjs";
6
+ import AuthThemeSwitch from "./AuthTools/AuthThemeSwitch.mjs";
3
7
  import Breadcrumb from "./Breadcrumb/Breadcrumb.mjs";
4
8
  import ChartGrid from "./ChartGrid/ChartGrid.mjs";
5
9
  import { resolveActiveHref } from "./ConsoleNav/active.mjs";
6
10
  import { useConsoleShell } from "./ConsoleShell/context.mjs";
7
11
  import ConsoleNav from "./ConsoleNav/ConsoleNav.mjs";
12
+ import ConsoleNavSkeleton, { ConsoleFooterSkeleton } from "./ConsoleNav/Skeleton.mjs";
8
13
  import ConsoleBrand from "./ConsoleShell/ConsoleBrand.mjs";
14
+ import PageLoading, { LoadingAnnouncer, PageHeaderSkeleton, StatCardSkeleton, TableSkeleton } from "./PageSkeleton/PageSkeleton.mjs";
9
15
  import ConsoleShell from "./ConsoleShell/ConsoleShell.mjs";
10
16
  import { useInFilterSplit } from "./FilterSidebar/context.mjs";
11
17
  import FilterSidebar, { FilterOption, FilterRow } from "./FilterSidebar/FilterSidebar.mjs";
12
- import { SurfaceLinkProvider, useSurfaceDepth, useSurfaceLink } from "./Surface/link.mjs";
13
18
  import Surface from "./Surface/Surface.mjs";
14
19
  import FilterStrip, { formatInteger } from "./FilterStrip/FilterStrip.mjs";
15
20
  import LabelWithKey from "./LabelWithKey/LabelWithKey.mjs";
16
21
  import MetricStrip from "./MetricStrip/MetricStrip.mjs";
17
22
  import PageHeader from "./PageHeader/PageHeader.mjs";
18
- import PageLoading, { LoadingAnnouncer, PageHeaderSkeleton, StatCardSkeleton, TableSkeleton } from "./PageSkeleton/PageSkeleton.mjs";
19
23
  import PageTabs from "./PageTabs/PageTabs.mjs";
20
24
  import PageToolbar from "./PageToolbar/PageToolbar.mjs";
21
25
  import PanelSurface from "./PanelSurface/PanelSurface.mjs";
@@ -24,4 +28,4 @@ import Section from "./Section/Section.mjs";
24
28
  import StatCard from "./StatCard/StatCard.mjs";
25
29
  import TableIconActions, { TableIconAction, tableActionColumnWidth } from "./TableIconActions/TableIconActions.mjs";
26
30
  import TitleWithTips from "./TitleWithTips/TitleWithTips.mjs";
27
- export { AuthLayout, Breadcrumb, ChartGrid, ConsoleBrand, ConsoleNav, ConsoleShell, FilterOption, FilterRow, FilterSidebar, FilterStrip, LabelWithKey, LoadingAnnouncer, MetricStrip, PageHeader, PageHeaderSkeleton, PageLoading, PageTabs, PageToolbar, PanelSurface, RouteProgress, Section, StatCard, StatCardSkeleton, Surface, SurfaceLinkProvider, TableIconAction, TableIconActions, TableSkeleton, TitleWithTips, formatInteger, resolveActiveHref, styles as surfaceStyles, tableActionColumnWidth, useConsoleShell, useInFilterSplit, useSurfaceDepth, useSurfaceLink };
31
+ export { AuthLayout, AuthLayoutAside, AuthLocaleSwitch, AuthThemeSwitch, Breadcrumb, ChartGrid, ConsoleBrand, ConsoleFooterSkeleton, ConsoleNav, ConsoleNavSkeleton, ConsoleShell, FilterOption, FilterRow, FilterSidebar, FilterStrip, LabelWithKey, LoadingAnnouncer, MetricStrip, PageHeader, PageHeaderSkeleton, PageLoading, PageTabs, PageToolbar, PanelSurface, RouteProgress, Section, StatCard, StatCardSkeleton, Surface, SurfaceLinkProvider, TableIconAction, TableIconActions, TableSkeleton, TitleWithTips, formatInteger, resolveActiveHref, styles as surfaceStyles, tableActionColumnWidth, useConsoleShell, useInFilterSplit, useSurfaceCardClassName, useSurfaceDepth, useSurfaceLink };
@@ -11,9 +11,10 @@ import _default$9 from "./image.mjs";
11
11
  import _default$10 from "./messageModal.mjs";
12
12
  import _default$11 from "./qrCode.mjs";
13
13
  import _default$12 from "./sideNav.mjs";
14
+ import _default$13 from "./table.mjs";
14
15
  declare namespace index_d_exports {
15
- export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav };
16
+ export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav, _default$13 as table };
16
17
  }
17
18
  //#endregion
18
- export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, index_d_exports, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav };
19
+ export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, index_d_exports, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav, _default$13 as table };
19
20
  //# sourceMappingURL=index.d.mts.map
@@ -8,6 +8,7 @@ import image_default from "./image.mjs";
8
8
  import burger_default from "./burger.mjs";
9
9
  import datePicker_default from "./datePicker.mjs";
10
10
  import qrCode_default from "./qrCode.mjs";
11
+ import table_default from "./table.mjs";
11
12
  import chat_default from "./chat.mjs";
12
13
  import messageModal_default from "./messageModal.mjs";
13
14
  import editableMessage_default from "./editableMessage.mjs";
@@ -26,9 +27,10 @@ var en_exports = /* @__PURE__ */ __exportAll({
26
27
  image: () => image_default,
27
28
  messageModal: () => messageModal_default,
28
29
  qrCode: () => qrCode_default,
29
- sideNav: () => sideNav_default
30
+ sideNav: () => sideNav_default,
31
+ table: () => table_default
30
32
  });
31
33
  //#endregion
32
- export { burger_default as burger, chat_default as chat, colorPicker_default as colorPicker, common_default as common, datePicker_default as datePicker, editableMessage_default as editableMessage, emojiPicker_default as emojiPicker, en_exports, form_default as form, hotkey_default as hotkey, image_default as image, messageModal_default as messageModal, qrCode_default as qrCode, sideNav_default as sideNav };
34
+ export { burger_default as burger, chat_default as chat, colorPicker_default as colorPicker, common_default as common, datePicker_default as datePicker, editableMessage_default as editableMessage, emojiPicker_default as emojiPicker, en_exports, form_default as form, hotkey_default as hotkey, image_default as image, messageModal_default as messageModal, qrCode_default as qrCode, sideNav_default as sideNav, table_default as table };
33
35
 
34
36
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/en/index.ts"],"sourcesContent":["export { default as burger } from './burger';\nexport { default as chat } from './chat';\nexport { default as colorPicker } from './colorPicker';\nexport { default as common } from './common';\nexport { default as datePicker } from './datePicker';\nexport { default as editableMessage } from './editableMessage';\nexport { default as emojiPicker } from './emojiPicker';\nexport { default as form } from './form';\nexport { default as hotkey } from './hotkey';\nexport { default as image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as qrCode } from './qrCode';\nexport { default as sideNav } from './sideNav';\n"],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/en/index.ts"],"sourcesContent":["export { default as burger } from './burger';\nexport { default as chat } from './chat';\nexport { default as colorPicker } from './colorPicker';\nexport { default as common } from './common';\nexport { default as datePicker } from './datePicker';\nexport { default as editableMessage } from './editableMessage';\nexport { default as emojiPicker } from './emojiPicker';\nexport { default as form } from './form';\nexport { default as hotkey } from './hotkey';\nexport { default as image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as qrCode } from './qrCode';\nexport { default as sideNav } from './sideNav';\nexport { default as table } from './table';\n"],"mappings":""}
@@ -0,0 +1,23 @@
1
+ //#region src/i18n/resources/en/table.d.ts
2
+ declare const _default: {
3
+ readonly 'table.cancelSort': "Click to cancel sorting";
4
+ readonly 'table.collapse': "Collapse row";
5
+ readonly 'table.emptyText': "No data";
6
+ readonly 'table.expand': "Expand row";
7
+ readonly 'table.filterCheckAll': "Select all items";
8
+ readonly 'table.filterConfirm': "OK";
9
+ readonly 'table.filterEmptyText': "No filters";
10
+ readonly 'table.filterReset': "Reset";
11
+ readonly 'table.filterSearchPlaceholder': "Search in filters";
12
+ readonly 'table.filterTitle': "Filter menu";
13
+ readonly 'table.selectAll': "Select current page";
14
+ readonly 'table.selectInvert': "Invert current page";
15
+ readonly 'table.selectNone': "Clear all data";
16
+ readonly 'table.selectionAll': "Select all data";
17
+ readonly 'table.sortTitle': "Sort";
18
+ readonly 'table.triggerAsc': "Click to sort ascending";
19
+ readonly 'table.triggerDesc': "Click to sort descending";
20
+ };
21
+ //#endregion
22
+ export { _default as default };
23
+ //# sourceMappingURL=table.d.mts.map
@@ -0,0 +1,24 @@
1
+ //#region src/i18n/resources/en/table.ts
2
+ var table_default = {
3
+ "table.cancelSort": "Click to cancel sorting",
4
+ "table.collapse": "Collapse row",
5
+ "table.emptyText": "No data",
6
+ "table.expand": "Expand row",
7
+ "table.filterCheckAll": "Select all items",
8
+ "table.filterConfirm": "OK",
9
+ "table.filterEmptyText": "No filters",
10
+ "table.filterReset": "Reset",
11
+ "table.filterSearchPlaceholder": "Search in filters",
12
+ "table.filterTitle": "Filter menu",
13
+ "table.selectAll": "Select current page",
14
+ "table.selectInvert": "Invert current page",
15
+ "table.selectNone": "Clear all data",
16
+ "table.selectionAll": "Select all data",
17
+ "table.sortTitle": "Sort",
18
+ "table.triggerAsc": "Click to sort ascending",
19
+ "table.triggerDesc": "Click to sort descending"
20
+ };
21
+ //#endregion
22
+ export { table_default as default };
23
+
24
+ //# sourceMappingURL=table.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.mjs","names":[],"sources":["../../../../src/i18n/resources/en/table.ts"],"sourcesContent":["export default {\n 'table.cancelSort': 'Click to cancel sorting',\n 'table.collapse': 'Collapse row',\n 'table.emptyText': 'No data',\n 'table.expand': 'Expand row',\n 'table.filterCheckAll': 'Select all items',\n 'table.filterConfirm': 'OK',\n 'table.filterEmptyText': 'No filters',\n 'table.filterReset': 'Reset',\n 'table.filterSearchPlaceholder': 'Search in filters',\n 'table.filterTitle': 'Filter menu',\n 'table.selectAll': 'Select current page',\n 'table.selectInvert': 'Invert current page',\n 'table.selectNone': 'Clear all data',\n 'table.selectionAll': 'Select all data',\n 'table.sortTitle': 'Sort',\n 'table.triggerAsc': 'Click to sort ascending',\n 'table.triggerDesc': 'Click to sort descending',\n} as const;\n"],"mappings":";AAAA,IAAA,gBAAe;CACb,oBAAoB;CACpB,kBAAkB;CAClB,mBAAmB;CACnB,gBAAgB;CAChB,wBAAwB;CACxB,uBAAuB;CACvB,yBAAyB;CACzB,qBAAqB;CACrB,iCAAiC;CACjC,qBAAqB;CACrB,mBAAmB;CACnB,sBAAsB;CACtB,oBAAoB;CACpB,sBAAsB;CACtB,mBAAmB;CACnB,oBAAoB;CACpB,qBAAqB;AACvB"}
@@ -11,9 +11,10 @@ import _default$9 from "./image.mjs";
11
11
  import _default$10 from "./messageModal.mjs";
12
12
  import _default$11 from "./qrCode.mjs";
13
13
  import _default$12 from "./sideNav.mjs";
14
+ import _default$13 from "./table.mjs";
14
15
  declare namespace index_d_exports {
15
- export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav };
16
+ export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav, _default$13 as table };
16
17
  }
17
18
  //#endregion
18
- export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, index_d_exports, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav };
19
+ export { _default as burger, _default$1 as chat, _default$2 as colorPicker, _default$3 as common, _default$4 as datePicker, _default$5 as editableMessage, _default$6 as emojiPicker, _default$7 as form, _default$8 as hotkey, _default$9 as image, index_d_exports, _default$10 as messageModal, _default$11 as qrCode, _default$12 as sideNav, _default$13 as table };
19
20
  //# sourceMappingURL=index.d.mts.map
@@ -12,6 +12,7 @@ import image_default from "./image.mjs";
12
12
  import messageModal_default from "./messageModal.mjs";
13
13
  import qrCode_default from "./qrCode.mjs";
14
14
  import sideNav_default from "./sideNav.mjs";
15
+ import table_default from "./table.mjs";
15
16
  //#region src/i18n/resources/zhCn/index.ts
16
17
  var zhCn_exports = /* @__PURE__ */ __exportAll({
17
18
  burger: () => burger_default,
@@ -26,9 +27,10 @@ var zhCn_exports = /* @__PURE__ */ __exportAll({
26
27
  image: () => image_default,
27
28
  messageModal: () => messageModal_default,
28
29
  qrCode: () => qrCode_default,
29
- sideNav: () => sideNav_default
30
+ sideNav: () => sideNav_default,
31
+ table: () => table_default
30
32
  });
31
33
  //#endregion
32
- export { burger_default as burger, chat_default as chat, colorPicker_default as colorPicker, common_default as common, datePicker_default as datePicker, editableMessage_default as editableMessage, emojiPicker_default as emojiPicker, form_default as form, hotkey_default as hotkey, image_default as image, messageModal_default as messageModal, qrCode_default as qrCode, sideNav_default as sideNav, zhCn_exports };
34
+ export { burger_default as burger, chat_default as chat, colorPicker_default as colorPicker, common_default as common, datePicker_default as datePicker, editableMessage_default as editableMessage, emojiPicker_default as emojiPicker, form_default as form, hotkey_default as hotkey, image_default as image, messageModal_default as messageModal, qrCode_default as qrCode, sideNav_default as sideNav, table_default as table, zhCn_exports };
33
35
 
34
36
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/index.ts"],"sourcesContent":["export { default as burger } from './burger';\nexport { default as chat } from './chat';\nexport { default as colorPicker } from './colorPicker';\nexport { default as common } from './common';\nexport { default as datePicker } from './datePicker';\nexport { default as editableMessage } from './editableMessage';\nexport { default as emojiPicker } from './emojiPicker';\nexport { default as form } from './form';\nexport { default as hotkey } from './hotkey';\nexport { default as image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as qrCode } from './qrCode';\nexport { default as sideNav } from './sideNav';\n"],"mappings":""}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/index.ts"],"sourcesContent":["export { default as burger } from './burger';\nexport { default as chat } from './chat';\nexport { default as colorPicker } from './colorPicker';\nexport { default as common } from './common';\nexport { default as datePicker } from './datePicker';\nexport { default as editableMessage } from './editableMessage';\nexport { default as emojiPicker } from './emojiPicker';\nexport { default as form } from './form';\nexport { default as hotkey } from './hotkey';\nexport { default as image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as qrCode } from './qrCode';\nexport { default as sideNav } from './sideNav';\nexport { default as table } from './table';\n"],"mappings":""}
@@ -0,0 +1,23 @@
1
+ //#region src/i18n/resources/zhCn/table.d.ts
2
+ declare const _default: {
3
+ readonly 'table.cancelSort': "取消排序";
4
+ readonly 'table.collapse': "关闭行";
5
+ readonly 'table.emptyText': "暂无数据";
6
+ readonly 'table.expand': "展开行";
7
+ readonly 'table.filterCheckAll': "全选";
8
+ readonly 'table.filterConfirm': "确定";
9
+ readonly 'table.filterEmptyText': "无筛选项";
10
+ readonly 'table.filterReset': "重置";
11
+ readonly 'table.filterSearchPlaceholder': "在筛选项中搜索";
12
+ readonly 'table.filterTitle': "筛选";
13
+ readonly 'table.selectAll': "全选当页";
14
+ readonly 'table.selectInvert': "反选当页";
15
+ readonly 'table.selectNone': "清空所有";
16
+ readonly 'table.selectionAll': "全选所有";
17
+ readonly 'table.sortTitle': "排序";
18
+ readonly 'table.triggerAsc': "点击升序";
19
+ readonly 'table.triggerDesc': "点击降序";
20
+ };
21
+ //#endregion
22
+ export { _default as default };
23
+ //# sourceMappingURL=table.d.mts.map
@@ -0,0 +1,24 @@
1
+ //#region src/i18n/resources/zhCn/table.ts
2
+ var table_default = {
3
+ "table.cancelSort": "取消排序",
4
+ "table.collapse": "关闭行",
5
+ "table.emptyText": "暂无数据",
6
+ "table.expand": "展开行",
7
+ "table.filterCheckAll": "全选",
8
+ "table.filterConfirm": "确定",
9
+ "table.filterEmptyText": "无筛选项",
10
+ "table.filterReset": "重置",
11
+ "table.filterSearchPlaceholder": "在筛选项中搜索",
12
+ "table.filterTitle": "筛选",
13
+ "table.selectAll": "全选当页",
14
+ "table.selectInvert": "反选当页",
15
+ "table.selectNone": "清空所有",
16
+ "table.selectionAll": "全选所有",
17
+ "table.sortTitle": "排序",
18
+ "table.triggerAsc": "点击升序",
19
+ "table.triggerDesc": "点击降序"
20
+ };
21
+ //#endregion
22
+ export { table_default as default };
23
+
24
+ //# sourceMappingURL=table.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/table.ts"],"sourcesContent":["export default {\n 'table.cancelSort': '取消排序',\n 'table.collapse': '关闭行',\n 'table.emptyText': '暂无数据',\n 'table.expand': '展开行',\n 'table.filterCheckAll': '全选',\n 'table.filterConfirm': '确定',\n 'table.filterEmptyText': '无筛选项',\n 'table.filterReset': '重置',\n 'table.filterSearchPlaceholder': '在筛选项中搜索',\n 'table.filterTitle': '筛选',\n 'table.selectAll': '全选当页',\n 'table.selectInvert': '反选当页',\n 'table.selectNone': '清空所有',\n 'table.selectionAll': '全选所有',\n 'table.sortTitle': '排序',\n 'table.triggerAsc': '点击升序',\n 'table.triggerDesc': '点击降序',\n} as const;\n"],"mappings":";AAAA,IAAA,gBAAe;CACb,oBAAoB;CACpB,kBAAkB;CAClB,mBAAmB;CACnB,gBAAgB;CAChB,wBAAwB;CACxB,uBAAuB;CACvB,yBAAyB;CACzB,qBAAqB;CACrB,iCAAiC;CACjC,qBAAqB;CACrB,mBAAmB;CACnB,sBAAsB;CACtB,oBAAoB;CACpB,sBAAsB;CACtB,mBAAmB;CACnB,oBAAoB;CACpB,qBAAqB;AACvB"}
@@ -11,9 +11,10 @@ import _default$9 from "./resources/en/image.mjs";
11
11
  import _default$10 from "./resources/en/messageModal.mjs";
12
12
  import _default$11 from "./resources/en/qrCode.mjs";
13
13
  import _default$12 from "./resources/en/sideNav.mjs";
14
+ import _default$13 from "./resources/en/table.mjs";
14
15
  //#region src/i18n/types.d.ts
15
16
  type Locale = string;
16
- type BuiltinTranslationResources = typeof _default & typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8 & typeof _default$9 & typeof _default$10 & typeof _default$11 & typeof _default$12;
17
+ type BuiltinTranslationResources = typeof _default & typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8 & typeof _default$9 & typeof _default$10 & typeof _default$11 & typeof _default$12 & typeof _default$13;
17
18
  type TranslationKey = keyof BuiltinTranslationResources;
18
19
  type TranslationValue = string;
19
20
  /**
package/es/index.mjs CHANGED
@@ -38,6 +38,8 @@ import FluentEmoji from "./FluentEmoji/FluentEmoji.mjs";
38
38
  import AvatarGroup from "./Avatar/AvatarGroup/index.mjs";
39
39
  import Avatar from "./Avatar/index.mjs";
40
40
  import Badge from "./base-ui/Badge/Badge.mjs";
41
+ import { I18nProvider } from "./i18n/context.mjs";
42
+ import { useTranslation } from "./i18n/useTranslation.mjs";
41
43
  import Pagination from "./base-ui/Pagination/Pagination.mjs";
42
44
  import Progress from "./base-ui/Progress/Progress.mjs";
43
45
  import Result from "./base-ui/Result/Result.mjs";
@@ -57,8 +59,6 @@ import { highlighterThemes } from "./Highlighter/const.mjs";
57
59
  import SyntaxHighlighter from "./Highlighter/SyntaxHighlighter/index.mjs";
58
60
  import CodeEditor from "./CodeEditor/CodeEditor.mjs";
59
61
  import Collapse from "./Collapse/Collapse.mjs";
60
- import { I18nProvider } from "./i18n/context.mjs";
61
- import { useTranslation } from "./i18n/useTranslation.mjs";
62
62
  import { PopoverArrowIcon } from "./base-ui/Popover/ArrowIcon.mjs";
63
63
  import { usePopoverPortalContainer } from "./base-ui/Popover/PopoverPortal.mjs";
64
64
  import { PopoverArrow, PopoverBackdrop, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverRoot, PopoverTriggerElement, PopoverViewport } from "./base-ui/Popover/atoms.mjs";