@appkit/dek-lib 0.8.3 → 0.9.0
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/index.es.js +5 -6
- package/dist/index.umd.js +5 -6
- package/dist/lib/state.d.ts +0 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -964,7 +964,7 @@ class Api {
|
|
|
964
964
|
if (!component) {
|
|
965
965
|
return;
|
|
966
966
|
}
|
|
967
|
-
return component.element();
|
|
967
|
+
return component.element({ plugin });
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
970
|
}
|
|
@@ -978,7 +978,7 @@ class Api {
|
|
|
978
978
|
if (!component) {
|
|
979
979
|
return;
|
|
980
980
|
}
|
|
981
|
-
return component.element();
|
|
981
|
+
return component.element({ plugin });
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
}
|
|
@@ -58159,8 +58159,7 @@ async function fetchUserData(email, password) {
|
|
|
58159
58159
|
const state$1 = proxy({
|
|
58160
58160
|
plugins: {},
|
|
58161
58161
|
data: null,
|
|
58162
|
-
loading: false
|
|
58163
|
-
version: 0
|
|
58162
|
+
loading: false
|
|
58164
58163
|
});
|
|
58165
58164
|
let pluginInstances = {};
|
|
58166
58165
|
function getPluginInstances() {
|
|
@@ -58229,7 +58228,7 @@ async function fetchUserPlugins(email, password) {
|
|
|
58229
58228
|
result.integrations.push({
|
|
58230
58229
|
key: "base",
|
|
58231
58230
|
pluginName: "base",
|
|
58232
|
-
pluginVersion: "0.
|
|
58231
|
+
pluginVersion: "0.9.0",
|
|
58233
58232
|
pluginConfig: []
|
|
58234
58233
|
});
|
|
58235
58234
|
return result;
|
|
@@ -58404,7 +58403,7 @@ const Header = ({ height = 70 }) => {
|
|
|
58404
58403
|
};
|
|
58405
58404
|
const About = () => {
|
|
58406
58405
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
|
|
58407
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.
|
|
58406
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.9.0"}` }),
|
|
58408
58407
|
/* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
|
|
58409
58408
|
] });
|
|
58410
58409
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -981,7 +981,7 @@ var __publicField = (obj, key, value) => {
|
|
|
981
981
|
if (!component) {
|
|
982
982
|
return;
|
|
983
983
|
}
|
|
984
|
-
return component.element();
|
|
984
|
+
return component.element({ plugin });
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
}
|
|
@@ -995,7 +995,7 @@ var __publicField = (obj, key, value) => {
|
|
|
995
995
|
if (!component) {
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
|
-
return component.element();
|
|
998
|
+
return component.element({ plugin });
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
@@ -58176,8 +58176,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58176
58176
|
const state$1 = proxy({
|
|
58177
58177
|
plugins: {},
|
|
58178
58178
|
data: null,
|
|
58179
|
-
loading: false
|
|
58180
|
-
version: 0
|
|
58179
|
+
loading: false
|
|
58181
58180
|
});
|
|
58182
58181
|
let pluginInstances = {};
|
|
58183
58182
|
function getPluginInstances() {
|
|
@@ -58246,7 +58245,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58246
58245
|
result.integrations.push({
|
|
58247
58246
|
key: "base",
|
|
58248
58247
|
pluginName: "base",
|
|
58249
|
-
pluginVersion: "0.
|
|
58248
|
+
pluginVersion: "0.9.0",
|
|
58250
58249
|
pluginConfig: []
|
|
58251
58250
|
});
|
|
58252
58251
|
return result;
|
|
@@ -58421,7 +58420,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58421
58420
|
};
|
|
58422
58421
|
const About = () => {
|
|
58423
58422
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
|
|
58424
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.
|
|
58423
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.9.0"}` }),
|
|
58425
58424
|
/* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
|
|
58426
58425
|
] });
|
|
58427
58426
|
};
|
package/dist/lib/state.d.ts
CHANGED
|
@@ -4,12 +4,10 @@ export type LibraryState = {
|
|
|
4
4
|
plugins: Record<string, DekPluginFactory>;
|
|
5
5
|
data: UserData | null;
|
|
6
6
|
loading: boolean;
|
|
7
|
-
version: number;
|
|
8
7
|
};
|
|
9
8
|
declare const state: LibraryState;
|
|
10
9
|
export declare function getPluginInstances(): Record<string, DekPlugin>;
|
|
11
10
|
export declare function updateStatePlugins(plugins: Record<string, DekPluginFactory>, instances: Record<string, DekPlugin>): void;
|
|
12
11
|
export declare function updateStateData(data: UserData | null): void;
|
|
13
12
|
export declare function updateStateLoading(loading: boolean): void;
|
|
14
|
-
export declare function updateStateVersion(): void;
|
|
15
13
|
export default state;
|