nicklabs-ui 0.1.1

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.
Files changed (36) hide show
  1. package/dist/index.mjs +3939 -0
  2. package/dist/nicklabs-ui.css +1 -0
  3. package/dist/src/components/NAlert.vue.d.ts +3 -0
  4. package/dist/src/components/NButton.vue.d.ts +25 -0
  5. package/dist/src/components/NCheckbox.vue.d.ts +35 -0
  6. package/dist/src/components/NCode.vue.d.ts +8 -0
  7. package/dist/src/components/NDatePicker.vue.d.ts +26 -0
  8. package/dist/src/components/NEmpty.vue.d.ts +19 -0
  9. package/dist/src/components/NFileSelect.vue.d.ts +17 -0
  10. package/dist/src/components/NForm.vue.d.ts +30 -0
  11. package/dist/src/components/NInput.vue.d.ts +32 -0
  12. package/dist/src/components/NList.vue.d.ts +67 -0
  13. package/dist/src/components/NLoading.vue.d.ts +21 -0
  14. package/dist/src/components/NModal.vue.d.ts +31 -0
  15. package/dist/src/components/NSelect.vue.d.ts +26 -0
  16. package/dist/src/components/NSwitch.vue.d.ts +20 -0
  17. package/dist/src/components/NTable.vue.d.ts +50 -0
  18. package/dist/src/components/NTag.vue.d.ts +24 -0
  19. package/dist/src/components/NTextarea.vue.d.ts +32 -0
  20. package/dist/src/components/NToast.vue.d.ts +3 -0
  21. package/dist/src/components/NTooltip.vue.d.ts +20 -0
  22. package/dist/src/composables/useAlert.d.ts +12 -0
  23. package/dist/src/composables/useDisclosure.d.ts +1 -0
  24. package/dist/src/composables/useSidebarManager.d.ts +6 -0
  25. package/dist/src/composables/useToast.d.ts +11 -0
  26. package/dist/src/index.d.ts +28 -0
  27. package/dist/src/layouts/NBreadcrumb.vue.d.ts +5 -0
  28. package/dist/src/layouts/NCard.vue.d.ts +17 -0
  29. package/dist/src/layouts/NHeroSection.vue.d.ts +17 -0
  30. package/dist/src/layouts/NLayout.vue.d.ts +38 -0
  31. package/dist/src/layouts/NLoginLayout.vue.d.ts +19 -0
  32. package/dist/src/layouts/NNavigation.vue.d.ts +15 -0
  33. package/dist/src/layouts/NPaginate.vue.d.ts +12 -0
  34. package/dist/src/layouts/NSideFilter.vue.d.ts +13 -0
  35. package/dist/src/layouts/NSidebar.vue.d.ts +13 -0
  36. package/package.json +42 -0
@@ -0,0 +1,38 @@
1
+ import "../variables.css";
2
+ import "../reset.css";
3
+ import "@fontsource/open-sans/400.css";
4
+ import "@fontsource/open-sans/500.css";
5
+ import "@fontsource/open-sans/600.css";
6
+ import "@fontsource/poppins/400.css";
7
+ import "@fontsource/poppins/500.css";
8
+ import "@fontsource/poppins/600.css";
9
+ import "@fontsource/poppins/700.css";
10
+ type __VLS_Props = {
11
+ isShowSidebar?: boolean;
12
+ menus: {
13
+ icon: string;
14
+ title: string;
15
+ children?: {
16
+ icon: string;
17
+ title: string;
18
+ route: string;
19
+ }[];
20
+ }[];
21
+ };
22
+ declare var __VLS_9: {};
23
+ type __VLS_Slots = {} & {
24
+ default?: (props: typeof __VLS_9) => any;
25
+ };
26
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
+ logout: () => any;
28
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onLogout?: (() => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ backgroundImage?: string;
3
+ logo?: string;
4
+ title?: string;
5
+ description?: string;
6
+ };
7
+ declare var __VLS_5: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_5) => any;
10
+ };
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,15 @@
1
+ type __VLS_Props = {
2
+ isShowSidebar?: boolean;
3
+ isShowFullscreen?: boolean;
4
+ isShowUser?: boolean;
5
+ isShowLogoutButton?: boolean;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
+ logout: () => any;
9
+ toggleSidebar: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onLogout?: (() => any) | undefined;
12
+ onToggleSidebar?: (() => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,12 @@
1
+ interface Props {
2
+ totalItems: number;
3
+ pageSize: number;
4
+ maxPageButtons: number;
5
+ }
6
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
+ onPageChange: (page: number) => any;
8
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
9
+ onOnPageChange?: ((page: number) => any) | undefined;
10
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,13 @@
1
+ interface Props {
2
+ open: boolean;
3
+ title?: string;
4
+ }
5
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ close: () => any;
7
+ "update:open": (open: boolean) => any;
8
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
9
+ onClose?: (() => any) | undefined;
10
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,13 @@
1
+ type __VLS_Props = {
2
+ isOpen?: boolean;
3
+ menus: Menu[];
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
+ "update:isOpen": (value: boolean) => any;
7
+ logout: () => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
10
+ onLogout?: (() => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "nicklabs-ui",
3
+ "version": "0.1.1",
4
+ "type": "module",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/src/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
+ }
17
+ },
18
+ "scripts": {
19
+ "build": "vite build",
20
+ "dev": "vite build --watch",
21
+ "type-check": "rimraf node_modules/.tmp && vue-tsc --project tsconfig.build.json --pretty",
22
+ "build-pron": "pnpm run build && pnpm run type-check"
23
+ },
24
+ "peerDependencies": {
25
+ "vue": "^3.5.0"
26
+ },
27
+ "devDependencies": {
28
+ "@vitejs/plugin-vue": "^6.0.1",
29
+ "@vue/tsconfig": "^0.8.1",
30
+ "typescript": "~5.9.3",
31
+ "vite": "^7.1.12",
32
+ "vue": "^3.5.22",
33
+ "vue-tsc": "^3.1.2"
34
+ },
35
+ "dependencies": {
36
+ "@fontsource/open-sans": "^5.2.7",
37
+ "@fontsource/poppins": "^5.2.7",
38
+ "nicklabs-utils": "workspace:*",
39
+ "pinia": "^3.0.3",
40
+ "vue-router": "^4.6.3"
41
+ }
42
+ }