admin-lte 4.0.0-beta2 → 4.0.0-beta3
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/.astro/content-assets.mjs +1 -0
- package/.astro/content-modules.mjs +1 -0
- package/.astro/content.d.ts +166 -0
- package/.astro/data-store.json +1 -0
- package/.astro/settings.json +1 -1
- package/.astro/types.d.ts +2 -0
- package/.prettierrc +6 -0
- package/adminlte-v4.0.0-beta1-with-dist.zip +0 -0
- package/adminlte-v4.0.0-beta3.zip +0 -0
- package/dist/css/adminlte.css +8 -8
- package/dist/css/adminlte.css.map +1 -1
- package/dist/css/adminlte.min.css +2 -2
- package/dist/css/adminlte.min.css.map +1 -1
- package/dist/css/adminlte.rtl.css +8 -8
- package/dist/css/adminlte.rtl.css.map +1 -1
- package/dist/css/adminlte.rtl.min.css +2 -2
- package/dist/css/adminlte.rtl.min.css.map +1 -1
- package/dist/js/adminlte.js +1 -1
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +1 -1
- package/dist/pages/UI/general.html +1886 -889
- package/dist/pages/UI/icons.html +816 -450
- package/dist/pages/UI/timeline.html +894 -496
- package/dist/pages/docs/browser-support.html +839 -440
- package/dist/pages/docs/color-mode.html +985 -545
- package/dist/pages/docs/components/main-header.html +1016 -541
- package/dist/pages/docs/components/main-sidebar.html +831 -437
- package/dist/pages/docs/faq.html +831 -438
- package/dist/pages/docs/how-to-contribute.html +904 -478
- package/dist/pages/docs/introduction.html +883 -457
- package/dist/pages/docs/javascript/treeview.html +837 -449
- package/dist/pages/docs/layout.html +835 -479
- package/dist/pages/docs/license.html +828 -440
- package/dist/pages/examples/lockscreen.html +129 -66
- package/dist/pages/examples/login-v2.html +157 -85
- package/dist/pages/examples/login.html +147 -80
- package/dist/pages/examples/register-v2.html +167 -88
- package/dist/pages/examples/register.html +152 -81
- package/dist/pages/forms/general.html +1223 -605
- package/dist/pages/generate/theme.html +713 -388
- package/dist/pages/index.html +1400 -799
- package/dist/pages/index2.html +1852 -1057
- package/dist/pages/index3.html +1183 -690
- package/dist/pages/layout/collapsed-sidebar.html +829 -446
- package/dist/pages/layout/fixed-sidebar.html +829 -446
- package/dist/pages/layout/layout-custom-area.html +859 -464
- package/dist/pages/layout/layout-rtl.html +829 -446
- package/dist/pages/layout/logo-switch.html +486 -233
- package/dist/pages/layout/sidebar-mini.html +829 -446
- package/dist/pages/layout/unfixed-sidebar.html +827 -445
- package/dist/pages/tables/simple.html +1079 -692
- package/dist/pages/widgets/cards.html +1034 -550
- package/dist/pages/widgets/info-box.html +1052 -577
- package/dist/pages/widgets/small-box.html +914 -480
- package/package.json +19 -18
- package/src/scss/_bootstrap-variables.scss +11 -9
- package/src/scss/adminlte.scss +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default new Map();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default new Map();
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
declare module 'astro:content' {
|
|
2
|
+
interface Render {
|
|
3
|
+
'.mdx': Promise<{
|
|
4
|
+
Content: import('astro').MarkdownInstance<{}>['Content'];
|
|
5
|
+
headings: import('astro').MarkdownHeading[];
|
|
6
|
+
remarkPluginFrontmatter: Record<string, any>;
|
|
7
|
+
components: import('astro').MDXInstance<{}>['components'];
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare module 'astro:content' {
|
|
13
|
+
export interface RenderResult {
|
|
14
|
+
Content: import('astro/runtime/server/index.js').AstroComponentFactory;
|
|
15
|
+
headings: import('astro').MarkdownHeading[];
|
|
16
|
+
remarkPluginFrontmatter: Record<string, any>;
|
|
17
|
+
}
|
|
18
|
+
interface Render {
|
|
19
|
+
'.md': Promise<RenderResult>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface RenderedContent {
|
|
23
|
+
html: string;
|
|
24
|
+
metadata?: {
|
|
25
|
+
imagePaths: Array<string>;
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare module 'astro:content' {
|
|
32
|
+
type Flatten<T> = T extends { [K: string]: infer U } ? U : never;
|
|
33
|
+
|
|
34
|
+
export type CollectionKey = keyof AnyEntryMap;
|
|
35
|
+
export type CollectionEntry<C extends CollectionKey> = Flatten<AnyEntryMap[C]>;
|
|
36
|
+
|
|
37
|
+
export type ContentCollectionKey = keyof ContentEntryMap;
|
|
38
|
+
export type DataCollectionKey = keyof DataEntryMap;
|
|
39
|
+
|
|
40
|
+
type AllValuesOf<T> = T extends any ? T[keyof T] : never;
|
|
41
|
+
type ValidContentEntrySlug<C extends keyof ContentEntryMap> = AllValuesOf<
|
|
42
|
+
ContentEntryMap[C]
|
|
43
|
+
>['slug'];
|
|
44
|
+
|
|
45
|
+
/** @deprecated Use `getEntry` instead. */
|
|
46
|
+
export function getEntryBySlug<
|
|
47
|
+
C extends keyof ContentEntryMap,
|
|
48
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
49
|
+
>(
|
|
50
|
+
collection: C,
|
|
51
|
+
// Note that this has to accept a regular string too, for SSR
|
|
52
|
+
entrySlug: E,
|
|
53
|
+
): E extends ValidContentEntrySlug<C>
|
|
54
|
+
? Promise<CollectionEntry<C>>
|
|
55
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
56
|
+
|
|
57
|
+
/** @deprecated Use `getEntry` instead. */
|
|
58
|
+
export function getDataEntryById<C extends keyof DataEntryMap, E extends keyof DataEntryMap[C]>(
|
|
59
|
+
collection: C,
|
|
60
|
+
entryId: E,
|
|
61
|
+
): Promise<CollectionEntry<C>>;
|
|
62
|
+
|
|
63
|
+
export function getCollection<C extends keyof AnyEntryMap, E extends CollectionEntry<C>>(
|
|
64
|
+
collection: C,
|
|
65
|
+
filter?: (entry: CollectionEntry<C>) => entry is E,
|
|
66
|
+
): Promise<E[]>;
|
|
67
|
+
export function getCollection<C extends keyof AnyEntryMap>(
|
|
68
|
+
collection: C,
|
|
69
|
+
filter?: (entry: CollectionEntry<C>) => unknown,
|
|
70
|
+
): Promise<CollectionEntry<C>[]>;
|
|
71
|
+
|
|
72
|
+
export function getEntry<
|
|
73
|
+
C extends keyof ContentEntryMap,
|
|
74
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
75
|
+
>(entry: {
|
|
76
|
+
collection: C;
|
|
77
|
+
slug: E;
|
|
78
|
+
}): E extends ValidContentEntrySlug<C>
|
|
79
|
+
? Promise<CollectionEntry<C>>
|
|
80
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
81
|
+
export function getEntry<
|
|
82
|
+
C extends keyof DataEntryMap,
|
|
83
|
+
E extends keyof DataEntryMap[C] | (string & {}),
|
|
84
|
+
>(entry: {
|
|
85
|
+
collection: C;
|
|
86
|
+
id: E;
|
|
87
|
+
}): E extends keyof DataEntryMap[C]
|
|
88
|
+
? Promise<DataEntryMap[C][E]>
|
|
89
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
90
|
+
export function getEntry<
|
|
91
|
+
C extends keyof ContentEntryMap,
|
|
92
|
+
E extends ValidContentEntrySlug<C> | (string & {}),
|
|
93
|
+
>(
|
|
94
|
+
collection: C,
|
|
95
|
+
slug: E,
|
|
96
|
+
): E extends ValidContentEntrySlug<C>
|
|
97
|
+
? Promise<CollectionEntry<C>>
|
|
98
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
99
|
+
export function getEntry<
|
|
100
|
+
C extends keyof DataEntryMap,
|
|
101
|
+
E extends keyof DataEntryMap[C] | (string & {}),
|
|
102
|
+
>(
|
|
103
|
+
collection: C,
|
|
104
|
+
id: E,
|
|
105
|
+
): E extends keyof DataEntryMap[C]
|
|
106
|
+
? string extends keyof DataEntryMap[C]
|
|
107
|
+
? Promise<DataEntryMap[C][E]> | undefined
|
|
108
|
+
: Promise<DataEntryMap[C][E]>
|
|
109
|
+
: Promise<CollectionEntry<C> | undefined>;
|
|
110
|
+
|
|
111
|
+
/** Resolve an array of entry references from the same collection */
|
|
112
|
+
export function getEntries<C extends keyof ContentEntryMap>(
|
|
113
|
+
entries: {
|
|
114
|
+
collection: C;
|
|
115
|
+
slug: ValidContentEntrySlug<C>;
|
|
116
|
+
}[],
|
|
117
|
+
): Promise<CollectionEntry<C>[]>;
|
|
118
|
+
export function getEntries<C extends keyof DataEntryMap>(
|
|
119
|
+
entries: {
|
|
120
|
+
collection: C;
|
|
121
|
+
id: keyof DataEntryMap[C];
|
|
122
|
+
}[],
|
|
123
|
+
): Promise<CollectionEntry<C>[]>;
|
|
124
|
+
|
|
125
|
+
export function render<C extends keyof AnyEntryMap>(
|
|
126
|
+
entry: AnyEntryMap[C][string],
|
|
127
|
+
): Promise<RenderResult>;
|
|
128
|
+
|
|
129
|
+
export function reference<C extends keyof AnyEntryMap>(
|
|
130
|
+
collection: C,
|
|
131
|
+
): import('astro/zod').ZodEffects<
|
|
132
|
+
import('astro/zod').ZodString,
|
|
133
|
+
C extends keyof ContentEntryMap
|
|
134
|
+
? {
|
|
135
|
+
collection: C;
|
|
136
|
+
slug: ValidContentEntrySlug<C>;
|
|
137
|
+
}
|
|
138
|
+
: {
|
|
139
|
+
collection: C;
|
|
140
|
+
id: keyof DataEntryMap[C];
|
|
141
|
+
}
|
|
142
|
+
>;
|
|
143
|
+
// Allow generic `string` to avoid excessive type errors in the config
|
|
144
|
+
// if `dev` is not running to update as you edit.
|
|
145
|
+
// Invalid collection names will be caught at build time.
|
|
146
|
+
export function reference<C extends string>(
|
|
147
|
+
collection: C,
|
|
148
|
+
): import('astro/zod').ZodEffects<import('astro/zod').ZodString, never>;
|
|
149
|
+
|
|
150
|
+
type ReturnTypeOrOriginal<T> = T extends (...args: any[]) => infer R ? R : T;
|
|
151
|
+
type InferEntrySchema<C extends keyof AnyEntryMap> = import('astro/zod').infer<
|
|
152
|
+
ReturnTypeOrOriginal<Required<ContentConfig['collections'][C]>['schema']>
|
|
153
|
+
>;
|
|
154
|
+
|
|
155
|
+
type ContentEntryMap = {
|
|
156
|
+
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
type DataEntryMap = {
|
|
160
|
+
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
type AnyEntryMap = ContentEntryMap & DataEntryMap;
|
|
164
|
+
|
|
165
|
+
export type ContentConfig = typeof import("./../src/html/content.config.mjs");
|
|
166
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[["Map",1,2],"meta::meta",["Map",3,4],"astro-version","5.0.3"]
|
package/.astro/settings.json
CHANGED
package/.prettierrc
ADDED
|
Binary file
|
|
Binary file
|
package/dist/css/adminlte.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/*!
|
|
3
|
-
* AdminLTE v4.0.0-
|
|
3
|
+
* AdminLTE v4.0.0-beta3
|
|
4
4
|
* Author: Colorlib
|
|
5
5
|
* Website: AdminLTE.io <https://adminlte.io>
|
|
6
6
|
* License: Open source - MIT <https://opensource.org/licenses/MIT>
|
|
@@ -2832,7 +2832,7 @@ textarea.form-control-lg {
|
|
|
2832
2832
|
.was-validated .form-control:valid, .form-control.is-valid {
|
|
2833
2833
|
border-color: var(--bs-form-valid-border-color);
|
|
2834
2834
|
padding-right: calc(1.5em + 0.75rem);
|
|
2835
|
-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.
|
|
2835
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
|
|
2836
2836
|
background-repeat: no-repeat;
|
|
2837
2837
|
background-position: right calc(0.375em + 0.1875rem) center;
|
|
2838
2838
|
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
|
@@ -2851,7 +2851,7 @@ textarea.form-control-lg {
|
|
|
2851
2851
|
border-color: var(--bs-form-valid-border-color);
|
|
2852
2852
|
}
|
|
2853
2853
|
.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] {
|
|
2854
|
-
--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.
|
|
2854
|
+
--bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
|
|
2855
2855
|
padding-right: 4.125rem;
|
|
2856
2856
|
background-position: right 0.75rem center, center right 2.25rem;
|
|
2857
2857
|
background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
|
@@ -4602,11 +4602,11 @@ textarea.form-control-lg {
|
|
|
4602
4602
|
--bs-accordion-btn-padding-y: 1rem;
|
|
4603
4603
|
--bs-accordion-btn-color: var(--bs-body-color);
|
|
4604
4604
|
--bs-accordion-btn-bg: var(--bs-accordion-bg);
|
|
4605
|
-
--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'
|
|
4605
|
+
--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
|
|
4606
4606
|
--bs-accordion-btn-icon-width: 1.25rem;
|
|
4607
4607
|
--bs-accordion-btn-icon-transform: rotate(-180deg);
|
|
4608
4608
|
--bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
|
|
4609
|
-
--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'
|
|
4609
|
+
--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
|
|
4610
4610
|
--bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
4611
4611
|
--bs-accordion-body-padding-x: 1.25rem;
|
|
4612
4612
|
--bs-accordion-body-padding-y: 1rem;
|
|
@@ -5384,7 +5384,7 @@ textarea.form-control-lg {
|
|
|
5384
5384
|
|
|
5385
5385
|
.btn-close {
|
|
5386
5386
|
--bs-btn-close-color: #000;
|
|
5387
|
-
--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.
|
|
5387
|
+
--bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
|
|
5388
5388
|
--bs-btn-close-opacity: 0.5;
|
|
5389
5389
|
--bs-btn-close-hover-opacity: 0.75;
|
|
5390
5390
|
--bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
|
|
@@ -6174,11 +6174,11 @@ textarea.form-control-lg {
|
|
|
6174
6174
|
}
|
|
6175
6175
|
|
|
6176
6176
|
.carousel-control-prev-icon {
|
|
6177
|
-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708
|
|
6177
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e")*/;
|
|
6178
6178
|
}
|
|
6179
6179
|
|
|
6180
6180
|
.carousel-control-next-icon {
|
|
6181
|
-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.
|
|
6181
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e")*/;
|
|
6182
6182
|
}
|
|
6183
6183
|
|
|
6184
6184
|
.carousel-indicators {
|