@prozilla-os/app-center 1.0.11 → 1.0.14
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/main.d.ts +225 -2
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/package.json +7 -6
package/dist/main.d.ts
CHANGED
|
@@ -1,6 +1,229 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* An application that can be ran by ProzillaOS.
|
|
6
|
+
*
|
|
7
|
+
* Applications can be installed by adding them to {@link AppsConfig.apps}.
|
|
8
|
+
* @typeParam AppProps - The props of the {@link windowContent} of this app.
|
|
9
|
+
*/
|
|
10
|
+
declare class App<AppProps extends WindowProps = WindowProps> {
|
|
11
|
+
/**
|
|
12
|
+
* The display name of this application.
|
|
13
|
+
*/
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* The unique ID of this application.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Main component that renders this app inside a window.
|
|
21
|
+
*/
|
|
22
|
+
windowContent: FC<AppProps> | null;
|
|
23
|
+
/**
|
|
24
|
+
* Default options that get passed to the {@link App.windowContent} component.
|
|
25
|
+
*/
|
|
26
|
+
windowOptions?: Partial<AppProps> & DefaultWindowOptions;
|
|
27
|
+
/**
|
|
28
|
+
* Description of this application.
|
|
29
|
+
*/
|
|
30
|
+
description: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* URL of the icon of this application.
|
|
33
|
+
*/
|
|
34
|
+
iconUrl: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Defines what the app can handle and how it can be used elsewhere in the system.
|
|
37
|
+
*/
|
|
38
|
+
role: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* An array of file extensions that this application can interpret.
|
|
41
|
+
*/
|
|
42
|
+
associatedExtensions: string[];
|
|
43
|
+
/**
|
|
44
|
+
* Determines whether the app is pinned by default.
|
|
45
|
+
* @default true
|
|
46
|
+
*/
|
|
47
|
+
pinnedByDefault: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Determines whether the app is launched at startup.
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
launchAtStartup: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The category the app belongs to.
|
|
55
|
+
*/
|
|
56
|
+
category: typeof APP_CATEGORIES[number] | null;
|
|
57
|
+
/**
|
|
58
|
+
* Metadata of the app's package.
|
|
59
|
+
*/
|
|
60
|
+
metadata: AppMetadata | null;
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether a desktop icon is added to the default data.
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
showDesktopIcon: boolean;
|
|
66
|
+
isActive: boolean;
|
|
67
|
+
isPinned?: boolean;
|
|
68
|
+
isInstalled: boolean;
|
|
69
|
+
constructor(name: App["name"], id: App["id"], windowContent: App<AppProps>["windowContent"], windowOptions?: Partial<AppProps> & DefaultWindowOptions);
|
|
70
|
+
/**
|
|
71
|
+
* Returns the component that renders the content of a window for this app.
|
|
72
|
+
*/
|
|
73
|
+
WindowContent: (props: AppProps) => JSX_2.Element | null;
|
|
74
|
+
/**
|
|
75
|
+
* Sets the display name of this application.
|
|
76
|
+
*/
|
|
77
|
+
setName(name: string): this;
|
|
78
|
+
/**
|
|
79
|
+
* Sets the description of this application.
|
|
80
|
+
*/
|
|
81
|
+
setDescription(description: App["description"]): this;
|
|
82
|
+
/**
|
|
83
|
+
* Sets the URL of the icon of this application.
|
|
84
|
+
*/
|
|
85
|
+
setIconUrl(iconUrl: App["iconUrl"]): this;
|
|
86
|
+
/**
|
|
87
|
+
* Sets the role of this application.
|
|
88
|
+
*/
|
|
89
|
+
setRole(role: string | null): this;
|
|
90
|
+
/**
|
|
91
|
+
* Sets the associated extensions of this application.
|
|
92
|
+
*/
|
|
93
|
+
setAssociatedExtensions(extensions: string[] | null): this;
|
|
94
|
+
/**
|
|
95
|
+
* Changes whether this application is pinned by default or not.
|
|
96
|
+
*/
|
|
97
|
+
setPinnedByDefault(pinnedByDefault: boolean): this;
|
|
98
|
+
/**
|
|
99
|
+
* Changes whether this application is launched at startup or not.
|
|
100
|
+
*/
|
|
101
|
+
setLaunchAtStartup(launchAtStartup: boolean): this;
|
|
102
|
+
/**
|
|
103
|
+
* Changes whether this application is installed by default or not.
|
|
104
|
+
*/
|
|
105
|
+
setInstalled(installed: boolean): this;
|
|
106
|
+
/**
|
|
107
|
+
* Sets the category this application belongs to.
|
|
108
|
+
*/
|
|
109
|
+
setCategory(category: typeof APP_CATEGORIES[number] | null): this;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the metadata for this application.
|
|
112
|
+
*/
|
|
113
|
+
setMetadata(metadata: AppMetadata | null): this;
|
|
114
|
+
/**
|
|
115
|
+
* Changes whether this application has a desktop icon in the default data.
|
|
116
|
+
*/
|
|
117
|
+
setShowDesktopIcon(showDesktopIcon: boolean): this;
|
|
118
|
+
/**
|
|
119
|
+
* Sets the default options for the {@link App.windowContent} component.
|
|
120
|
+
*/
|
|
121
|
+
setWindowOptions(windowOptions: Partial<AppProps> & DefaultWindowOptions): this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
declare const APP_CATEGORIES: readonly ["Business", "Developer tools", "Education", "Entertainment", "Food & dining", "Health & fitness", "Kids & family", "Lifestyle", "Media", "Medical", "Multimedia design", "Music", "Navigation & maps", "News & weather", "Personal finance", "Personalization", "Photo & video", "Productivity", "Security", "Shopping", "Social", "Sports", "Travel", "Utilities & tools"];
|
|
3
125
|
|
|
4
126
|
export declare const appCenter: App<WindowProps>;
|
|
5
127
|
|
|
128
|
+
declare interface AppMetadata {
|
|
129
|
+
name: string;
|
|
130
|
+
version: `${number}.${number}.${number}`;
|
|
131
|
+
author: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare interface DefaultWindowOptions {
|
|
135
|
+
size?: Vector2;
|
|
136
|
+
[key: string]: unknown;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class Vector2 {
|
|
140
|
+
x: number;
|
|
141
|
+
y: number;
|
|
142
|
+
constructor(xy: number);
|
|
143
|
+
constructor(x: number, y?: number);
|
|
144
|
+
static get ZERO(): Vector2;
|
|
145
|
+
get clone(): Vector2;
|
|
146
|
+
get magnitude(): number;
|
|
147
|
+
setX(x: number): this;
|
|
148
|
+
setY(y: number): this;
|
|
149
|
+
set(x: number, y: number): this;
|
|
150
|
+
round(): this;
|
|
151
|
+
normalize(): this;
|
|
152
|
+
scale(scalar: number): this;
|
|
153
|
+
getDistanceSquared(x: number, y?: number): number;
|
|
154
|
+
getDistanceSquared(vector2: Vector2): number;
|
|
155
|
+
getDistance(x: number, y?: number): number;
|
|
156
|
+
getDistance(vector2: Vector2): number;
|
|
157
|
+
add(x: number, y?: number): this;
|
|
158
|
+
add(vector2: Vector2): this;
|
|
159
|
+
subtract(x: number, y?: number): this;
|
|
160
|
+
subtract(vector2: Vector2): this;
|
|
161
|
+
multiply(x: number, y?: number): this;
|
|
162
|
+
multiply(vector2: Vector2): this;
|
|
163
|
+
divide(x: number, y?: number): this;
|
|
164
|
+
divide(vector2: Vector2): this;
|
|
165
|
+
lerp(vector2: Vector2, t: number): this;
|
|
166
|
+
static sum(vector2A: Vector2, vector2B: Vector2): Vector2;
|
|
167
|
+
static difference(vector2A: Vector2, vector2B: Vector2): Vector2;
|
|
168
|
+
static product(vector2A: Vector2, vector2B: Vector2): Vector2;
|
|
169
|
+
static division(vector2A: Vector2, vector2B: Vector2): Vector2;
|
|
170
|
+
static scale(vector2: Vector2, scalar: number): Vector2;
|
|
171
|
+
static normalize(vector2: Vector2): Vector2;
|
|
172
|
+
static lerp(vector2A: Vector2, vector2B: Vector2, t: number): Vector2;
|
|
173
|
+
static from({ x, y }: {
|
|
174
|
+
x: number;
|
|
175
|
+
y: number;
|
|
176
|
+
}): Vector2;
|
|
177
|
+
static parseVector(x: number | Vector2, y?: number): {
|
|
178
|
+
x: number;
|
|
179
|
+
y: number;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare interface WindowOptions {
|
|
184
|
+
/** The ID of the window. */
|
|
185
|
+
id?: string;
|
|
186
|
+
/** The app associated with the window. */
|
|
187
|
+
app?: App;
|
|
188
|
+
/**
|
|
189
|
+
* The size of the window.
|
|
190
|
+
* @default new Vector2(700, 400)
|
|
191
|
+
*/
|
|
192
|
+
size?: Vector2;
|
|
193
|
+
/** The position of the window. */
|
|
194
|
+
position?: Vector2;
|
|
195
|
+
fullscreen?: boolean | string;
|
|
196
|
+
options?: object;
|
|
197
|
+
isFocused?: boolean;
|
|
198
|
+
lastInteraction?: number;
|
|
199
|
+
minimized?: boolean;
|
|
200
|
+
[key: string]: unknown;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare interface WindowProps extends WindowOptions {
|
|
204
|
+
/**
|
|
205
|
+
* Whether to start the window in fullscreen mode.
|
|
206
|
+
* @default false
|
|
207
|
+
*/
|
|
208
|
+
fullscreen?: boolean;
|
|
209
|
+
/** Function that sets the title of the window. */
|
|
210
|
+
setTitle?: React.Dispatch<React.SetStateAction<string>>;
|
|
211
|
+
/** Function that sets the icon URL of the window. */
|
|
212
|
+
setIconUrl?: React.Dispatch<React.SetStateAction<string>>;
|
|
213
|
+
/** Function that closes the window. */
|
|
214
|
+
close?: (event?: Event | React.UIEvent<HTMLElement>) => void;
|
|
215
|
+
/** Function that brings the window in focus. */
|
|
216
|
+
focus?: (event?: Event | React.UIEvent<HTMLElement>, force?: boolean) => void;
|
|
217
|
+
/** Whether the window is currently focused and should allow interactions. */
|
|
218
|
+
active?: boolean;
|
|
219
|
+
/** Whether to start the window in minimized mode. */
|
|
220
|
+
minimized?: boolean;
|
|
221
|
+
/** Function that toggles the minimized mode of the window. */
|
|
222
|
+
toggleMinimized?: (event?: Event) => void;
|
|
223
|
+
/** The depth value of the window. */
|
|
224
|
+
index?: number;
|
|
225
|
+
/** Whether the window is in standalone mode. */
|
|
226
|
+
standalone?: boolean;
|
|
227
|
+
}
|
|
228
|
+
|
|
6
229
|
export { }
|
package/dist/main.js
CHANGED
|
@@ -47,7 +47,7 @@ function H() {
|
|
|
47
47
|
] });
|
|
48
48
|
}
|
|
49
49
|
const x = new _("AppCenter", "app-center", H).setIconUrl("https://os.prozilla.dev/assets/apps/icons/app-center.svg").setPinnedByDefault(!0).setCategory("Utilities & tools");
|
|
50
|
-
x.setMetadata({ name: "@prozilla-os/app-center", version: "1.0.
|
|
50
|
+
x.setMetadata({ name: "@prozilla-os/app-center", version: "1.0.12", author: "Prozilla" });
|
|
51
51
|
export {
|
|
52
52
|
x as appCenter
|
|
53
53
|
};
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sources":["../src/components/header/Header.tsx","../src/components/list/List.tsx","../src/components/AppCenter.tsx","../src/main.ts"],"sourcesContent":["import { ChangeEvent } from \"react\";\nimport styles from \"./Header.module.css\";\nimport { APP_CATEGORIES, useSystemManager } from \"@prozilla-os/core\";\nimport { CategoryType } from \"../AppCenter\";\n\ninterface HeaderProps {\n\tsearchQuery: string;\n\tsetSearchQuery: React.Dispatch<React.SetStateAction<string>>;\n\tcategory: CategoryType;\n\tsetCategory: React.Dispatch<React.SetStateAction<CategoryType>>;\n}\n\nexport function Header({ searchQuery, setSearchQuery, category, setCategory }: HeaderProps) {\n\tconst { appsConfig } = useSystemManager();\n\n\tconst handleSearchChange = (event: ChangeEvent<HTMLInputElement>) => {\n\t\tsetSearchQuery(event.target.value);\n\t};\n\n\tconst handleCategoryChange = (event: ChangeEvent<HTMLSelectElement>) => {\n\t\tsetCategory(event.target.value as CategoryType);\n\t};\n\n\treturn <div className={styles.Header}>\n\t\t<input className={styles.SearchInput} value={searchQuery} onChange={handleSearchChange} type=\"text\" placeholder=\"Search...\"/>\n\t\t<select className={styles.CategoryInput} value={category} onChange={handleCategoryChange}>\n\t\t\t<option value={\"All\"}>All</option>\n\t\t\t{APP_CATEGORIES.filter((category) => {\n\t\t\t\treturn appsConfig.getAppsByCategory(category).length > 0;\n\t\t\t}).map((category) =>\n\t\t\t\t<option key={category} value={category}>{category}</option>\n\t\t\t)}\n\t\t</select>\n\t</div>;\n}","import { App, Image } from \"@prozilla-os/core\";\nimport styles from \"./List.module.css\";\nimport { CategoryType } from \"../AppCenter\";\n\ninterface ListProps {\n\tapps: App[];\n\tsearchQuery: string;\n\tcategory: CategoryType;\n}\n\nexport function List({ apps, searchQuery, category }: ListProps) {\n\treturn <div className={styles.List}>\n\t\t{apps.filter(({ name, id, category: appCategory }) => {\n\t\t\treturn (name.toLowerCase().includes(searchQuery) || id.toLowerCase().replaceAll(\"-\", \" \").includes(searchQuery))\n\t\t\t\t&& (category == \"All\" || appCategory == category);\n\t\t}).map(({ name, id, iconUrl }) =>\n\t\t\t<div key={id} className={styles.App}>\n\t\t\t\t<div className={styles.AppIcon}>{iconUrl && <Image src={iconUrl}/>}</div>\n\t\t\t\t<p className={styles.AppName}>{name}</p>\n\t\t\t</div>\n\t\t)}\n\t</div>;\n}","import { useSystemManager, APP_CATEGORIES } from \"@prozilla-os/core\";\nimport styles from \"./AppCenter.module.css\";\nimport { Header } from \"./header/Header\";\nimport { List } from \"./list/List\";\nimport { useState } from \"react\";\n\nexport type CategoryType = typeof APP_CATEGORIES[number] | \"All\";\n\nexport function AppCenter() {\n\tconst { appsConfig } = useSystemManager();\n\tconst [searchQuery, setSearchQuery] = useState(\"\");\n\tconst [category, setCategory] = useState<CategoryType>(\"All\");\n\n\treturn <div className={styles.AppCenter}>\n\t\t<Header searchQuery={searchQuery} setSearchQuery={setSearchQuery} category={category} setCategory={setCategory}/>\n\t\t<List apps={appsConfig.apps} searchQuery={searchQuery} category={category}/>\n\t</div>;\n}","import { App } from \"@prozilla-os/core\";\nimport { AppCenter } from \"./components/AppCenter\";\n\nconst appCenter = new App(\"AppCenter\", \"app-center\", AppCenter)\n\t.setIconUrl(\"https://os.prozilla.dev/assets/apps/icons/app-center.svg\")\n\t.setPinnedByDefault(true)\n\t.setCategory(\"Utilities & tools\");\
|
|
1
|
+
{"version":3,"file":"main.js","sources":["../src/components/header/Header.tsx","../src/components/list/List.tsx","../src/components/AppCenter.tsx","../src/main.ts"],"sourcesContent":["import { ChangeEvent } from \"react\";\nimport styles from \"./Header.module.css\";\nimport { APP_CATEGORIES, useSystemManager } from \"@prozilla-os/core\";\nimport { CategoryType } from \"../AppCenter\";\n\ninterface HeaderProps {\n\tsearchQuery: string;\n\tsetSearchQuery: React.Dispatch<React.SetStateAction<string>>;\n\tcategory: CategoryType;\n\tsetCategory: React.Dispatch<React.SetStateAction<CategoryType>>;\n}\n\nexport function Header({ searchQuery, setSearchQuery, category, setCategory }: HeaderProps) {\n\tconst { appsConfig } = useSystemManager();\n\n\tconst handleSearchChange = (event: ChangeEvent<HTMLInputElement>) => {\n\t\tsetSearchQuery(event.target.value);\n\t};\n\n\tconst handleCategoryChange = (event: ChangeEvent<HTMLSelectElement>) => {\n\t\tsetCategory(event.target.value as CategoryType);\n\t};\n\n\treturn <div className={styles.Header}>\n\t\t<input className={styles.SearchInput} value={searchQuery} onChange={handleSearchChange} type=\"text\" placeholder=\"Search...\"/>\n\t\t<select className={styles.CategoryInput} value={category} onChange={handleCategoryChange}>\n\t\t\t<option value={\"All\"}>All</option>\n\t\t\t{APP_CATEGORIES.filter((category) => {\n\t\t\t\treturn appsConfig.getAppsByCategory(category).length > 0;\n\t\t\t}).map((category) =>\n\t\t\t\t<option key={category} value={category}>{category}</option>\n\t\t\t)}\n\t\t</select>\n\t</div>;\n}","import { App, Image } from \"@prozilla-os/core\";\nimport styles from \"./List.module.css\";\nimport { CategoryType } from \"../AppCenter\";\n\ninterface ListProps {\n\tapps: App[];\n\tsearchQuery: string;\n\tcategory: CategoryType;\n}\n\nexport function List({ apps, searchQuery, category }: ListProps) {\n\treturn <div className={styles.List}>\n\t\t{apps.filter(({ name, id, category: appCategory }) => {\n\t\t\treturn (name.toLowerCase().includes(searchQuery) || id.toLowerCase().replaceAll(\"-\", \" \").includes(searchQuery))\n\t\t\t\t&& (category == \"All\" || appCategory == category);\n\t\t}).map(({ name, id, iconUrl }) =>\n\t\t\t<div key={id} className={styles.App}>\n\t\t\t\t<div className={styles.AppIcon}>{iconUrl && <Image src={iconUrl}/>}</div>\n\t\t\t\t<p className={styles.AppName}>{name}</p>\n\t\t\t</div>\n\t\t)}\n\t</div>;\n}","import { useSystemManager, APP_CATEGORIES } from \"@prozilla-os/core\";\nimport styles from \"./AppCenter.module.css\";\nimport { Header } from \"./header/Header\";\nimport { List } from \"./list/List\";\nimport { useState } from \"react\";\n\nexport type CategoryType = typeof APP_CATEGORIES[number] | \"All\";\n\nexport function AppCenter() {\n\tconst { appsConfig } = useSystemManager();\n\tconst [searchQuery, setSearchQuery] = useState(\"\");\n\tconst [category, setCategory] = useState<CategoryType>(\"All\");\n\n\treturn <div className={styles.AppCenter}>\n\t\t<Header searchQuery={searchQuery} setSearchQuery={setSearchQuery} category={category} setCategory={setCategory}/>\n\t\t<List apps={appsConfig.apps} searchQuery={searchQuery} category={category}/>\n\t</div>;\n}","import { App } from \"@prozilla-os/core\";\nimport { AppCenter } from \"./components/AppCenter\";\n\nconst appCenter = new App(\"AppCenter\", \"app-center\", AppCenter)\n\t.setIconUrl(\"https://os.prozilla.dev/assets/apps/icons/app-center.svg\")\n\t.setPinnedByDefault(true)\n\t.setCategory(\"Utilities & tools\");\n\nexport { appCenter };"],"names":["Header","searchQuery","setSearchQuery","category","setCategory","appsConfig","useSystemManager","handleSearchChange","event","handleCategoryChange","jsxs","styles","jsx","APP_CATEGORIES","List","apps","name","id","appCategory","iconUrl","Image","AppCenter","useState","appCenter","App"],"mappings":";;;;;;;;;;AAYO,SAASA,EAAO,EAAE,aAAAC,GAAa,gBAAAC,GAAgB,UAAAC,GAAU,aAAAC,KAA4B;AAC3F,QAAM,EAAE,YAAAC,EAAA,IAAeC,EAAA,GAEjBC,IAAqB,CAACC,MAAyC;AACpE,IAAAN,EAAeM,EAAM,OAAO,KAAK;AAAA,EAClC,GAEMC,IAAuB,CAACD,MAA0C;AACvE,IAAAJ,EAAYI,EAAM,OAAO,KAAqB;AAAA,EAC/C;AAEA,SAAO,gBAAAE,EAAC,OAAA,EAAI,WAAWC,EAAO,QAC7B,UAAA;AAAA,IAAA,gBAAAC,EAAC,SAAA,EAAM,WAAWD,EAAO,aAAa,OAAOV,GAAa,UAAUM,GAAoB,MAAK,QAAO,aAAY,YAAA,CAAW;AAAA,IAC3H,gBAAAG,EAAC,YAAO,WAAWC,EAAO,eAAe,OAAOR,GAAU,UAAUM,GACnE,UAAA;AAAA,MAAA,gBAAAG,EAAC,UAAA,EAAO,OAAO,OAAO,UAAA,OAAG;AAAA,MACxBC,EAAe,OAAO,CAACV,MAChBE,EAAW,kBAAkBF,CAAQ,EAAE,SAAS,CACvD,EAAE;AAAA,QAAI,CAACA,MACP,gBAAAS,EAAC,UAAA,EAAsB,OAAOT,GAAW,UAAAA,KAA5BA,CAAqC;AAAA,MAAA;AAAA,IACnD,EAAA,CACD;AAAA,EAAA,GACD;AACD;;;;;;;ACxBO,SAASW,EAAK,EAAE,MAAAC,GAAM,aAAAd,GAAa,UAAAE,KAAuB;AAChE,SAAO,gBAAAS,EAAC,OAAA,EAAI,WAAWD,EAAO,MAC5B,UAAAI,EAAK,OAAO,CAAC,EAAE,MAAAC,GAAM,IAAAC,GAAI,UAAUC,SAC3BF,EAAK,cAAc,SAASf,CAAW,KAAKgB,EAAG,cAAc,WAAW,KAAK,GAAG,EAAE,SAAShB,CAAW,OACzGE,KAAY,SAASe,KAAef,EACzC,EAAE;AAAA,IAAI,CAAC,EAAE,MAAAa,GAAM,IAAAC,GAAI,SAAAE,QACnB,gBAAAT,EAAC,OAAA,EAAa,WAAWC,EAAO,KAC/B,UAAA;AAAA,MAAA,gBAAAC,EAAC,OAAA,EAAI,WAAWD,EAAO,SAAU,eAAW,gBAAAC,EAACQ,GAAA,EAAM,KAAKD,EAAA,CAAQ,EAAA,CAAG;AAAA,MACnE,gBAAAP,EAAC,KAAA,EAAE,WAAWD,EAAO,SAAU,UAAAK,EAAA,CAAK;AAAA,IAAA,EAAA,GAF3BC,CAGV;AAAA,EAAA,GAEF;AACD;ACdO,SAASI,IAAY;AAC3B,QAAM,EAAE,YAAAhB,EAAA,IAAeC,EAAA,GACjB,CAACL,GAAaC,CAAc,IAAIoB,EAAS,EAAE,GAC3C,CAACnB,GAAUC,CAAW,IAAIkB,EAAuB,KAAK;AAE5D,SAAO,gBAAAZ,EAAC,OAAA,EAAI,WAAWC,EAAO,WAC7B,UAAA;AAAA,IAAA,gBAAAC,EAACZ,GAAA,EAAO,aAAAC,GAA0B,gBAAAC,GAAgC,UAAAC,GAAoB,aAAAC,GAAyB;AAAA,sBAC9GU,GAAA,EAAK,MAAMT,EAAW,MAAM,aAAAJ,GAA0B,UAAAE,EAAA,CAAmB;AAAA,EAAA,GAC3E;AACD;ACdA,MAAMoB,IAAY,IAAIC,EAAI,aAAa,cAAcH,CAAS,EAC5D,WAAW,0DAA0D,EACrE,mBAAmB,EAAI,EACvB,YAAY,mBAAmB;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prozilla-os/app-center",
|
|
3
3
|
"description": "A ProzillaOS application for browsing and installing applications.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
5
5
|
"homepage": "https://os.prozilla.dev/app-center",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Prozilla",
|
|
@@ -20,17 +20,18 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"react": "^18.3.1",
|
|
23
|
-
"@prozilla-os/core": "
|
|
23
|
+
"@prozilla-os/core": "2.0.1",
|
|
24
|
+
"@prozilla-os/shared": "1.3.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@types/node": "^20.14.5",
|
|
27
|
-
"@types/react": "^18.3.
|
|
28
|
+
"@types/react": "^18.3.27",
|
|
28
29
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
29
30
|
"typescript": "^5.5.4",
|
|
30
|
-
"vite": "^
|
|
31
|
-
"vite-plugin-dts": "^
|
|
31
|
+
"vite": "^7.3.1",
|
|
32
|
+
"vite-plugin-dts": "^4.5.4",
|
|
32
33
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
33
|
-
"@prozilla-os/dev-tools": "1.1.
|
|
34
|
+
"@prozilla-os/dev-tools": "1.1.13"
|
|
34
35
|
},
|
|
35
36
|
"files": [
|
|
36
37
|
"dist"
|