@fde-desktop/fde-core 0.3.7
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/LICENSE +201 -0
- package/README.md +172 -0
- package/dist/apps/index.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/constants/index.d.ts +12 -0
- package/dist/domain/index.d.ts +5 -0
- package/dist/fc-D_a-n3yF.js +20204 -0
- package/dist/fi-DwZ_MW7F.js +9993 -0
- package/dist/hooks/index.d.ts +28 -0
- package/dist/i18n/index.d.ts +2 -0
- package/dist/iconBase-B764UN-4.js +108 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +6651 -0
- package/dist/infrastructure/index.d.ts +6 -0
- package/dist/interfaces/index.d.ts +11 -0
- package/dist/stores/index.d.ts +8 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/utils/index.d.ts +14 -0
- package/dist/vsc-CeA30gcb.js +9574 -0
- package/package.json +67 -0
|
@@ -0,0 +1,28 @@
|
|
|
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';
|
|
@@ -0,0 +1,108 @@
|
|
|
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 };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './apps';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export * from './stores';
|
|
4
|
+
export * from './hooks';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './interfaces';
|
|
7
|
+
export * from './utils';
|
|
8
|
+
export * from './constants';
|
|
9
|
+
export * from './domain';
|
|
10
|
+
export * from './infrastructure';
|
|
11
|
+
export { default as i18n } from './i18n/index';
|