classicy 0.5.7 → 0.5.8

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 (125) hide show
  1. package/3c6dd90084fa516904c8.svg +35 -0
  2. package/SystemFolder/ControlPanels/AppManager/ClassicyAppManager.d.ts +91 -0
  3. package/SystemFolder/ControlPanels/AppManager/ClassicyAppManagerContext.d.ts +11 -0
  4. package/SystemFolder/ControlPanels/AppearanceManager/ClassicyAppearance.d.ts +111 -0
  5. package/SystemFolder/ControlPanels/AppearanceManager/ClassicyAppearanceManager.d.ts +2 -0
  6. package/SystemFolder/ControlPanels/AppearanceManager/ClassicyColors.d.ts +2 -0
  7. package/SystemFolder/ControlPanels/AppearanceManager/ClassicySize.d.ts +4 -0
  8. package/SystemFolder/ControlPanels/ClassicyControlPanels.d.ts +2 -0
  9. package/SystemFolder/ControlPanels/DateAndTimeManager/ClassicyDateAndTimeManager.d.ts +4 -0
  10. package/SystemFolder/ControlPanels/SoundManager/ClassicySoundManager.d.ts +3 -0
  11. package/SystemFolder/ControlPanels/SoundManager/ClassicySoundManagerContext.d.ts +78 -0
  12. package/SystemFolder/Finder/Finder.d.ts +2 -0
  13. package/SystemFolder/Finder/FinderContext.d.ts +2 -0
  14. package/SystemFolder/QuickTime/MoviePlayer/MoviePlayer.d.ts +15 -0
  15. package/SystemFolder/QuickTime/MoviePlayer/MoviePlayerContext.d.ts +15 -0
  16. package/SystemFolder/QuickTime/PictureViewer/PictureViewer.d.ts +12 -0
  17. package/SystemFolder/QuickTime/PictureViewer/PictureViewerContext.d.ts +9 -0
  18. package/SystemFolder/SystemResources/AboutWindow/ClassicyAboutWindow.d.ts +12 -0
  19. package/SystemFolder/SystemResources/App/ClassicyApp.d.ts +13 -0
  20. package/SystemFolder/SystemResources/App/ClassicyAppUtils.d.ts +20 -0
  21. package/SystemFolder/SystemResources/Boot/ClassicyBoot.d.ts +3 -0
  22. package/SystemFolder/SystemResources/Button/ClassicyButton.d.ts +12 -0
  23. package/SystemFolder/SystemResources/Checkbox/ClassicyCheckbox.d.ts +12 -0
  24. package/SystemFolder/SystemResources/ContextualMenu/ClassicyContextualMenu.d.ts +11 -0
  25. package/SystemFolder/SystemResources/ControlGroup/ClassicyControlGroup.d.ts +9 -0
  26. package/SystemFolder/SystemResources/ControlLabel/ClassicyControlLabel.d.ts +17 -0
  27. package/SystemFolder/SystemResources/DatePicker/ClassicyDatePicker.d.ts +14 -0
  28. package/SystemFolder/SystemResources/DatePicker/ClassicyDatePickerUtils.d.ts +2 -0
  29. package/SystemFolder/SystemResources/Desktop/ClassicyDesktop.d.ts +8 -0
  30. package/SystemFolder/SystemResources/Desktop/ClassicyDesktopIcon.d.ts +14 -0
  31. package/SystemFolder/SystemResources/Desktop/ClassicyDesktopIconContext.d.ts +4 -0
  32. package/SystemFolder/SystemResources/Desktop/ClassicyDesktopManager.d.ts +29 -0
  33. package/SystemFolder/SystemResources/Desktop/ClassicyDesktopWindowManagerContext.d.ts +3 -0
  34. package/SystemFolder/SystemResources/Desktop/MenuBar/ClassicyDesktopMenuBar.d.ts +4 -0
  35. package/SystemFolder/SystemResources/Desktop/MenuBar/Widgets/Sound/ClassicyDesktopMenuWidgetSound.d.ts +8 -0
  36. package/SystemFolder/SystemResources/Desktop/MenuBar/Widgets/Time/ClassicyDesktopMenuWidgetTime.d.ts +4 -0
  37. package/SystemFolder/SystemResources/Disclosure/ClassicyDisclosure.d.ts +10 -0
  38. package/SystemFolder/SystemResources/File/ClassicyFileBrowser.d.ts +12 -0
  39. package/SystemFolder/SystemResources/File/ClassicyFileBrowserUtils.d.ts +6 -0
  40. package/SystemFolder/SystemResources/File/ClassicyFileBrowserViewIcons.d.ts +11 -0
  41. package/SystemFolder/SystemResources/File/ClassicyFileBrowserViewTable.d.ts +14 -0
  42. package/SystemFolder/SystemResources/File/ClassicyFileSystem.d.ts +28 -0
  43. package/SystemFolder/SystemResources/File/ClassicyFileSystemModel.d.ts +36 -0
  44. package/SystemFolder/SystemResources/File/DefaultClassicyFileSystem.d.ts +93 -0
  45. package/SystemFolder/SystemResources/Icon/ClassicyIcon.d.ts +14 -0
  46. package/SystemFolder/SystemResources/Input/ClassicyInput.d.ts +15 -0
  47. package/SystemFolder/SystemResources/Menu/ClassicyMenu.d.ts +29 -0
  48. package/SystemFolder/SystemResources/PopUpMenu/ClassicyPopUpMenu.d.ts +18 -0
  49. package/SystemFolder/SystemResources/ProgressBar/ClassicyProgressBar.d.ts +1 -0
  50. package/SystemFolder/SystemResources/QuickTime/QuickTimeMovieEmbed.d.ts +16 -0
  51. package/SystemFolder/SystemResources/QuickTime/QuickTimeUtils.d.ts +2 -0
  52. package/SystemFolder/SystemResources/RadioInput/ClassicyRadioInput.d.ts +20 -0
  53. package/SystemFolder/SystemResources/RichTextEditor/ClassicyRichTextEditor.d.ts +9 -0
  54. package/SystemFolder/SystemResources/Tabs/ClassicyTabs.d.ts +11 -0
  55. package/SystemFolder/SystemResources/TextEditor/ClassicyTextEditor.d.ts +1 -0
  56. package/SystemFolder/SystemResources/TimePicker/ClassicyTimePicker.d.ts +15 -0
  57. package/SystemFolder/SystemResources/Window/ClassicyWindow.d.ts +29 -0
  58. package/SystemFolder/SystemResources/Window/ClassicyWindowContext.d.ts +18 -0
  59. package/assets/img/icons/control-panels/appearance-manager/app.png +0 -0
  60. package/assets/img/icons/control-panels/appearance-manager/platinum.png +0 -0
  61. package/assets/img/icons/control-panels/date-time-manager/date-time-manager.png +0 -0
  62. package/assets/img/icons/control-panels/sound-manager/app.png +0 -0
  63. package/assets/img/icons/control-panels/sound-manager/sound-33.png +0 -0
  64. package/assets/img/icons/control-panels/sound-manager/sound-66.png +0 -0
  65. package/assets/img/icons/control-panels/sound-manager/sound-off.png +0 -0
  66. package/assets/img/icons/control-panels/sound-manager/sound-on.png +0 -0
  67. package/assets/img/icons/system/apple.png +0 -0
  68. package/assets/img/icons/system/drives/disk.png +0 -0
  69. package/assets/img/icons/system/files/file.png +0 -0
  70. package/assets/img/icons/system/folders/directory.png +0 -0
  71. package/assets/img/icons/system/mac.png +0 -0
  72. package/assets/img/icons/system/macos.png +0 -0
  73. package/assets/img/icons/system/quicktime/cc.png +0 -0
  74. package/assets/img/icons/system/quicktime/movie.png +0 -0
  75. package/assets/img/icons/system/quicktime/player.png +0 -0
  76. package/assets/img/wallpapers/azul_dark.png +0 -0
  77. package/assets/img/wallpapers/azul_extra_light.png +0 -0
  78. package/assets/img/wallpapers/azul_light.png +0 -0
  79. package/assets/img/wallpapers/bondi.png +0 -0
  80. package/assets/img/wallpapers/bondi_dark.png +0 -0
  81. package/assets/img/wallpapers/bondi_extra_dark.png +0 -0
  82. package/assets/img/wallpapers/bondi_light.png +0 -0
  83. package/assets/img/wallpapers/bondi_medium.png +0 -0
  84. package/assets/img/wallpapers/bossanova_bondi.png +0 -0
  85. package/assets/img/wallpapers/bossanova_poppy.png +0 -0
  86. package/assets/img/wallpapers/bossanova_poppy_2.png +0 -0
  87. package/assets/img/wallpapers/bubbles_bondi.png +0 -0
  88. package/assets/img/wallpapers/bubbles_poppy.png +0 -0
  89. package/assets/img/wallpapers/candy_bar.png +0 -0
  90. package/assets/img/wallpapers/candy_bar_azul.png +0 -0
  91. package/assets/img/wallpapers/candy_bar_pistachio.png +0 -0
  92. package/assets/img/wallpapers/candy_bar_sunny.png +0 -0
  93. package/assets/img/wallpapers/default.png +0 -0
  94. package/assets/img/wallpapers/diagonals_bondi.png +0 -0
  95. package/assets/img/wallpapers/diagonals_bondi_dark.png +0 -0
  96. package/assets/img/wallpapers/diagonals_poppy.png +0 -0
  97. package/assets/img/wallpapers/flat_peanuts.png +0 -0
  98. package/assets/img/wallpapers/flat_peanuts_poppy.png +0 -0
  99. package/assets/img/wallpapers/french_blue_dark.png +0 -0
  100. package/assets/img/wallpapers/french_blue_light.png +0 -0
  101. package/assets/img/wallpapers/macos.png +0 -0
  102. package/assets/img/wallpapers/peanuts_azul.png +0 -0
  103. package/assets/img/wallpapers/peanuts_pistachio.png +0 -0
  104. package/assets/img/wallpapers/pistachio_dark.png +0 -0
  105. package/assets/img/wallpapers/pistachio_light.png +0 -0
  106. package/assets/img/wallpapers/pistachio_medium.png +0 -0
  107. package/assets/img/wallpapers/poppy.png +0 -0
  108. package/assets/img/wallpapers/poppy_dark.png +0 -0
  109. package/assets/img/wallpapers/poppy_light.png +0 -0
  110. package/assets/img/wallpapers/poppy_medium.png +0 -0
  111. package/assets/img/wallpapers/rio_azul.png +0 -0
  112. package/assets/img/wallpapers/rio_pistachio.png +0 -0
  113. package/assets/img/wallpapers/ripple_azul.png +0 -0
  114. package/assets/img/wallpapers/ripple_bondi.png +0 -0
  115. package/assets/img/wallpapers/ripple_poppy.png +0 -0
  116. package/assets/img/wallpapers/sunny.png +0 -0
  117. package/assets/img/wallpapers/sunny_dark.png +0 -0
  118. package/assets/img/wallpapers/sunny_light.png +0 -0
  119. package/assets/img/wallpapers/waves_azul.png +0 -0
  120. package/assets/img/wallpapers/waves_bondi.png +0 -0
  121. package/assets/img/wallpapers/waves_sunny.png +0 -0
  122. package/e7dead02eb942a2c597f.svg +49 -0
  123. package/index.d.ts +57 -0
  124. package/index.js.LICENSE.txt +75 -0
  125. package/package.json +1 -7
@@ -0,0 +1,10 @@
1
+ import './ClassicyDisclosure.scss';
2
+ import React from 'react';
3
+ type ClassicyDisclosureTriangleDirections = 'up' | 'right' | 'down' | 'left';
4
+ type ClassicyDisclosureProps = {
5
+ direction?: ClassicyDisclosureTriangleDirections;
6
+ label?: string;
7
+ children?: any;
8
+ };
9
+ export declare const ClassicyDisclosure: React.FC<ClassicyDisclosureProps>;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import { ClassicyFileSystem } from '../../../SystemFolder/SystemResources/File/ClassicyFileSystem';
2
+ import React from 'react';
3
+ type ClassicyFileBrowserProps = {
4
+ fs: ClassicyFileSystem;
5
+ path: string;
6
+ appId: string;
7
+ display?: 'icons' | 'list';
8
+ dirOnClickFunc?: any;
9
+ fileOnClickFunc?: any;
10
+ };
11
+ export declare const ClassicyFileBrowser: React.FC<ClassicyFileBrowserProps>;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import { ClassicyTheme } from '../../../SystemFolder/ControlPanels/AppearanceManager/ClassicyAppearance';
2
+ export declare const capitalizeFirst: (s: string) => string;
3
+ export declare const iconImageByType: (byType: string) => any;
4
+ export declare const createGrid: (iconSize: number, iconPadding: number, containerMeasure: [number, number]) => [number, number];
5
+ export declare const getGridPosition: (i: number, grid: [number, number]) => [number, number];
6
+ export declare const cleanupIcon: (theme: ClassicyTheme, iconIndex: number, iconTotal: number, containerMeasure: [number, number]) => [number, number];
@@ -0,0 +1,11 @@
1
+ import { ClassicyFileSystem } from '../../../SystemFolder/SystemResources/File/ClassicyFileSystem';
2
+ import React, { RefObject } from 'react';
3
+ export type ClassicyFileBrowserViewIconsProps = {
4
+ fs: ClassicyFileSystem;
5
+ path: string;
6
+ appId: string;
7
+ dirOnClickFunc?: (path: string) => void;
8
+ fileOnClickFunc?: (path: string) => void;
9
+ holderRef?: RefObject<HTMLDivElement | null>;
10
+ };
11
+ export declare const ClassicyFileBrowserViewIcons: React.FC<ClassicyFileBrowserViewIconsProps>;
@@ -0,0 +1,14 @@
1
+ import './ClassicyFileBrowserViewTable.scss';
2
+ import { ClassicyFileSystem } from '../../../SystemFolder/SystemResources/File/ClassicyFileSystem';
3
+ import React, { RefObject } from 'react';
4
+ type ClassicyFileBrowserViewTableProps = {
5
+ fs: ClassicyFileSystem;
6
+ path: string;
7
+ appId: string;
8
+ iconSize?: number;
9
+ dirOnClickFunc?: any;
10
+ fileOnClickFunc?: any;
11
+ holderRef?: RefObject<HTMLDivElement | null>;
12
+ };
13
+ export declare const ClassicyFileBrowserViewTable: React.FC<ClassicyFileBrowserViewTableProps>;
14
+ export {};
@@ -0,0 +1,28 @@
1
+ import { ClassicyFileSystemEntry, ClassicyFileSystemEntryMetadata } from '../../../SystemFolder/SystemResources/File/ClassicyFileSystemModel';
2
+ export type ClassicyPathOrFileSystemEntry = string | ClassicyFileSystemEntry;
3
+ export declare class ClassicyFileSystem {
4
+ storageKey: string;
5
+ fs: ClassicyFileSystemEntry;
6
+ separator: string;
7
+ constructor(storageKey?: string, defaultFS?: any, separator?: string);
8
+ load(data: string): void;
9
+ snapshot(): string;
10
+ pathArray: (path: string) => string[];
11
+ resolve(path: string): ClassicyFileSystemEntry;
12
+ formatSize(bytes: number, measure?: 'bits' | 'bytes', decimals?: number): string;
13
+ filterMetadata(content: ClassicyFileSystemEntry, mode?: 'only' | 'remove'): ClassicyFileSystemEntry;
14
+ filterByType(path: string, byType?: string | string[], showInvisible?: boolean): ClassicyFileSystemEntry;
15
+ statFile(path: string): ClassicyFileSystemEntry;
16
+ size(path: ClassicyPathOrFileSystemEntry): number;
17
+ hash(path: ClassicyPathOrFileSystemEntry): string | undefined;
18
+ readFile(path: ClassicyPathOrFileSystemEntry): string | undefined;
19
+ writeFile(path: string, data: string, metaData?: ClassicyFileSystemEntryMetadata): void;
20
+ rmDir(path: string): ClassicyFileSystemEntry | undefined;
21
+ mkDir(path: string): void;
22
+ calculateSizeDir(path: ClassicyPathOrFileSystemEntry | string): number;
23
+ countVisibleFiles(path: string): number;
24
+ countInvisibleFilesInDir(path: string): number;
25
+ statDir(path: string): ClassicyFileSystemEntry | undefined;
26
+ private deepMerge;
27
+ private deletePropertyPath;
28
+ }
@@ -0,0 +1,36 @@
1
+ import { ReactNode } from 'react';
2
+ export declare enum ClassicyFileSystemEntryFileType {
3
+ File = "file",
4
+ Shortcut = "shortcut",
5
+ AppShortcut = "app_shortcut",
6
+ Drive = "drive",
7
+ Directory = "directory"
8
+ }
9
+ export type ClassicyFileSystemEntryMetadata = {
10
+ _type: ClassicyFileSystemEntryFileType;
11
+ _mimeType?: string;
12
+ _creator?: string;
13
+ _format?: string;
14
+ _label?: string;
15
+ _comments?: string;
16
+ _url?: string;
17
+ _icon?: string;
18
+ _badge?: ReactNode;
19
+ _createdOn?: Date;
20
+ _modifiedOn?: Date;
21
+ _versions?: ClassicyFileSystemEntry[];
22
+ _readOnly?: boolean;
23
+ _nameLocked?: boolean;
24
+ _trashed?: boolean;
25
+ _system?: boolean;
26
+ _invisible?: boolean;
27
+ _count?: number;
28
+ _countHidden?: number;
29
+ _path?: string;
30
+ _data?: any;
31
+ _size?: number;
32
+ _name?: string;
33
+ };
34
+ export type ClassicyFileSystemEntry = {
35
+ [entry: string]: any;
36
+ } & ClassicyFileSystemEntryMetadata;
@@ -0,0 +1,93 @@
1
+ import { ClassicyFileSystemEntryFileType } from '../../../SystemFolder/SystemResources/File/ClassicyFileSystemModel';
2
+ export declare const DefaultFSContent: {
3
+ 'Macintosh HD': {
4
+ _type: ClassicyFileSystemEntryFileType;
5
+ _icon: any;
6
+ Applications: {
7
+ _type: ClassicyFileSystemEntryFileType;
8
+ _icon: any;
9
+ TextEdit: {
10
+ _type: ClassicyFileSystemEntryFileType;
11
+ _mimeType: string;
12
+ _data: string;
13
+ _invisible: boolean;
14
+ };
15
+ Calculator: {
16
+ _type: ClassicyFileSystemEntryFileType;
17
+ _mimeType: string;
18
+ _data: string;
19
+ _invisible: boolean;
20
+ };
21
+ };
22
+ Library: {
23
+ _type: ClassicyFileSystemEntryFileType;
24
+ _icon: any;
25
+ Extensions: {
26
+ _type: ClassicyFileSystemEntryFileType;
27
+ _icon: any;
28
+ _mimeType: string;
29
+ _data: string;
30
+ };
31
+ };
32
+ 'System Folder': {
33
+ _type: ClassicyFileSystemEntryFileType;
34
+ _icon: any;
35
+ Finder: {
36
+ _type: ClassicyFileSystemEntryFileType;
37
+ _mimeType: string;
38
+ _data: string;
39
+ };
40
+ System: {
41
+ _type: ClassicyFileSystemEntryFileType;
42
+ _mimeType: string;
43
+ _data: string;
44
+ };
45
+ };
46
+ Users: {
47
+ _type: ClassicyFileSystemEntryFileType;
48
+ _icon: any;
49
+ Guest: {
50
+ _type: ClassicyFileSystemEntryFileType;
51
+ _mimeType: string;
52
+ _data: string;
53
+ };
54
+ Shared: {
55
+ _type: ClassicyFileSystemEntryFileType;
56
+ _mimeType: string;
57
+ _data: string;
58
+ };
59
+ };
60
+ Utilities: {
61
+ _type: ClassicyFileSystemEntryFileType;
62
+ _icon: any;
63
+ 'Disk Utility.app': {
64
+ _type: ClassicyFileSystemEntryFileType;
65
+ _mimeType: string;
66
+ _data: string;
67
+ };
68
+ 'Terminal.app': {
69
+ _type: ClassicyFileSystemEntryFileType;
70
+ _mimeType: string;
71
+ _data: string;
72
+ };
73
+ };
74
+ Videos: {
75
+ _type: ClassicyFileSystemEntryFileType;
76
+ _icon: any;
77
+ 'BuckBunny.mov': {
78
+ _type: ClassicyFileSystemEntryFileType;
79
+ _creator: string;
80
+ _format: string;
81
+ _mimeType: string;
82
+ _data: string;
83
+ };
84
+ 'Monkees.mp3': {
85
+ _type: ClassicyFileSystemEntryFileType;
86
+ _creator: string;
87
+ _format: string;
88
+ _mimeType: string;
89
+ _data: string;
90
+ };
91
+ };
92
+ };
93
+ };
@@ -0,0 +1,14 @@
1
+ import './ClassicyIcon.scss';
2
+ import React from 'react';
3
+ interface ClassicyIconProps {
4
+ appId: string;
5
+ name: string;
6
+ icon: string;
7
+ label?: string;
8
+ initialPosition?: [number, number];
9
+ holder?: any;
10
+ onClickFunc?: any;
11
+ invisible?: boolean;
12
+ }
13
+ export declare const ClassicyIcon: React.FC<ClassicyIconProps>;
14
+ export {};
@@ -0,0 +1,15 @@
1
+ import './ClassicyInput.scss';
2
+ import React, { ChangeEventHandler } from 'react';
3
+ interface ClassicyInputProps {
4
+ id: string;
5
+ inputType?: 'text';
6
+ onChangeFunc?: ChangeEventHandler<HTMLInputElement>;
7
+ labelTitle?: string;
8
+ placeholder?: string;
9
+ prefillValue?: string;
10
+ disabled?: boolean;
11
+ isDefault?: boolean;
12
+ ref?: any;
13
+ }
14
+ export declare const ClassicyInput: React.FC<ClassicyInputProps>;
15
+ export {};
@@ -0,0 +1,29 @@
1
+ import '@/SystemFolder/SystemResources/Menu/ClassicyMenu.scss';
2
+ import React from 'react';
3
+ export interface ClassicyMenuItem {
4
+ id: string;
5
+ title?: string;
6
+ image?: string;
7
+ disabled?: boolean;
8
+ icon?: string;
9
+ keyboardShortcut?: string;
10
+ link?: string;
11
+ event?: string;
12
+ eventData?: any;
13
+ onClickFunc?: any;
14
+ menuChildren?: ClassicyMenuItem[];
15
+ className?: string;
16
+ }
17
+ interface ClassicyMenuProps {
18
+ name: string;
19
+ menuItems: ClassicyMenuItem[];
20
+ navClass?: string;
21
+ subNavClass?: string;
22
+ children?: any;
23
+ }
24
+ export declare const ClassicyMenu: React.FC<ClassicyMenuProps>;
25
+ export declare const ClassicyMenuItem: React.FC<{
26
+ menuItem: ClassicyMenuItem;
27
+ subNavClass: string;
28
+ }>;
29
+ export {};
@@ -0,0 +1,18 @@
1
+ import './ClassicyPopUpMenu.scss';
2
+ import React from 'react';
3
+ type classicyPopUpMenuOptions = {
4
+ value: string;
5
+ label: string;
6
+ icon?: string;
7
+ };
8
+ type classicyPopUpMenuProps = {
9
+ id: string;
10
+ label?: string;
11
+ options: classicyPopUpMenuOptions[];
12
+ selected?: string;
13
+ small?: boolean;
14
+ onChangeFunc?: any;
15
+ style?: any;
16
+ };
17
+ export declare const ClassicyPopUpMenu: React.FC<classicyPopUpMenuProps>;
18
+ export {};
@@ -0,0 +1 @@
1
+ import './ClassicyProgressBar.scss';
@@ -0,0 +1,16 @@
1
+ import './QuickTimeMovieEmbed.scss';
2
+ import React from 'react';
3
+ type QuickTimeVideoEmbed = {
4
+ appId: string;
5
+ name: string;
6
+ url: string;
7
+ type: 'audio' | 'video';
8
+ options?: {};
9
+ subtitlesUrl?: string;
10
+ autoPlay?: boolean;
11
+ hideControls?: boolean;
12
+ controlsDocked?: boolean;
13
+ muted?: boolean;
14
+ };
15
+ export declare const QuickTimeVideoEmbed: React.FC<QuickTimeVideoEmbed>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare function timeFriendly(seconds: number): string;
2
+ export declare function getVolumeIcon(volume: number): string;
@@ -0,0 +1,20 @@
1
+ import './ClassicyRadioInput.scss';
2
+ import React from 'react';
3
+ type ClassicyRadioInputProps = {
4
+ name: string;
5
+ label?: string;
6
+ align?: 'rows' | 'columns';
7
+ disabled?: boolean;
8
+ onClickFunc?: (id: string) => void;
9
+ inputs: ClassicyRadioInputValueProps[];
10
+ };
11
+ type ClassicyRadioInputValueProps = {
12
+ id: string;
13
+ checked?: boolean;
14
+ mixed?: boolean;
15
+ isDefault?: boolean;
16
+ disabled?: boolean;
17
+ label?: string;
18
+ };
19
+ export declare const ClassicyRadioInput: React.FC<ClassicyRadioInputProps>;
20
+ export {};
@@ -0,0 +1,9 @@
1
+ import './ClassicyRichTextEditor.scss';
2
+ import { MDXEditorMethods } from '@mdxeditor/editor';
3
+ import React, { RefObject } from 'react';
4
+ interface ClassicyRichTextEditorProps {
5
+ content: string;
6
+ editorRef?: RefObject<MDXEditorMethods | null>;
7
+ }
8
+ export declare let ClassicyRichTextEditor: React.FC<ClassicyRichTextEditorProps>;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import './ClassicyTabs.scss';
2
+ import React from 'react';
3
+ interface TabProps {
4
+ tabs: TabIndividual[];
5
+ }
6
+ interface TabIndividual {
7
+ title: string;
8
+ children: any;
9
+ }
10
+ export declare const ClassicyTabs: React.FC<TabProps>;
11
+ export {};
@@ -0,0 +1 @@
1
+ import './ClassicyTextEditor.scss';
@@ -0,0 +1,15 @@
1
+ import './ClassicyTimePicker.scss';
2
+ import React from 'react';
3
+ interface ClassicyTimePickerProps {
4
+ id: string;
5
+ inputType?: 'text';
6
+ onChangeFunc?: any;
7
+ labelTitle?: string;
8
+ placeholder?: string;
9
+ prefillValue?: Date;
10
+ disabled?: boolean;
11
+ isDefault?: boolean;
12
+ ref?: any;
13
+ }
14
+ export declare const ClassicyTimePicker: React.FC<ClassicyTimePickerProps>;
15
+ export {};
@@ -0,0 +1,29 @@
1
+ import { ClassicyMenuItem } from '../../../SystemFolder/SystemResources/Menu/ClassicyMenu';
2
+ import './ClassicyWindow.scss';
3
+ import React, { ReactNode } from 'react';
4
+ interface ClassicyWindowProps {
5
+ title?: string;
6
+ id: string;
7
+ appId: string;
8
+ icon?: string;
9
+ hidden?: boolean;
10
+ closable?: boolean;
11
+ zoomable?: boolean;
12
+ collapsable?: boolean;
13
+ resizable?: boolean;
14
+ scrollable?: boolean;
15
+ modal?: boolean;
16
+ growable?: boolean;
17
+ defaultWindow?: boolean;
18
+ initialSize?: [number, number];
19
+ initialPosition?: [number, number];
20
+ minimumSize?: [number, number];
21
+ header?: ReactNode;
22
+ appMenu?: ClassicyMenuItem[];
23
+ contextMenu?: ClassicyMenuItem[];
24
+ onCloseFunc?: any;
25
+ children?: ReactNode;
26
+ type?: string;
27
+ }
28
+ export declare const ClassicyWindow: React.FC<ClassicyWindowProps>;
29
+ export {};
@@ -0,0 +1,18 @@
1
+ import { ClassicyMenuItem } from '../../../SystemFolder/SystemResources/Menu/ClassicyMenu';
2
+ export type ClassicyWindowState = {
3
+ size: [number, number];
4
+ position: [number, number];
5
+ clickPosition?: [number, number];
6
+ closed: boolean;
7
+ focused: boolean;
8
+ menuBar: ClassicyMenuItem[];
9
+ collapsed: boolean;
10
+ zoomed: boolean;
11
+ dragging: boolean;
12
+ resizing: boolean;
13
+ sounding: boolean;
14
+ moving: boolean;
15
+ contextMenu?: ClassicyMenuItem[];
16
+ contextMenuShown: boolean;
17
+ contextMenuLocation?: [number, number];
18
+ };
Binary file
Binary file
Binary file
Binary file
Binary file