adminforth 1.2.84 → 1.2.85
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.js +0 -1
- package/dist/modules/styles.js +3 -3
- package/index.ts +0 -2
- package/modules/styles.ts +3 -3
- package/package.json +1 -1
- package/spa/src/components/ValueRenderer.vue +1 -1
package/dist/index.js
CHANGED
|
@@ -58,7 +58,6 @@ class AdminForth {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
allPluginInstances.sort(({ pi: a }, { pi: b }) => a.activationOrder - b.activationOrder);
|
|
61
|
-
console.log('🔌🔌🔌 Activating plugins', allPluginInstances.map(({ pi }) => pi.activationOrder));
|
|
62
61
|
allPluginInstances.forEach(({ pi: pluginInstance, resource }) => {
|
|
63
62
|
pluginInstance.modifyResourceConfig(this, resource);
|
|
64
63
|
const plugin = this.activatedPlugins.find((p) => p.pluginInstanceId === pluginInstance.pluginInstanceId);
|
package/dist/modules/styles.js
CHANGED
|
@@ -53,9 +53,9 @@ export const styles = () => ({
|
|
|
53
53
|
lightButtonsIcon: "#333333", // button icon
|
|
54
54
|
// colors for dark theme
|
|
55
55
|
darkHtml: "#111827",
|
|
56
|
-
darkPrimary: "
|
|
56
|
+
darkPrimary: "rgb(130 172 255)", // primary color
|
|
57
57
|
darkPrimaryContrast: "alias:darkPrimary inverse", // primary color contrast
|
|
58
|
-
darkPrimaryOpacity: "
|
|
58
|
+
darkPrimaryOpacity: "#212A40", // primary color opacity
|
|
59
59
|
darkNavbar: "#111827",
|
|
60
60
|
darkNavbarBorder: "#e5e7eb",
|
|
61
61
|
darkNavbarText: "#9ca3af",
|
|
@@ -80,7 +80,7 @@ export const styles = () => ({
|
|
|
80
80
|
darkListTableHeading: "#334155",
|
|
81
81
|
darkListTableHeadingText: "#9ca3af",
|
|
82
82
|
darkListTableText: "#9ca3af",
|
|
83
|
-
darkListTableRowHover: "
|
|
83
|
+
darkListTableRowHover: "rgb(35 47 65)",
|
|
84
84
|
darkListBreadcrumbsText: "#BBBBBB",
|
|
85
85
|
darkListBorder: "#444444",
|
|
86
86
|
darkForm: "#111111",
|
package/index.ts
CHANGED
|
@@ -20,7 +20,6 @@ import AdminForthPlugin from './basePlugin.js';
|
|
|
20
20
|
import ConfigValidator from './modules/configValidator.js';
|
|
21
21
|
import AdminForthRestAPI from './modules/restApi.js';
|
|
22
22
|
import ClickhouseConnector from './dataConnectors/clickhouse.js';
|
|
23
|
-
import { pid } from 'process';
|
|
24
23
|
|
|
25
24
|
// exports
|
|
26
25
|
export * from './types/AdminForthConfig.js';
|
|
@@ -87,7 +86,6 @@ class AdminForth implements IAdminForth {
|
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
88
|
allPluginInstances.sort(({pi: a}, {pi: b}) => a.activationOrder - b.activationOrder);
|
|
90
|
-
console.log('🔌🔌🔌 Activating plugins', allPluginInstances.map(({pi}) => pi.activationOrder));
|
|
91
89
|
allPluginInstances.forEach(
|
|
92
90
|
({pi: pluginInstance, resource}) => {
|
|
93
91
|
pluginInstance.modifyResourceConfig(this, resource);
|
package/modules/styles.ts
CHANGED
|
@@ -65,9 +65,9 @@ export const styles = () => ({
|
|
|
65
65
|
// colors for dark theme
|
|
66
66
|
darkHtml: "#111827",
|
|
67
67
|
|
|
68
|
-
darkPrimary: "
|
|
68
|
+
darkPrimary: "rgb(130 172 255)", // primary color
|
|
69
69
|
darkPrimaryContrast: "alias:darkPrimary inverse", // primary color contrast
|
|
70
|
-
darkPrimaryOpacity: "
|
|
70
|
+
darkPrimaryOpacity: "#212A40", // primary color opacity
|
|
71
71
|
|
|
72
72
|
darkNavbar: "#111827",
|
|
73
73
|
darkNavbarBorder: "#e5e7eb",
|
|
@@ -96,7 +96,7 @@ export const styles = () => ({
|
|
|
96
96
|
darkListTableHeading: "#334155",
|
|
97
97
|
darkListTableHeadingText: "#9ca3af",
|
|
98
98
|
darkListTableText: "#9ca3af",
|
|
99
|
-
darkListTableRowHover: "
|
|
99
|
+
darkListTableRowHover: "rgb(35 47 65)",
|
|
100
100
|
darkListBreadcrumbsText: "#BBBBBB",
|
|
101
101
|
darkListBorder: "#444444",
|
|
102
102
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<span @click="(e)=>{e.stopPropagation()}" v-if="column.foreignResource">
|
|
4
|
-
<RouterLink v-if="record[column.name]" class="font-medium text-lightPrimary dark:text-darkPrimary hover:brightness-110"
|
|
4
|
+
<RouterLink v-if="record[column.name]" class="font-medium text-lightPrimary dark:text-darkPrimary hover:brightness-110 whitespace-nowrap"
|
|
5
5
|
:to="{ name: 'resource-show', params: { resourceId: column.foreignResource.resourceId, primaryKey: record[column.name].pk } }">
|
|
6
6
|
{{ record[column.name].label }}
|
|
7
7
|
</RouterLink>
|