nicklabs-ui 1.0.26 → 1.0.27

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.mjs CHANGED
@@ -3393,11 +3393,10 @@ var oa = {
3393
3393
  NSidebar: Vi,
3394
3394
  NCard: en,
3395
3395
  NLoginLayout: ia
3396
- };
3397
- function sa(e, t = {}) {
3396
+ }, sa = { install(e, t = {}) {
3398
3397
  Object.entries(oa).forEach(([t, n]) => {
3399
3398
  e.component(t, n);
3400
3399
  }), t.router && ae(t.router);
3401
- }
3400
+ } };
3402
3401
  //#endregion
3403
3402
  export { Ei as NAlert, j as NButton, en as NCard, ye as NCheckbox, er as NCode, ci as NDatePicker, dn as NEmpty, Dt as NFileSelect, $t as NForm, ue as NInput, Gi as NLayout, Fn as NList, yn as NLoading, ia as NLoginLayout, mi as NModal, Qi as NNavigation, K as NSelect, Vi as NSidebar, nr as NSwitch, Mn as NTable, rr as NTag, fe as NTextarea, Gn as NToast, li as NTooltip, sa as NickLabsUI, _i as useAlert, At as useBreadcrumb, aa as useRouteModal, It as useSidebarManager, Rn as useToast };
@@ -27,7 +27,9 @@ import NLoginLayout from "./layouts/NLoginLayout.vue";
27
27
  export interface NickLabsUIOptions {
28
28
  router?: Router;
29
29
  }
30
- export declare function NickLabsUI(app: App, options?: NickLabsUIOptions): void;
30
+ export declare const NickLabsUI: {
31
+ install(app: App, options?: NickLabsUIOptions): void;
32
+ };
31
33
  export { useToast } from "./composables/useToast.js";
32
34
  export { useSidebarManager } from "./composables/useSidebarManager.js";
33
35
  export { useAlert } from "./composables/useAlert.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nicklabs-ui",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",