erp-blocks 1.1.2 → 1.1.4
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/module.json
CHANGED
|
@@ -1,22 +1,38 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<UCollapsible
|
|
4
|
+
v-model:open="sidebarOpen"
|
|
5
|
+
:ui="{
|
|
6
|
+
root: 'max-lg:hidden',
|
|
6
7
|
content: 'max-lg:fixed z-40 max-lg:bg-white left-0 top-0 data-[state=open]:animate-collapsible-right data-[state=closed]:animate-collapsible-left border-r border-scn-sidebar-border dark:border-default'
|
|
7
8
|
}"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
>
|
|
10
|
+
<template #content>
|
|
11
|
+
<div class="relative h-screen w-3xs bg-scn-sidebar">
|
|
12
|
+
<UIcon
|
|
13
|
+
name="i-lucide-x"
|
|
14
|
+
class="size-5 absolute z-50 top-4 right-4 cursor-pointer lg:hidden"
|
|
15
|
+
@click="closeSidebar"
|
|
16
|
+
/>
|
|
17
|
+
<MainMenu />
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
</UCollapsible>
|
|
21
|
+
<UDrawer
|
|
22
|
+
v-model:open="sidebarOpen"
|
|
23
|
+
direction="left"
|
|
24
|
+
:ui="{
|
|
25
|
+
overlay: 'lg:hidden',
|
|
26
|
+
content: 'lg:hidden'
|
|
27
|
+
}"
|
|
28
|
+
>
|
|
29
|
+
<template #content>
|
|
30
|
+
<div class="w-[40vw]">
|
|
31
|
+
<MainMenu />
|
|
32
|
+
</div>
|
|
33
|
+
</template>
|
|
34
|
+
</UDrawer>
|
|
35
|
+
</div>
|
|
20
36
|
</template>
|
|
21
37
|
|
|
22
38
|
<script setup>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TableProps } from '@nuxt/ui';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<({
|
|
4
|
-
tableProps: TableProps
|
|
4
|
+
tableProps: TableProps<T>;
|
|
5
5
|
totalRows?: number | undefined;
|
|
6
6
|
itemsPerPage?: number;
|
|
7
7
|
} & {
|
|
@@ -12,7 +12,6 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
12
12
|
expose: (exposed: {}) => void;
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
15
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
16
15
|
[x: number]: ((props: any) => any) | undefined;
|
|
17
16
|
};
|
|
18
17
|
emit: (evt: "update:page", value: number | undefined) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TableProps } from '@nuxt/ui';
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: __VLS_PrettifyLocal<({
|
|
4
|
-
tableProps: TableProps
|
|
4
|
+
tableProps: TableProps<T>;
|
|
5
5
|
totalRows?: number | undefined;
|
|
6
6
|
itemsPerPage?: number;
|
|
7
7
|
} & {
|
|
@@ -12,7 +12,6 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
12
12
|
expose: (exposed: {}) => void;
|
|
13
13
|
attrs: any;
|
|
14
14
|
slots: {
|
|
15
|
-
[x: string]: ((props: any) => any) | undefined;
|
|
16
15
|
[x: number]: ((props: any) => any) | undefined;
|
|
17
16
|
};
|
|
18
17
|
emit: (evt: "update:page", value: number | undefined) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "erp-blocks",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Ready-to-use UI layouts and components designed as ERP system elements ",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^4.2.1"
|
|
40
|
+
"@nuxt/kit": "^4.2.1",
|
|
41
|
+
"better-sqlite3": "^12.5.0",
|
|
42
|
+
"user": "^0.0.0"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@nuxt/content": "3.8.1",
|