@juki-team/base-ui 1.4.128 → 1.4.131
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.
- package/dist/esm/{ArrowForwardIcon-Bnn7Iz4G.js → ArrowForwardIcon-IN9agpuQ.js} +1 -1
- package/dist/esm/{BarChart-D5bo7JIL.js → BarChart-BrncFZqv.js} +1 -1
- package/dist/esm/{CartesianChart-CobjBy-5.js → CartesianChart-DiEsv39t.js} +1 -1
- package/dist/esm/{ChangePasswordModal-C8I37Lmc.js → ChangePasswordModal-CvWtkjrN.js} +1 -1
- package/dist/esm/{CodeEditor-B6Z_vVNE.js → CodeEditor-DACpjrsU.js} +1 -1
- package/dist/esm/{DataGrid-EEmJvadS.js → DataGrid-JAYAjywD.js} +1 -1
- package/dist/esm/{DataViewer-BnJZ7RG7.js → DataViewer-Dlia2oSB.js} +1 -1
- package/dist/esm/{DrawerView-BYxdlHl8.js → DrawerView-BblFUJEi.js} +1 -1
- package/dist/esm/{ExcalidrawButton-D4U4cBk4.js → ExcalidrawButton-Bd8SBhas.js} +1 -1
- package/dist/esm/{GraphvizViewer-CPnICZa2.js → GraphvizViewer-C1mAE7rX.js} +1 -1
- package/dist/esm/{ImageLoaderCropper-BogOFrVn.js → ImageLoaderCropper-C3Cx6O53.js} +1 -1
- package/dist/esm/{InputCellPhoneNumber-iWeDD6qq.js → InputCellPhoneNumber-CKYa10bN.js} +1 -1
- package/dist/esm/{InputColor-B70A4U4T.js → InputColor-Z0jOOs3H.js} +1 -1
- package/dist/esm/{LineChart-DLFrUWfp.js → LineChart-EhYBGR13.js} +1 -1
- package/dist/esm/{MdMath-Cu7sz6X4.js → MdMath-nccHUbMO.js} +1 -1
- package/dist/esm/{MdMathEditor-Cld-MqNo.js → MdMathEditor-CqVpGAmF.js} +2 -2
- package/dist/esm/{Popover-DdOfIlTm.js → Popover-Dd5soClw.js} +2 -2
- package/dist/esm/{ReplyIcon-DJPfkoNy.js → ReplyIcon-DrZrr78M.js} +1 -1
- package/dist/esm/{SettingsIcon-CInONSNO.js → SettingsIcon-DM1F7UIb.js} +1 -1
- package/dist/esm/{SlideDeck-DNpkU3EW.js → SlideDeck-ls4Av4B6.js} +1 -1
- package/dist/esm/{TableOfContents-D09Tl8Li.js → TableOfContents-s2uXSPqs.js} +1 -1
- package/dist/esm/{TextHeadCell-C5VCH0Lf.js → TextHeadCell-CtlRYJ1U.js} +1 -1
- package/dist/esm/{Tooltip-CeUrSz_E.js → Tooltip-DkuB7dhH.js} +1 -1
- package/dist/esm/{UserCodeEditor-DO0kLp8T.js → UserCodeEditor-ouwZZtsS.js} +6 -6
- package/dist/esm/{ViewModuleIcon-DuqGYgdz.js → ViewModuleIcon-CBJGd2NB.js} +1 -1
- package/dist/esm/{VirtualizedRowsFixed-hIujSeOl.js → VirtualizedRowsFixed-B2F4OHWB.js} +1 -1
- package/dist/esm/{WorksheetAsSlides-BTbKEOuB.js → WorksheetAsSlides-DERDrU2H.js} +1 -1
- package/dist/esm/{WorksheetBodies-CyXJo3pU.js → WorksheetBodies-CV7eAr61.js} +1 -1
- package/dist/esm/{WorksheetContents-Cosj3MBk.js → WorksheetContents-Lm-_CdZ2.js} +1 -1
- package/dist/esm/{WorksheetEditor-dQ3FmK6E.js → WorksheetEditor-bWlxdb29.js} +1 -1
- package/dist/esm/{WorksheetNode-BRplV701.js → WorksheetNode-DEOXUEQe.js} +1 -1
- package/dist/esm/{WorksheetViewer-B-RX22Je.js → WorksheetViewer-lBAniTnA.js} +1 -1
- package/dist/esm/{architectureDiagram-3BPJPVTR-GHdKy6q4.js → architectureDiagram-3BPJPVTR-CTb5ayIp.js} +1 -1
- package/dist/esm/{blockDiagram-GPEHLZMM-BsKkASna.js → blockDiagram-GPEHLZMM-D4uFUU-G.js} +1 -1
- package/dist/esm/{c4Diagram-AAUBKEIU-BubfHfIS.js → c4Diagram-AAUBKEIU-CAZLWuPq.js} +1 -1
- package/dist/esm/channel-D5EOmDMD.js +1 -0
- package/dist/esm/{chunk-2J33WTMH-DQLkwr3H.js → chunk-2J33WTMH-HhOFj0bf.js} +1 -1
- package/dist/esm/{chunk-4BX2VUAB-CtK595Al.js → chunk-4BX2VUAB-CEdoBw7_.js} +1 -1
- package/dist/esm/{chunk-55IACEB6-DA8sagOJ.js → chunk-55IACEB6-aJ-Std67.js} +1 -1
- package/dist/esm/{chunk-727SXJPM-B6XP9Ejn.js → chunk-727SXJPM-CR7TtBVZ.js} +1 -1
- package/dist/esm/{chunk-AQP2D5EJ-BGXJS1L5.js → chunk-AQP2D5EJ-K2Leo-fb.js} +1 -1
- package/dist/esm/{chunk-FMBD7UC4-DETYmnuw.js → chunk-FMBD7UC4-a15wpTbq.js} +1 -1
- package/dist/esm/{chunk-ND2GUHAM-cVaSk2c2.js → chunk-ND2GUHAM-3yBxVPAC.js} +1 -1
- package/dist/esm/{chunk-QZHKN3VN-pybgO0OQ.js → chunk-QZHKN3VN-BQxiWiUu.js} +1 -1
- package/dist/esm/{classDiagram-4FO5ZUOK-DAj9h4b_.js → classDiagram-4FO5ZUOK-Bp3azMO2.js} +1 -1
- package/dist/esm/{classDiagram-v2-Q7XG4LA2-DAj9h4b_.js → classDiagram-v2-Q7XG4LA2-Bp3azMO2.js} +1 -1
- package/dist/esm/{contest-aDQIqOJe.js → contest-D0dFHHYS.js} +1 -1
- package/dist/esm/{cose-bilkent-S5V4N54A-Byki9rDQ.js → cose-bilkent-S5V4N54A-CF9x8P1X.js} +1 -1
- package/dist/esm/{dagre-BM42HDAG-DGcCaZtB.js → dagre-BM42HDAG-oa0J1DaE.js} +1 -1
- package/dist/esm/{diagram-2AECGRRQ-DxkVrRtM.js → diagram-2AECGRRQ-BuuG-RoB.js} +1 -1
- package/dist/esm/{diagram-5GNKFQAL-CI68cFUB.js → diagram-5GNKFQAL-CZujtOen.js} +1 -1
- package/dist/esm/{diagram-KO2AKTUF-DeOvpWNz.js → diagram-KO2AKTUF-0KbELqZI.js} +1 -1
- package/dist/esm/{diagram-LMA3HP47-B3k-krze.js → diagram-LMA3HP47-DVhy52x2.js} +1 -1
- package/dist/esm/{diagram-OG6HWLK6-DF1a3R9r.js → diagram-OG6HWLK6-BBVpceTq.js} +1 -1
- package/dist/esm/{erDiagram-TEJ5UH35-D8tsDNJs.js → erDiagram-TEJ5UH35-BHbfbqIk.js} +1 -1
- package/dist/esm/{flowDiagram-I6XJVG4X-BI4wwmRU.js → flowDiagram-I6XJVG4X-BaMVJs2u.js} +1 -1
- package/dist/esm/{ganttDiagram-6RSMTGT7-mtZrSAvl.js → ganttDiagram-6RSMTGT7-DOUe8voF.js} +1 -1
- package/dist/esm/{gitGraphDiagram-PVQCEYII-DjcI8VAu.js → gitGraphDiagram-PVQCEYII-Dyj0XEJk.js} +1 -1
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/{index-8lCMBwuC.js → index-BCzXl-MX.js} +1 -1
- package/dist/esm/{index-CYbDO0-3.js → index-CCC14puG.js} +1 -1
- package/dist/esm/{index-CMnRWttz.js → index-CWWVtFL-.js} +1 -1
- package/dist/esm/{index-DMMK2jqZ.js → index-C_iDYl6D.js} +1 -1
- package/dist/esm/{index-DRfZVlOJ.js → index-CroDROK5.js} +1 -1
- package/dist/esm/index-DGfNHv1x.js +2 -0
- package/dist/esm/index-P3Cb0cjc.js +1 -0
- package/dist/esm/index-mPuca8dy.js +1 -0
- package/dist/esm/{infoDiagram-5YYISTIA-Bh8b-n4b.js → infoDiagram-5YYISTIA-Boua4Tr8.js} +1 -1
- package/dist/esm/{ishikawaDiagram-YF4QCWOH-B7Ef_815.js → ishikawaDiagram-YF4QCWOH-BS_A_XBz.js} +1 -1
- package/dist/esm/{journeyDiagram-JHISSGLW-BJmVcYZK.js → journeyDiagram-JHISSGLW-YyjHX0yV.js} +1 -1
- package/dist/esm/{kanban-definition-UN3LZRKU-mFRkclho.js → kanban-definition-UN3LZRKU-CcKCIal8.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/{mermaid.core-S6eGK7_m.js → mermaid.core-QpTfboNw.js} +1 -1
- package/dist/esm/{mindmap-definition-RKZ34NQL-CKmS7PO4.js → mindmap-definition-RKZ34NQL-DjxxY08j.js} +1 -1
- package/dist/esm/{pieDiagram-4H26LBE5-DRY8BTZd.js → pieDiagram-4H26LBE5-Bu-BmZ8n.js} +1 -1
- package/dist/esm/{quadrantDiagram-W4KKPZXB-BZghqn__.js → quadrantDiagram-W4KKPZXB-fK1bxThQ.js} +1 -1
- package/dist/esm/{requirementDiagram-4Y6WPE33-BU3Hxtyb.js → requirementDiagram-4Y6WPE33-D-96v_3q.js} +1 -1
- package/dist/esm/{sankeyDiagram-5OEKKPKP-Cxm2hiMr.js → sankeyDiagram-5OEKKPKP-ZTvdQYzE.js} +1 -1
- package/dist/esm/{sequenceDiagram-3UESZ5HK-BZMNpJbY.js → sequenceDiagram-3UESZ5HK-BFEtohrX.js} +1 -1
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings.js +1 -1
- package/dist/esm/{stateDiagram-AJRCARHV-BgX0EzoX.js → stateDiagram-AJRCARHV-DWxVmIWt.js} +1 -1
- package/dist/esm/{stateDiagram-v2-BHNVJYJU-StaZwSoO.js → stateDiagram-v2-BHNVJYJU-DnOatqpE.js} +1 -1
- package/dist/esm/{timeline-definition-PNZ67QCA-gdRLr8en.js → timeline-definition-PNZ67QCA-FvMo_PxT.js} +1 -1
- package/dist/esm/{types-D3os_Tiq.js → types-DG_vw3We.js} +1 -1
- package/dist/esm/{vennDiagram-CIIHVFJN-DOAjj0rn.js → vennDiagram-CIIHVFJN-DzI_A9Cl.js} +1 -1
- package/dist/esm/{wardleyDiagram-YWT4CUSO-IZo-xpbz.js → wardleyDiagram-YWT4CUSO-ClMyoKY9.js} +1 -1
- package/dist/esm/{xychartDiagram-2RQKCTM6-DQUY0LiW.js → xychartDiagram-2RQKCTM6-Cy92WO7L.js} +1 -1
- package/dist/module-types/src/components/atoms/server/icons/specials/types.d.ts +5 -6
- package/dist/module-types/src/components/helpers/problem.d.ts +11 -0
- package/dist/module-types/src/settings/ApiManager.d.ts +164 -41
- package/package.json +3 -3
- package/src/vendor/fumadocs-ui/css/generated/docs.css +2 -0
- package/src/vendor/fumadocs-ui/css/generated/flux.css +1 -0
- package/src/vendor/fumadocs-ui/css/generated/notebook.css +2 -0
- package/src/vendor/fumadocs-ui/css/preset.css +0 -1
- package/dist/esm/channel-Bz5Urkbc.js +0 -1
- package/dist/esm/index-BGlnGvON.js +0 -2
- package/dist/esm/index-CZeOFoty.js +0 -1
- package/dist/esm/index-CcKNCy1-.js +0 -1
- package/dist/module-types/src/components/mockup/index.d.ts +0 -4
- package/dist/module-types/src/components/molecules/TabsInline/TabsInline.deprecated.d.ts +0 -2
- package/dist/module-types/src/components/molecules/TabsInlineBody/TabsInlineBody.deprecated.d.ts +0 -2
- package/dist/module-types/src/components/organisms/PresentationToolButtons/buttons/Pencil.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/MdMathEditor.tiptap.deprecated.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/TiptapEditorContent.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/BlockImage.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/ClearMarksOnEnter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CurrentNodeHighlighter.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomCodeBlockLowlight.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/CustomLink.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartHeadingBackspace.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/SmartPasteMarkdown.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/MdMathEditor/tip-tap.deprecated/extensions/index.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/CodeEditorSheetSection/CodeEditorSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/GraphSheetSection/GraphSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSection.old.d.ts +0 -6
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/JkmdSheetSection/JkmdSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetRecursiveSection.d.ts +0 -9
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/ListSheetSection.d.ts +0 -7
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/ListSheetSection/index.d.ts +0 -1
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizOptionsSheetSection/QuizOptionsSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.d.ts +0 -10
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionEditorModal.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/QuizProblemSheetSection/QuizProblemSheetSectionView.old.d.ts +0 -0
- package/dist/module-types/src/components/organisms/_layz_/WorksheetEditor/sheets/UpRemoveDownButtons.d.ts +0 -7
- package/dist/module-types/src/components/providers/JukiPageInitializer/useMouseInsidePage.d.ts +0 -1
- package/dist/module-types/src/components/templates/MainMenu/DrawerViewMenuMobile/index.d.ts +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export * from './types';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './types';
|
|
4
|
-
export * from './types';
|
|
5
|
-
export * from './types';
|
|
6
|
-
export * from './types';
|
|
1
|
+
export * from './BalloonIcon/types';
|
|
2
|
+
export * from './FacebookIcon/types';
|
|
3
|
+
export * from './GmailIcon/types';
|
|
4
|
+
export * from './SortIcon/types';
|
|
5
|
+
export * from './TelegramIcon/types';
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { Language } from '@juki-team/commons/enums';
|
|
2
2
|
import type { ProblemSettings, ProblemStatement } from '@juki-team/commons/types';
|
|
3
|
+
type LangCode = Lowercase<keyof typeof Language>;
|
|
4
|
+
type Localized = Partial<Record<LangCode, string>>;
|
|
5
|
+
/**
|
|
6
|
+
* Resolve a localized text field, falling back through preferred -> EN -> ES -> fallback.
|
|
7
|
+
* @param {Localized | undefined} field The object keyed by language code
|
|
8
|
+
* @param {Language} preferredLanguage The language to try first
|
|
9
|
+
* @param {string} fallback Value returned when no language is present
|
|
10
|
+
* @returns {string} The resolved text
|
|
11
|
+
*/
|
|
12
|
+
export declare const pickLanguage: (field: Localized | undefined, preferredLanguage: Language, fallback?: string) => string;
|
|
3
13
|
export declare const getEditorSettingsStorageKey: (useNickname: string) => string;
|
|
4
14
|
export declare const getProblemsStoreKey: (useNickname: string) => string;
|
|
5
15
|
export declare const getSourcesStoreKey: (useNickname: string) => string;
|
|
@@ -18,3 +28,4 @@ export declare const getStatementData: (t: (key: string) => string, { statement,
|
|
|
18
28
|
};
|
|
19
29
|
export declare const isJudgeWindowLocation: () => boolean;
|
|
20
30
|
export declare const getJudgeOrigin: (organizationKey: string, userOrganizationKey?: string) => string;
|
|
31
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import type { OrderedExcalidrawElement } from '@excalidraw/excalidraw/element/ty
|
|
|
2
2
|
import type { AppState } from '@excalidraw/excalidraw/types';
|
|
3
3
|
import type { CodeEditorSubmissionDTO, CodeRunDTO, EntityMembersDTO, GroupByTimestampKey, JkmdSubmissionDTO, OrganizationStylesResponseDTO, QuizOptionsSubmissionDTO, QuizProblemSubmissionDTO, UpsertWorksheetDTO } from '@juki-team/commons/dto';
|
|
4
4
|
import { type FilesJukiPub, HTTPMethod, type Judge, type Language, type OrganizationPlan, type ProblemVerdict, type Theme } from '@juki-team/commons/enums';
|
|
5
|
-
import type { ClientId, CodeEditorFiles, JudgeLanguage, UserRoles, UserSettings } from '@juki-team/commons/types';
|
|
5
|
+
import type { ClientId, CodeEditorFiles, JudgeLanguage, KeyFileType, UserRoles, UserSettings } from '@juki-team/commons/types';
|
|
6
6
|
import type { ErrorInfo } from 'react';
|
|
7
7
|
import type { RowDataType } from '../components/molecules/_lazy_/DataGrid/types';
|
|
8
8
|
import type { AuthorizedRequestType, SignInPayloadDTO, SignUpPayloadDTO, UpdatePasswordPayloadDTO, UpdateUserProfileDataPayloadDTO } from '../components/types';
|
|
@@ -205,6 +205,16 @@ export declare class ApiManager {
|
|
|
205
205
|
key: string;
|
|
206
206
|
};
|
|
207
207
|
}) => ResponseAPI<"GET">;
|
|
208
|
+
getSummary: (props: {
|
|
209
|
+
params: {
|
|
210
|
+
key: string;
|
|
211
|
+
};
|
|
212
|
+
}) => ResponseAPI<"GET">;
|
|
213
|
+
getLogs: (props: {
|
|
214
|
+
params: {
|
|
215
|
+
key: string;
|
|
216
|
+
};
|
|
217
|
+
}) => ResponseAPI<"GET">;
|
|
208
218
|
getBasicSummaryList: (props: {
|
|
209
219
|
params: {
|
|
210
220
|
page: number;
|
|
@@ -229,21 +239,41 @@ export declare class ApiManager {
|
|
|
229
239
|
sortUrl?: string;
|
|
230
240
|
};
|
|
231
241
|
}) => ResponseAPI<"GET">;
|
|
232
|
-
|
|
242
|
+
getTestCases: (props: {
|
|
233
243
|
params: {
|
|
234
244
|
key: string;
|
|
235
245
|
};
|
|
236
246
|
}) => ResponseAPI<"GET">;
|
|
237
|
-
|
|
247
|
+
getTestCasesGroups: (props: {
|
|
238
248
|
params: {
|
|
239
249
|
key: string;
|
|
240
250
|
};
|
|
241
251
|
}) => ResponseAPI<"GET">;
|
|
242
|
-
|
|
252
|
+
getAllTestCases: (props: {
|
|
243
253
|
params: {
|
|
244
254
|
key: string;
|
|
245
255
|
};
|
|
246
256
|
}) => ResponseAPI<"GET">;
|
|
257
|
+
createTestCase: (props: {
|
|
258
|
+
params: {
|
|
259
|
+
key: string;
|
|
260
|
+
};
|
|
261
|
+
body: Record<string, unknown>;
|
|
262
|
+
}) => ResponseAPI<"POST">;
|
|
263
|
+
getTestCaseKeyFile: (props: {
|
|
264
|
+
params: {
|
|
265
|
+
key: string;
|
|
266
|
+
testCaseKey: string;
|
|
267
|
+
keyFile: KeyFileType;
|
|
268
|
+
};
|
|
269
|
+
}) => ResponseAPI<"GET">;
|
|
270
|
+
deleteTestCaseKeyFile: (props: {
|
|
271
|
+
params: {
|
|
272
|
+
key: string;
|
|
273
|
+
testCaseKey: string;
|
|
274
|
+
keyFile: KeyFileType;
|
|
275
|
+
};
|
|
276
|
+
}) => ResponseAPI<"DELETE">;
|
|
247
277
|
submit: (props: {
|
|
248
278
|
params: {
|
|
249
279
|
key: string;
|
|
@@ -259,24 +289,22 @@ export declare class ApiManager {
|
|
|
259
289
|
key: string;
|
|
260
290
|
};
|
|
261
291
|
}) => ResponseAPI<"POST">;
|
|
292
|
+
createStatementPdf: (props: {
|
|
293
|
+
body: Record<string, unknown>;
|
|
294
|
+
}) => ResponseAPI<"POST">;
|
|
262
295
|
};
|
|
263
296
|
contest: {
|
|
264
|
-
|
|
297
|
+
create: (props: void) => ResponseAPI<"POST">;
|
|
298
|
+
update: (props: {
|
|
265
299
|
params: {
|
|
266
|
-
|
|
267
|
-
pageSize: number;
|
|
268
|
-
filterUrl?: string;
|
|
269
|
-
sortUrl?: string;
|
|
300
|
+
key: string;
|
|
270
301
|
};
|
|
271
|
-
}) => ResponseAPI<"
|
|
272
|
-
|
|
302
|
+
}) => ResponseAPI<"PUT">;
|
|
303
|
+
delete: (props: {
|
|
273
304
|
params: {
|
|
274
|
-
|
|
275
|
-
pageSize: number;
|
|
276
|
-
filterUrl?: string;
|
|
277
|
-
sortUrl?: string;
|
|
305
|
+
key: string;
|
|
278
306
|
};
|
|
279
|
-
}) => ResponseAPI<"
|
|
307
|
+
}) => ResponseAPI<"DELETE">;
|
|
280
308
|
getMetadata: (props: {
|
|
281
309
|
params: {
|
|
282
310
|
key: string;
|
|
@@ -301,6 +329,12 @@ export declare class ApiManager {
|
|
|
301
329
|
organizationKey?: string;
|
|
302
330
|
};
|
|
303
331
|
}) => ResponseAPI<"GET">;
|
|
332
|
+
getMembers: (props: {
|
|
333
|
+
params: {
|
|
334
|
+
key: string;
|
|
335
|
+
organizationKey?: string;
|
|
336
|
+
};
|
|
337
|
+
}) => ResponseAPI<"GET">;
|
|
304
338
|
getDataClarifications: (props: {
|
|
305
339
|
params: {
|
|
306
340
|
key: string;
|
|
@@ -315,12 +349,40 @@ export declare class ApiManager {
|
|
|
315
349
|
official: boolean;
|
|
316
350
|
};
|
|
317
351
|
}) => ResponseAPI<"GET">;
|
|
352
|
+
getScoreboardHistory: (props: {
|
|
353
|
+
params: {
|
|
354
|
+
key: string;
|
|
355
|
+
organizationKey?: string;
|
|
356
|
+
};
|
|
357
|
+
}) => ResponseAPI<"GET">;
|
|
318
358
|
getLogs: (props: {
|
|
319
359
|
params: {
|
|
320
360
|
key: string;
|
|
321
361
|
organizationKey?: string;
|
|
322
362
|
};
|
|
323
363
|
}) => ResponseAPI<"GET">;
|
|
364
|
+
getSummaryList: (props: {
|
|
365
|
+
params: {
|
|
366
|
+
page: number;
|
|
367
|
+
pageSize: number;
|
|
368
|
+
filterUrl?: string;
|
|
369
|
+
sortUrl?: string;
|
|
370
|
+
};
|
|
371
|
+
}) => ResponseAPI<"GET">;
|
|
372
|
+
getSystemList: (props: {
|
|
373
|
+
params: {
|
|
374
|
+
page: number;
|
|
375
|
+
pageSize: number;
|
|
376
|
+
filterUrl?: string;
|
|
377
|
+
sortUrl?: string;
|
|
378
|
+
};
|
|
379
|
+
}) => ResponseAPI<"GET">;
|
|
380
|
+
register: (props: {
|
|
381
|
+
params: {
|
|
382
|
+
key: string;
|
|
383
|
+
organizationKey?: string;
|
|
384
|
+
};
|
|
385
|
+
}) => ResponseAPI<"POST">;
|
|
324
386
|
submit: (props: {
|
|
325
387
|
params: {
|
|
326
388
|
key: string;
|
|
@@ -332,6 +394,12 @@ export declare class ApiManager {
|
|
|
332
394
|
source: string;
|
|
333
395
|
};
|
|
334
396
|
}) => ResponseAPI<"POST">;
|
|
397
|
+
retrieve: (props: {
|
|
398
|
+
params: {
|
|
399
|
+
key: string;
|
|
400
|
+
organizationKey?: string;
|
|
401
|
+
};
|
|
402
|
+
}) => ResponseAPI<"POST">;
|
|
335
403
|
recalculateScoreboard: (props: {
|
|
336
404
|
params: {
|
|
337
405
|
key: string;
|
|
@@ -339,34 +407,57 @@ export declare class ApiManager {
|
|
|
339
407
|
official: boolean;
|
|
340
408
|
};
|
|
341
409
|
}) => ResponseAPI<"POST">;
|
|
410
|
+
recalculateScoreboardHistory: (props: {
|
|
411
|
+
params: {
|
|
412
|
+
key: string;
|
|
413
|
+
organizationKey?: string;
|
|
414
|
+
};
|
|
415
|
+
}) => ResponseAPI<"POST">;
|
|
342
416
|
recalculatePrerequisites: (props: {
|
|
343
417
|
params: {
|
|
344
418
|
key: string;
|
|
345
419
|
organizationKey?: string;
|
|
346
420
|
};
|
|
347
421
|
}) => ResponseAPI<"POST">;
|
|
348
|
-
|
|
349
|
-
rejudge: (props: {
|
|
350
|
-
params: {
|
|
351
|
-
key: string;
|
|
352
|
-
problemKey: string;
|
|
353
|
-
organizationKey?: string;
|
|
354
|
-
};
|
|
355
|
-
}) => ResponseAPI<"POST">;
|
|
356
|
-
retrieve: (props: {
|
|
357
|
-
params: {
|
|
358
|
-
key: string;
|
|
359
|
-
problemKey: string;
|
|
360
|
-
organizationKey?: string;
|
|
361
|
-
};
|
|
362
|
-
}) => ResponseAPI<"POST">;
|
|
363
|
-
};
|
|
364
|
-
retrieve: (props: {
|
|
422
|
+
lockScoreboard: (props: {
|
|
365
423
|
params: {
|
|
366
424
|
key: string;
|
|
367
425
|
organizationKey?: string;
|
|
368
426
|
};
|
|
369
427
|
}) => ResponseAPI<"POST">;
|
|
428
|
+
unlockScoreboard: (props: {
|
|
429
|
+
params: {
|
|
430
|
+
key: string;
|
|
431
|
+
organizationKey?: string;
|
|
432
|
+
};
|
|
433
|
+
}) => ResponseAPI<"POST">;
|
|
434
|
+
enableUpsolving: (props: {
|
|
435
|
+
params: {
|
|
436
|
+
key: string;
|
|
437
|
+
organizationKey?: string;
|
|
438
|
+
};
|
|
439
|
+
}) => ResponseAPI<"POST">;
|
|
440
|
+
disableUpsolving: (props: {
|
|
441
|
+
params: {
|
|
442
|
+
key: string;
|
|
443
|
+
organizationKey?: string;
|
|
444
|
+
};
|
|
445
|
+
}) => ResponseAPI<"POST">;
|
|
446
|
+
createClarification: (props: {
|
|
447
|
+
params: {
|
|
448
|
+
key: string;
|
|
449
|
+
organizationKey?: string;
|
|
450
|
+
};
|
|
451
|
+
body: Record<string, unknown>;
|
|
452
|
+
}) => ResponseAPI<"POST">;
|
|
453
|
+
answerClarification: (props: {
|
|
454
|
+
params: {
|
|
455
|
+
key: string;
|
|
456
|
+
clarificationId: string;
|
|
457
|
+
organizationKey?: string;
|
|
458
|
+
};
|
|
459
|
+
body: Record<string, unknown>;
|
|
460
|
+
}) => ResponseAPI<"PUT">;
|
|
370
461
|
editGlobal: (props: {
|
|
371
462
|
params: {
|
|
372
463
|
key: string;
|
|
@@ -412,6 +503,22 @@ export declare class ApiManager {
|
|
|
412
503
|
organizationKey?: string;
|
|
413
504
|
};
|
|
414
505
|
}) => ResponseAPI<"POST">;
|
|
506
|
+
problem: {
|
|
507
|
+
rejudge: (props: {
|
|
508
|
+
params: {
|
|
509
|
+
key: string;
|
|
510
|
+
problemKey: string;
|
|
511
|
+
organizationKey?: string;
|
|
512
|
+
};
|
|
513
|
+
}) => ResponseAPI<"POST">;
|
|
514
|
+
retrieve: (props: {
|
|
515
|
+
params: {
|
|
516
|
+
key: string;
|
|
517
|
+
problemKey: string;
|
|
518
|
+
organizationKey?: string;
|
|
519
|
+
};
|
|
520
|
+
}) => ResponseAPI<"POST">;
|
|
521
|
+
};
|
|
415
522
|
};
|
|
416
523
|
submission: {
|
|
417
524
|
getSummaryList: (props: {
|
|
@@ -587,7 +694,7 @@ export declare class ApiManager {
|
|
|
587
694
|
hosts?: string[];
|
|
588
695
|
judgeKeys?: string[];
|
|
589
696
|
trustedOrganizationsKeys?: string[];
|
|
590
|
-
|
|
697
|
+
startsAt?: number;
|
|
591
698
|
plan?: OrganizationPlan;
|
|
592
699
|
};
|
|
593
700
|
}) => ResponseAPI<"PATCH">;
|
|
@@ -799,11 +906,11 @@ export declare class ApiManager {
|
|
|
799
906
|
}) => ResponseAPI<"PUT">;
|
|
800
907
|
};
|
|
801
908
|
statistics: {
|
|
802
|
-
|
|
909
|
+
getOrganizationStats: (props: {
|
|
803
910
|
params: {
|
|
804
911
|
organizationKey?: string;
|
|
805
|
-
|
|
806
|
-
|
|
912
|
+
startsAt: number;
|
|
913
|
+
endsAt: number;
|
|
807
914
|
groupBy: GroupByTimestampKey[];
|
|
808
915
|
};
|
|
809
916
|
}) => ResponseAPI<"GET">;
|
|
@@ -811,15 +918,16 @@ export declare class ApiManager {
|
|
|
811
918
|
params: {
|
|
812
919
|
organizationKey?: string;
|
|
813
920
|
problemKey: string;
|
|
814
|
-
|
|
815
|
-
|
|
921
|
+
startsAt: number;
|
|
922
|
+
endsAt: number;
|
|
923
|
+
groupBy: GroupByTimestampKey[];
|
|
816
924
|
};
|
|
817
925
|
}) => ResponseAPI<"GET">;
|
|
818
926
|
getUsersTracksStats: (props: {
|
|
819
927
|
params: {
|
|
820
928
|
organizationKeys: string;
|
|
821
|
-
|
|
822
|
-
|
|
929
|
+
startsAt: number;
|
|
930
|
+
endsAt: number;
|
|
823
931
|
groupBy: GroupByTimestampKey[];
|
|
824
932
|
};
|
|
825
933
|
}) => ResponseAPI<"GET">;
|
|
@@ -1001,6 +1109,21 @@ export declare class ApiManager {
|
|
|
1001
1109
|
}) => ResponseAPI<"POST">;
|
|
1002
1110
|
};
|
|
1003
1111
|
};
|
|
1112
|
+
rejudge: {
|
|
1113
|
+
getProblemCount: (props: {
|
|
1114
|
+
params: {
|
|
1115
|
+
problemJudgeKey: string;
|
|
1116
|
+
};
|
|
1117
|
+
}) => ResponseAPI<"GET">;
|
|
1118
|
+
rejudgeProblem: (props: {
|
|
1119
|
+
params: {
|
|
1120
|
+
problemJudgeKey: string;
|
|
1121
|
+
};
|
|
1122
|
+
}) => ResponseAPI<"POST">;
|
|
1123
|
+
};
|
|
1124
|
+
rank: {
|
|
1125
|
+
getList: (props: void) => ResponseAPI<"GET">;
|
|
1126
|
+
};
|
|
1004
1127
|
websocket: {
|
|
1005
1128
|
auth: (props: void) => ResponseAPI<"POST">;
|
|
1006
1129
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juki-team/base-ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.131",
|
|
4
4
|
"repository": "https://github.com/juki-team/base-ui",
|
|
5
5
|
"author": "juki-team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@floating-ui/react": "^0.27.19",
|
|
98
98
|
"@handsontable/react-wrapper": "^17.1.0",
|
|
99
99
|
"@hookform/resolvers": "^5.4.0",
|
|
100
|
-
"@juki-team/commons": "^0.2.
|
|
100
|
+
"@juki-team/commons": "^0.2.17",
|
|
101
101
|
"@mdx-js/mdx": "^3.1.1",
|
|
102
102
|
"@milkdown/components": "^7.21.1",
|
|
103
103
|
"@milkdown/core": "^7.21.1",
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
"push-commit": "f() { pnpm check:circular-deps && pnpm git:commit \"${1}\" && npm version patch --no-git-tag-version && pnpm build:rollup-clean && pnpm build:rollup && pnpm git:commit-version && pnpm build:publish && pnpm git:push; }; f",
|
|
254
254
|
"push": "npm login && pnpm check:circular-deps && pnpm build:rollup-clean && pnpm build:rollup && pnpm version patch && pnpm build:publish && pnpm git:push",
|
|
255
255
|
"push:storybook": "f() { pnpm check:circular-deps && pnpm git:commit \"${1}\" && npm version patch --no-git-tag-version && pnpm build:rollup-clean && pnpm build:sass && pnpm build:storybook && pnpm git:commit-version && pnpm build:publish && pnpm git:push; }; f",
|
|
256
|
-
"pull": "pnpm add @juki-team/commons@latest",
|
|
256
|
+
"pull": "rm -rf node_modules/@juki-team pnpm-lock.yaml && pnpm add @juki-team/commons@latest",
|
|
257
257
|
"chromatic": "npx chromatic --project-token=xyz",
|
|
258
258
|
"clean-and-reset": "rm -rf node_modules pnpm-lock.yaml && pnpm store prune && pnpm install",
|
|
259
259
|
"check-style-files": "find src/styles -type f -name \"*.scss\" -exec stat -f \"%z %N\" {} + | awk '{printf \"%.1f KB %s\\n\", $1/1024, $2}' | sort -nr",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@source inline("!header");
|
|
1
2
|
@source inline("!showItem");
|
|
2
3
|
@source inline("*:col-start-1");
|
|
3
4
|
@source inline("*:my-auto");
|
|
@@ -146,6 +147,7 @@
|
|
|
146
147
|
@source inline("nd-page");
|
|
147
148
|
@source inline("nd-subnav");
|
|
148
149
|
@source inline("nd-toc");
|
|
150
|
+
@source inline("nd-toc-placeholder");
|
|
149
151
|
@source inline("no");
|
|
150
152
|
@source inline("normalizedValue");
|
|
151
153
|
@source inline("onClickItem");
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@source inline("!footer");
|
|
1
2
|
@source inline("!isSelected");
|
|
2
3
|
@source inline("!showItem");
|
|
3
4
|
@source inline("*:col-start-1");
|
|
@@ -172,6 +173,7 @@
|
|
|
172
173
|
@source inline("nd-page");
|
|
173
174
|
@source inline("nd-subnav");
|
|
174
175
|
@source inline("nd-toc");
|
|
176
|
+
@source inline("nd-toc-placeholder");
|
|
175
177
|
@source inline("no");
|
|
176
178
|
@source inline("normalizedValue");
|
|
177
179
|
@source inline("onClickItem");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as r,C as a}from"./mermaid.core-S6eGK7_m.js";const o=(o,s)=>r.lang.round(a.parse(o)[s]);export{o as c};
|