nicklabs-ui 1.0.13 → 1.0.15

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.
@@ -1,3 +1,3 @@
1
- declare const __VLS_export: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
2
2
  declare const _default: typeof __VLS_export;
3
3
  export default _default;
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
9
9
  } & {
10
10
  content?: (props: typeof __VLS_9) => any;
11
11
  };
12
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  export default _default;
@@ -1,5 +1,58 @@
1
1
  import type { App } from "vue";
2
+ import NButton from "./components/NButton.vue";
3
+ import NInput from "./components/NInput.vue";
4
+ import NTextarea from "./components/NTextarea.vue";
5
+ import NCheckbox from "./components/NCheckbox.vue";
6
+ import NSelect from "./components/NSelect.vue";
7
+ import NFileSelect from "./components/NFileSelect.vue";
8
+ import NForm from "./components/NForm.vue";
9
+ import NList from "./components/NList.vue";
10
+ import NEmpty from "./components/NEmpty.vue";
11
+ import NToast from "./components/NToast.vue";
12
+ import NLoading from "./components/NLoading.vue";
13
+ import NCode from "./components/NCode.vue";
14
+ import NSwitch from "./components/NSwitch.vue";
15
+ import NTag from "./components/NTag.vue";
16
+ import NDatePicker from "./components/NDatePicker.vue";
17
+ import NTooltip from "./components/NTooltip.vue";
18
+ import NModal from "./components/NModal.vue";
19
+ import NAlert from "./components/NAlert.vue";
20
+ import NTable from "./components/NTable.vue";
21
+ import NLayout from "./layouts/NLayout.vue";
22
+ import NNavigation from "./layouts/NNavigation.vue";
23
+ import NSidebar from "./layouts/NSidebar.vue";
24
+ import NCard from "./layouts/NCard.vue";
25
+ import NLoginLayout from "./layouts/NLoginLayout.vue";
2
26
  export declare function NickLabsUI(app: App): void;
3
27
  export { useToast } from "./composables/useToast.js";
4
28
  export { useSidebarManager } from "./composables/useSidebarManager.js";
5
29
  export { useAlert } from "./composables/useAlert.js";
30
+ export { NButton, NInput, NTextarea, NCheckbox, NSelect, NFileSelect, NForm, NList, NEmpty, NToast, NLoading, NCode, NSwitch, NTag, NDatePicker, NTooltip, NModal, NAlert, NTable, NLayout, NNavigation, NSidebar, NCard, NLoginLayout, };
31
+ declare module "vue" {
32
+ interface GlobalComponents {
33
+ NButton: typeof NButton;
34
+ NInput: typeof NInput;
35
+ NTextarea: typeof NTextarea;
36
+ NCheckbox: typeof NCheckbox;
37
+ NSelect: typeof NSelect;
38
+ NFileSelect: typeof NFileSelect;
39
+ NForm: typeof NForm;
40
+ NList: typeof NList;
41
+ NEmpty: typeof NEmpty;
42
+ NToast: typeof NToast;
43
+ NLoading: typeof NLoading;
44
+ NCode: typeof NCode;
45
+ NSwitch: typeof NSwitch;
46
+ NTag: typeof NTag;
47
+ NDatePicker: typeof NDatePicker;
48
+ NTooltip: typeof NTooltip;
49
+ NModal: typeof NModal;
50
+ NAlert: typeof NAlert;
51
+ NTable: typeof NTable;
52
+ NLayout: typeof NLayout;
53
+ NNavigation: typeof NNavigation;
54
+ NSidebar: typeof NSidebar;
55
+ NCard: typeof NCard;
56
+ NLoginLayout: typeof NLoginLayout;
57
+ }
58
+ }
@@ -1,5 +1,5 @@
1
1
  interface Props {
2
2
  }
3
- declare const __VLS_export: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
4
4
  declare const _default: typeof __VLS_export;
5
5
  export default _default;
@@ -6,7 +6,7 @@ declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -9,7 +9,7 @@ type __VLS_Slots = {} & {
9
9
  } & {
10
10
  toolbar?: (props: typeof __VLS_16) => any;
11
11
  };
12
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  export default _default;
@@ -18,13 +18,13 @@ declare var __VLS_10: {};
18
18
  type __VLS_Slots = {} & {
19
19
  default?: (props: typeof __VLS_10) => any;
20
20
  };
21
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
21
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
22
22
  logout: () => any;
23
23
  navigate: (childMenu: MenuChild) => any;
24
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
25
25
  onLogout?: (() => any) | undefined;
26
26
  onNavigate?: ((childMenu: MenuChild) => any) | undefined;
27
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
27
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
29
  declare const _default: typeof __VLS_export;
30
30
  export default _default;
@@ -8,7 +8,7 @@ declare var __VLS_7: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_7) => any;
10
10
  };
11
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -4,12 +4,12 @@ type __VLS_Props = {
4
4
  isShowUser?: boolean;
5
5
  isShowLogoutButton?: boolean;
6
6
  };
7
- declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
7
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
8
8
  logout: () => any;
9
9
  toggleSidebar: () => any;
10
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
11
11
  onLogout?: (() => any) | undefined;
12
12
  onToggleSidebar?: (() => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  export default _default;
@@ -3,10 +3,10 @@ interface Props {
3
3
  pageSize: number;
4
4
  maxPageButtons: number;
5
5
  }
6
- declare const __VLS_export: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
6
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
7
7
  onPageChange: (page: number) => any;
8
- }, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{
8
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
9
9
  onOnPageChange?: ((page: number) => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
10
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -2,12 +2,12 @@ interface Props {
2
2
  open: boolean;
3
3
  title?: string;
4
4
  }
5
- declare const __VLS_export: import("@vue/runtime-core").DefineComponent<Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
5
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
6
6
  close: () => any;
7
7
  "update:open": (open: boolean) => any;
8
- }, string, import("@vue/runtime-core").PublicProps, Readonly<Props> & Readonly<{
8
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<Props> & Readonly<{
9
9
  onClose?: (() => any) | undefined;
10
10
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  export default _default;
@@ -9,15 +9,15 @@ declare var __VLS_1: {};
9
9
  type __VLS_Slots = {} & {
10
10
  user?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
12
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
13
13
  "update:isOpen": (value: boolean) => any;
14
14
  logout: () => any;
15
15
  navigate: (childMenu: MenuChild) => any;
16
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
18
18
  onLogout?: (() => any) | undefined;
19
19
  onNavigate?: ((childMenu: MenuChild) => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
20
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nicklabs-ui",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",