@fde-desktop/fde-core 0.3.7 → 0.4.1

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 (163) hide show
  1. package/README.md +419 -68
  2. package/dist/CalendarApp-CHLUCAI7.css +744 -0
  3. package/dist/CalendarApp-K7ZOUZ6C.js +2 -0
  4. package/dist/CalendarApp-OTGEERSS.cjs +8 -0
  5. package/dist/CodeServerApp-5KZGO7HL.css +75 -0
  6. package/dist/CodeServerApp-LUZFCQBI.js +3 -0
  7. package/dist/CodeServerApp-P3TMJPLY.cjs +9 -0
  8. package/dist/CreateItemApp-NAZMXOPK.cjs +14 -0
  9. package/dist/CreateItemApp-PQB5GTFG.css +107 -0
  10. package/dist/CreateItemApp-ZHCTSPQE.js +8 -0
  11. package/dist/DeviceInfoApp-R6YNVIGX.cjs +11 -0
  12. package/dist/DeviceInfoApp-YHCYAO6N.js +5 -0
  13. package/dist/DeviceInfoApp-ZSMRSITP.css +7 -0
  14. package/dist/FilesApp-AKCVRTXR.js +8 -0
  15. package/dist/FilesApp-E6L5W3T2.css +1817 -0
  16. package/dist/FilesApp-RW3Y6ILO.cjs +14 -0
  17. package/dist/ImageViewerApp-5UXNSW2O.js +11 -0
  18. package/dist/ImageViewerApp-N2Q7E7WZ.css +215 -0
  19. package/dist/ImageViewerApp-RRRRKSFN.cjs +17 -0
  20. package/dist/ImageViewerMenuBar-I3TFKQPS.cjs +14 -0
  21. package/dist/ImageViewerMenuBar-TV5C6TM2.js +5 -0
  22. package/dist/ImageViewerMenuBar-XLK4LIHW.css +56 -0
  23. package/dist/MenuEditApp-HUZRFEHE.js +9 -0
  24. package/dist/MenuEditApp-MCUHGTKQ.cjs +15 -0
  25. package/dist/MenuEditApp-YA6HSAMJ.css +94 -0
  26. package/dist/MenuEditMenuBar-7VHMZNRM.css +56 -0
  27. package/dist/MenuEditMenuBar-GF6L4PGZ.cjs +15 -0
  28. package/dist/MenuEditMenuBar-IUXFPZE5.js +6 -0
  29. package/dist/NotesApp-37BV33C6.js +10 -0
  30. package/dist/NotesApp-4EVUQEFZ.cjs +16 -0
  31. package/dist/NotesApp-TQ6IHDNX.css +302 -0
  32. package/dist/NotesMenuBar-25LKN3SE.cjs +15 -0
  33. package/dist/NotesMenuBar-MXLOX7OT.css +56 -0
  34. package/dist/NotesMenuBar-SRV3AIAL.js +6 -0
  35. package/dist/PdfApp-5VBDNRMC.cjs +16 -0
  36. package/dist/PdfApp-BUIC5U5H.css +206 -0
  37. package/dist/PdfApp-RH6MZZX5.js +10 -0
  38. package/dist/PdfMenuBar-NLZC6JHS.js +4 -0
  39. package/dist/PdfMenuBar-QUM72EE4.css +56 -0
  40. package/dist/PdfMenuBar-WBRTKMLN.cjs +13 -0
  41. package/dist/SettingsApp-5LDHEHYV.cjs +20 -0
  42. package/dist/SettingsApp-JVOSEFH3.css +283 -0
  43. package/dist/SettingsApp-X6764D7T.js +14 -0
  44. package/dist/SettingsMenuBar-5CBSSMVM.css +56 -0
  45. package/dist/SettingsMenuBar-VLT6TTCM.js +6 -0
  46. package/dist/SettingsMenuBar-Y5QEXDEO.cjs +15 -0
  47. package/dist/StorybookApp-NQ244BER.css +7 -0
  48. package/dist/StorybookApp-NZDV4X3Y.js +1 -0
  49. package/dist/StorybookApp-VF3KIMU3.cjs +7 -0
  50. package/dist/TerminalApp-CDGWRBFJ.cjs +10 -0
  51. package/dist/TerminalApp-EAATMIMX.css +77 -0
  52. package/dist/TerminalApp-GCKJCM55.js +4 -0
  53. package/dist/TerminalMenuBar-3J26O26Q.css +56 -0
  54. package/dist/TerminalMenuBar-7BH7MGNJ.cjs +14 -0
  55. package/dist/TerminalMenuBar-7JAEQUZ4.js +5 -0
  56. package/dist/UploaderApp-2WYRCUQV.js +10 -0
  57. package/dist/UploaderApp-6KV3TGCT.css +1817 -0
  58. package/dist/UploaderApp-EYFC36PM.cjs +16 -0
  59. package/dist/chunk-2FO445RM.cjs +449 -0
  60. package/dist/chunk-2PSTHGTD.cjs +42 -0
  61. package/dist/chunk-2RQX7QBP.cjs +148 -0
  62. package/dist/chunk-3IICBLEA.js +442 -0
  63. package/dist/chunk-43W6UDUZ.cjs +19 -0
  64. package/dist/chunk-4E45FBAH.js +223 -0
  65. package/dist/chunk-4MCFQPKY.js +444 -0
  66. package/dist/chunk-4OH5RPSQ.cjs +38 -0
  67. package/dist/chunk-4XURSNM4.js +43 -0
  68. package/dist/chunk-4ZCRYHL6.js +407 -0
  69. package/dist/chunk-54PYEQLK.js +283 -0
  70. package/dist/chunk-5C6IQE42.cjs +35 -0
  71. package/dist/chunk-5NOHYJNH.js +84 -0
  72. package/dist/chunk-5PYK5ASL.js +162 -0
  73. package/dist/chunk-5YH6AKEO.js +146 -0
  74. package/dist/chunk-657BJOY5.cjs +324 -0
  75. package/dist/chunk-6QOUYSEE.cjs +2303 -0
  76. package/dist/chunk-7SAFECOJ.js +215 -0
  77. package/dist/chunk-7Y7HB7FB.cjs +53 -0
  78. package/dist/chunk-ABIAPZ6S.cjs +45 -0
  79. package/dist/chunk-AQL372JF.cjs +219 -0
  80. package/dist/chunk-AXDUVZVP.cjs +88 -0
  81. package/dist/chunk-AYFNYHMP.js +541 -0
  82. package/dist/chunk-BDO6B7MZ.cjs +451 -0
  83. package/dist/chunk-BKXEA2BK.cjs +286 -0
  84. package/dist/chunk-BLV47DX2.js +47 -0
  85. package/dist/chunk-BQCD5RAF.cjs +48 -0
  86. package/dist/chunk-BQL3YXMV.js +17429 -0
  87. package/dist/chunk-C6BEZNAM.cjs +45 -0
  88. package/dist/chunk-CFWV2JMR.js +234 -0
  89. package/dist/chunk-CV5PUHAE.cjs +86 -0
  90. package/dist/chunk-D5MVFFID.js +42 -0
  91. package/dist/chunk-D7R55WWT.js +1601 -0
  92. package/dist/chunk-DMNF4CNN.cjs +49 -0
  93. package/dist/chunk-DWP2SYF7.js +55 -0
  94. package/dist/chunk-E55VXNLK.cjs +17498 -0
  95. package/dist/chunk-EAELL43F.js +42 -0
  96. package/dist/chunk-EUQLZW6P.js +48 -0
  97. package/dist/chunk-EX5V2ZTU.js +40 -0
  98. package/dist/chunk-FH4ILMKF.js +38 -0
  99. package/dist/chunk-FRHBM2U7.js +33 -0
  100. package/dist/chunk-FX2TPX3L.cjs +45 -0
  101. package/dist/chunk-GCYD6T52.js +32 -0
  102. package/dist/chunk-GRYCUBJZ.js +9 -0
  103. package/dist/chunk-HWHBSAUC.js +40 -0
  104. package/dist/chunk-ICUE6T7J.cjs +50 -0
  105. package/dist/chunk-IDHP3R4I.js +31 -0
  106. package/dist/chunk-IUOQPOEN.js +2293 -0
  107. package/dist/chunk-J7L2S2GT.cjs +34 -0
  108. package/dist/chunk-JEBKLIMU.cjs +123 -0
  109. package/dist/chunk-KQHICFX3.js +121 -0
  110. package/dist/chunk-LMJE6V4N.cjs +42 -0
  111. package/dist/chunk-MVDGM5Y4.js +68 -0
  112. package/dist/chunk-NVEGEK3N.js +31 -0
  113. package/dist/chunk-NWMSWRUD.js +2236 -0
  114. package/dist/chunk-ODXL6BR3.js +77 -0
  115. package/dist/chunk-OJIDKDKF.js +68 -0
  116. package/dist/chunk-PKPQA5NR.js +15 -0
  117. package/dist/chunk-PNDBLFJW.cjs +50 -0
  118. package/dist/chunk-PYTKNRGM.js +280 -0
  119. package/dist/chunk-Q3WA72BF.cjs +70 -0
  120. package/dist/chunk-QB72BLCJ.cjs +237 -0
  121. package/dist/chunk-QHBBLML3.js +86 -0
  122. package/dist/chunk-RDIDAZ3S.cjs +9 -0
  123. package/dist/chunk-RGJPRXYY.js +48 -0
  124. package/dist/chunk-RQ6OZRUW.cjs +41 -0
  125. package/dist/chunk-SBE4SZAN.cjs +226 -0
  126. package/dist/chunk-SYGUWGWK.cjs +2329 -0
  127. package/dist/chunk-TDZ43MUX.cjs +165 -0
  128. package/dist/chunk-TGWMOHAO.js +17 -0
  129. package/dist/chunk-U4RYIS6Z.cjs +548 -0
  130. package/dist/chunk-UIQCTAVM.cjs +59 -0
  131. package/dist/chunk-XVASHRCE.cjs +70 -0
  132. package/dist/chunk-XYSMVQQD.cjs +1608 -0
  133. package/dist/chunk-YAIWI4Z5.js +7 -0
  134. package/dist/chunk-YP2PLNOF.cjs +34 -0
  135. package/dist/chunk-YSOLW4FS.cjs +11 -0
  136. package/dist/chunk-YY6OUR2U.js +44 -0
  137. package/dist/chunk-YZWS7FDT.cjs +409 -0
  138. package/dist/chunk-Z5YGWL65.cjs +39 -0
  139. package/dist/chunk-ZBGWYTCU.cjs +83 -0
  140. package/dist/chunk-ZHB5Q2M6.js +36 -0
  141. package/dist/chunk-ZHNDXNL4.js +45 -0
  142. package/dist/chunk-ZX3EDZ5C.cjs +17 -0
  143. package/dist/index.cjs +5641 -0
  144. package/dist/index.css +9192 -0
  145. package/dist/index.d.cts +2019 -0
  146. package/dist/index.d.ts +2019 -11
  147. package/dist/index.js +4794 -6598
  148. package/package.json +26 -14
  149. package/dist/apps/index.d.ts +0 -2
  150. package/dist/components/index.d.ts +0 -1
  151. package/dist/constants/index.d.ts +0 -12
  152. package/dist/domain/index.d.ts +0 -5
  153. package/dist/fc-D_a-n3yF.js +0 -20204
  154. package/dist/fi-DwZ_MW7F.js +0 -9993
  155. package/dist/hooks/index.d.ts +0 -28
  156. package/dist/i18n/index.d.ts +0 -2
  157. package/dist/iconBase-B764UN-4.js +0 -108
  158. package/dist/infrastructure/index.d.ts +0 -6
  159. package/dist/interfaces/index.d.ts +0 -11
  160. package/dist/stores/index.d.ts +0 -8
  161. package/dist/types/index.d.ts +0 -4
  162. package/dist/utils/index.d.ts +0 -14
  163. package/dist/vsc-CeA30gcb.js +0 -9574
@@ -1,28 +0,0 @@
1
- export { useOpenApp } from '@presentation/Hooks/useOpenApp';
2
- export { useFdeApi } from '@presentation/Hooks/useFdeApi';
3
- export { useNotifications } from '@presentation/Hooks/useNotifications';
4
- export { useSystemTheme } from '@presentation/Hooks/useSystemTheme';
5
- export { useAnimationDuration } from '@presentation/Hooks/useAnimationDuration';
6
- export { useAppName } from '@presentation/Hooks/useAppName';
7
- export { useClock } from '@presentation/Hooks/useClock';
8
- export { useCollapsible } from '@presentation/Hooks/useCollapsible';
9
- export { useContextMenu } from '@presentation/Hooks/useContextMenu';
10
- export { useDeviceDetection } from '@presentation/Hooks/useDeviceDetection';
11
- export { useDownload } from '@presentation/Hooks/useDownload';
12
- export { useFcIcon } from '@presentation/Hooks/useFcIcon';
13
- export { useFiIcon } from '@presentation/Hooks/useFiIcon';
14
- export { useFolderName } from '@presentation/Hooks/useFolderName';
15
- export { useIsDirty } from '@presentation/Hooks/useIsDirty';
16
- export { useJsDos } from '@presentation/Hooks/useJsDos';
17
- export { useLanguageSync } from '@presentation/Hooks/useLanguageSync';
18
- export { useResolvedUrl } from '@presentation/Hooks/useResolvedUrl';
19
- export { useSearchFilter } from '@presentation/Hooks/useSearchFilter';
20
- export { useTaskbarHeight } from '@presentation/Hooks/useTaskbarHeight';
21
- export { useTaskbarContextMenu } from '@presentation/Hooks/useTaskbarContextMenu';
22
- export { useVscIcon } from '@presentation/Hooks/useVscIcon';
23
- export { useWindowButtonRegistry } from '@presentation/Hooks/useWindowButtonRegistry';
24
- export { useApplyFont } from '@presentation/Hooks/useApplyFont';
25
- export { useFontDownload } from '@presentation/Hooks/useFontDownload';
26
- export { useDynamicIcon } from '@presentation/Hooks/useDynamicIcon';
27
- export { useAdaptiveDimensions } from '@presentation/Hooks/useAdaptiveDimensions';
28
- export { useCustomAppHMR } from '@shared/Hooks/useCustomAppHMR';
@@ -1,2 +0,0 @@
1
- import { default as i18n } from 'i18next';
2
- export default i18n;
@@ -1,108 +0,0 @@
1
- import e from "react";
2
- //#region ../../node_modules/.bun/react-icons@5.6.0+b1ab299f0a400331/node_modules/react-icons/lib/iconContext.mjs
3
- var t = {
4
- color: void 0,
5
- size: void 0,
6
- className: void 0,
7
- style: void 0,
8
- attr: void 0
9
- }, n = e.createContext && /* @__PURE__ */ e.createContext(t), r = [
10
- "attr",
11
- "size",
12
- "title"
13
- ];
14
- function i(e, t) {
15
- if (e == null) return {};
16
- var n, r, i = a(e, t);
17
- if (Object.getOwnPropertySymbols) {
18
- var o = Object.getOwnPropertySymbols(e);
19
- for (r = 0; r < o.length; r++) n = o[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
20
- }
21
- return i;
22
- }
23
- function a(e, t) {
24
- if (e == null) return {};
25
- var n = {};
26
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
27
- if (t.indexOf(r) !== -1) continue;
28
- n[r] = e[r];
29
- }
30
- return n;
31
- }
32
- function o() {
33
- return o = Object.assign ? Object.assign.bind() : function(e) {
34
- for (var t = 1; t < arguments.length; t++) {
35
- var n = arguments[t];
36
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
37
- }
38
- return e;
39
- }, o.apply(null, arguments);
40
- }
41
- function s(e, t) {
42
- var n = Object.keys(e);
43
- if (Object.getOwnPropertySymbols) {
44
- var r = Object.getOwnPropertySymbols(e);
45
- t && (r = r.filter(function(t) {
46
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
47
- })), n.push.apply(n, r);
48
- }
49
- return n;
50
- }
51
- function c(e) {
52
- for (var t = 1; t < arguments.length; t++) {
53
- var n = arguments[t] == null ? {} : arguments[t];
54
- t % 2 ? s(Object(n), !0).forEach(function(t) {
55
- l(e, t, n[t]);
56
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
57
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
58
- });
59
- }
60
- return e;
61
- }
62
- function l(e, t, n) {
63
- return (t = u(t)) in e ? Object.defineProperty(e, t, {
64
- value: n,
65
- enumerable: !0,
66
- configurable: !0,
67
- writable: !0
68
- }) : e[t] = n, e;
69
- }
70
- function u(e) {
71
- var t = d(e, "string");
72
- return typeof t == "symbol" ? t : t + "";
73
- }
74
- function d(e, t) {
75
- if (typeof e != "object" || !e) return e;
76
- var n = e[Symbol.toPrimitive];
77
- if (n !== void 0) {
78
- var r = n.call(e, t || "default");
79
- if (typeof r != "object") return r;
80
- throw TypeError("@@toPrimitive must return a primitive value.");
81
- }
82
- return (t === "string" ? String : Number)(e);
83
- }
84
- function f(t) {
85
- return t && t.map((t, n) => /* @__PURE__ */ e.createElement(t.tag, c({ key: n }, t.attr), f(t.child)));
86
- }
87
- function p(t) {
88
- return (n) => /* @__PURE__ */ e.createElement(m, o({ attr: c({}, t.attr) }, n), f(t.child));
89
- }
90
- function m(a) {
91
- var s = (t) => {
92
- var { attr: n, size: s, title: l } = a, u = i(a, r), d = s || t.size || "1em", f;
93
- return t.className && (f = t.className), a.className && (f = (f ? f + " " : "") + a.className), /* @__PURE__ */ e.createElement("svg", o({
94
- stroke: "currentColor",
95
- fill: "currentColor",
96
- strokeWidth: "0"
97
- }, t.attr, n, u, {
98
- className: f,
99
- style: c(c({ color: a.color || t.color }, t.style), a.style),
100
- height: d,
101
- width: d,
102
- xmlns: "http://www.w3.org/2000/svg"
103
- }), l && /* @__PURE__ */ e.createElement("title", null, l), a.children);
104
- };
105
- return n === void 0 ? s(t) : /* @__PURE__ */ e.createElement(n.Consumer, null, (e) => s(e));
106
- }
107
- //#endregion
108
- export { p as t };
@@ -1,6 +0,0 @@
1
- export { initializeFdeApi, isFdeApiInitialized } from '@infrastructure/Adapters/FdeApiAdapter';
2
- export { IndexedDBFileSystem } from '@infrastructure/Adapters/IndexedDBFileSystem';
3
- export { DockerFileSystemAdapter } from '@infrastructure/Adapters/DockerFileSystemAdapter';
4
- export { WindowManagerAdapter } from '@infrastructure/Adapters/WindowManagerAdapter';
5
- export { toMantineTheme } from '@infrastructure/Adapters/MantineThemeAdapter';
6
- export { prefetchApps } from '@infrastructure/prefetchApps';
@@ -1,11 +0,0 @@
1
- export type { AppEntry } from '@shared/Interfaces/IAppEntry';
2
- export type { WindowContentProps, AppComponent, MenuBarBuilder, MenuBarComponentProps, MenuBarComponent, AppRegistration, } from '@shared/Interfaces/IWindowContentProps';
3
- export type { DesktopState, NotificationItem, ClipboardState, ClipboardAction, } from '@shared/Interfaces/IDesktopState';
4
- export type { CustomAppState, MountedAppState } from '@shared/Interfaces/ICustomAppStore';
5
- export type { IFileSystem, FsManifest, FsManifestFile } from '@shared/Interfaces/IFileSystem';
6
- export type { WindowEntity } from '@shared/Interfaces/WindowEntity';
7
- export type { FileNode } from '@shared/Interfaces/FileNode';
8
- export type { FolderNode } from '@shared/Interfaces/FolderNode';
9
- export type { AppMenuElement } from '@shared/Interfaces/IAppMenuElement';
10
- export type { MenuPosition } from '@shared/Interfaces/IMenuPosition';
11
- export type { CreateFolderOptions } from '@shared/Interfaces/CreateFolderOptions';
@@ -1,8 +0,0 @@
1
- export { useDesktopStore, fileSystem, resetFileSystem, resetWindowManager, } from '@presentation/Store/desktopStore';
2
- export { useSettingsStore } from '@presentation/Store/settingsStore';
3
- export { useCustomAppStore } from '@presentation/Store/customAppStore';
4
- export { useAppTempMemoryStore } from '@presentation/Store/AppTempMemory';
5
- export type { DesktopState, NotificationItem } from '@shared/Interfaces/IDesktopState';
6
- export type { ISettingsState } from '@shared/Interfaces/ISettingsState';
7
- export type { CustomThemeColors } from '@shared/Interfaces/ISettingsState';
8
- export type { CustomAppState, MountedAppState } from '@shared/Interfaces/ICustomAppStore';
@@ -1,4 +0,0 @@
1
- export type { WindowInput, WindowState } from '@shared/Types/WindowTypes';
2
- export type { FSNode } from '@shared/Types/FileSystemTypes';
3
- export type { DesktopIconInput } from '@shared/Types/DesktopIconTypes';
4
- export type { LoadingState } from '@shared/Types/LoadingState';
@@ -1,14 +0,0 @@
1
- export { getRuntime, isDocker, isBrowser, isElectron, isDev } from '@shared/Utils/getRuntime';
2
- export { generateUUID, uuidv4 } from '@shared/Utils/uuid';
3
- export { waitForContainer } from '@shared/Utils/waitForContainer';
4
- export { getBaseUrl, resolveUrl } from '@shared/Utils/getBaseUrl';
5
- export { sortNodes, sortDesktopIcons, sortDesktopIconsByMode } from '@shared/Utils/sortNodes';
6
- export { formatBytes } from '@shared/Utils/formatBytes';
7
- export { hashBlob } from '@shared/Utils/hashBlob';
8
- export { getAppIdForMime } from '@shared/Utils/getAppIdForMime';
9
- export { getMimeTypeFromExtension } from '@shared/Utils/getMimeTypeFromExtension';
10
- export { getFileExtension } from '@shared/Utils/getFileExtension';
11
- export { getFourRandomColors } from '@shared/Utils/getFourRandomColors';
12
- export { buildBreadcrumbs } from '@shared/Utils/buildBreadcrumbs';
13
- export { isNewerVersion } from '@shared/Utils/isNewerVersion';
14
- export { clearBrowserData } from '@shared/Utils/clearBrowserData';