nicklabs-ui 1.0.12 → 1.0.13

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
@@ -3270,37 +3270,67 @@ var di = { class: "cards-wrapper" }, fi = ["innerHTML"], pi = { class: "card-bod
3270
3270
  }), [["__scopeId", "data-v-bb912f40"]]), Ki = { class: "brand" }, qi = ["src", "alt"], Ji = {
3271
3271
  key: 1,
3272
3272
  class: "icon"
3273
- }, Yi = { key: 2 }, Xi = { key: 3 }, Zi = /* @__PURE__ */ A(/* @__PURE__ */ p({
3274
- __name: "NLoginLayout",
3275
- props: {
3276
- backgroundImage: { default: "" },
3277
- logo: { default: "" },
3278
- title: { default: "" },
3279
- description: { default: "" }
3280
- },
3281
- setup(e) {
3282
- let t = i(() => !!e.logo && (e.logo.startsWith("http") || e.logo.startsWith("/")));
3283
- return (n, r) => (b(), s("div", {
3284
- class: "login-wrapper",
3285
- style: g({ "--login-bg": e.backgroundImage ? `url('${e.backgroundImage}')` : "var(--bg-gradient)" })
3286
- }, [f(Xt, {
3287
- size: "lg",
3288
- radius: "xl",
3289
- class: "card"
3290
- }, {
3291
- default: O(() => [c("div", Ki, [
3292
- t.value ? (b(), s("img", {
3293
- key: 0,
3294
- class: "logo-img",
3295
- src: e.logo,
3296
- alt: e.title
3297
- }, null, 8, qi)) : (b(), s("div", Ji, T(e.logo), 1)),
3298
- e.title ? (b(), s("h1", Yi, T(e.title), 1)) : o("", !0),
3299
- e.description ? (b(), s("p", Xi, T(e.description), 1)) : o("", !0)
3300
- ]), w(n.$slots, "default", {}, void 0, !0)]),
3301
- _: 3
3302
- })], 4));
3303
- }
3304
- }), [["__scopeId", "data-v-f0866bc5"]]);
3273
+ }, Yi = { key: 2 }, Xi = { key: 3 }, Zi = {
3274
+ NButton: j,
3275
+ NInput: L,
3276
+ NTextarea: de,
3277
+ NCheckbox: ge,
3278
+ NSelect: U,
3279
+ NFileSelect: wt,
3280
+ NForm: Wt,
3281
+ NList: bn,
3282
+ NEmpty: Yt,
3283
+ NToast: An,
3284
+ NLoading: Rn,
3285
+ NCode: qn,
3286
+ NSwitch: Yn,
3287
+ NTag: Xn,
3288
+ NDatePicker: ti,
3289
+ NTooltip: ni,
3290
+ NModal: si,
3291
+ NAlert: yi,
3292
+ NTable: _n,
3293
+ NLayout: Ri,
3294
+ NNavigation: Gi,
3295
+ NSidebar: Pi,
3296
+ NCard: Xt,
3297
+ NLoginLayout: /* @__PURE__ */ A(/* @__PURE__ */ p({
3298
+ __name: "NLoginLayout",
3299
+ props: {
3300
+ backgroundImage: { default: "" },
3301
+ logo: { default: "" },
3302
+ title: { default: "" },
3303
+ description: { default: "" }
3304
+ },
3305
+ setup(e) {
3306
+ let t = i(() => !!e.logo && (e.logo.startsWith("http") || e.logo.startsWith("/")));
3307
+ return (n, r) => (b(), s("div", {
3308
+ class: "login-wrapper",
3309
+ style: g({ "--login-bg": e.backgroundImage ? `url('${e.backgroundImage}')` : "var(--bg-gradient)" })
3310
+ }, [f(Xt, {
3311
+ size: "lg",
3312
+ radius: "xl",
3313
+ class: "card"
3314
+ }, {
3315
+ default: O(() => [c("div", Ki, [
3316
+ t.value ? (b(), s("img", {
3317
+ key: 0,
3318
+ class: "logo-img",
3319
+ src: e.logo,
3320
+ alt: e.title
3321
+ }, null, 8, qi)) : (b(), s("div", Ji, T(e.logo), 1)),
3322
+ e.title ? (b(), s("h1", Yi, T(e.title), 1)) : o("", !0),
3323
+ e.description ? (b(), s("p", Xi, T(e.description), 1)) : o("", !0)
3324
+ ]), w(n.$slots, "default", {}, void 0, !0)]),
3325
+ _: 3
3326
+ })], 4));
3327
+ }
3328
+ }), [["__scopeId", "data-v-f0866bc5"]])
3329
+ };
3330
+ function Qi(e) {
3331
+ Object.entries(Zi).forEach(([t, n]) => {
3332
+ e.component(t, n);
3333
+ });
3334
+ }
3305
3335
  //#endregion
3306
- export { yi as NAlert, j as NButton, Xt as NCard, ge as NCheckbox, qn as NCode, ti as NDatePicker, Yt as NEmpty, wt as NFileSelect, Wt as NForm, L as NInput, Ri as NLayout, bn as NList, Rn as NLoading, Zi as NLoginLayout, si as NModal, Gi as NNavigation, U as NSelect, Pi as NSidebar, Yn as NSwitch, _n as NTable, Xn as NTag, de as NTextarea, An as NToast, ni as NTooltip, ui as useAlert, Ot as useSidebarManager, Cn as useToast };
3336
+ export { Qi as NickLabsUI, ui as useAlert, Ot as useSidebarManager, Cn as useToast };
@@ -1,28 +1,5 @@
1
- import NButton from "./components/NButton.vue";
2
- import NInput from "./components/NInput.vue";
3
- import NTextarea from "./components/NTextarea.vue";
4
- import NCheckbox from "./components/NCheckbox.vue";
5
- import NSelect from "./components/NSelect.vue";
6
- import NFileSelect from "./components/NFileSelect.vue";
7
- import NForm from "./components/NForm.vue";
8
- import NList from "./components/NList.vue";
9
- import NEmpty from "./components/NEmpty.vue";
10
- import NToast from "./components/NToast.vue";
11
- import NLoading from "./components/NLoading.vue";
12
- import NCode from "./components/NCode.vue";
13
- import NSwitch from "./components/NSwitch.vue";
14
- import NTag from "./components/NTag.vue";
15
- import NDatePicker from "./components/NDatePicker.vue";
16
- import NTooltip from "./components/NTooltip.vue";
17
- import NModal from "./components/NModal.vue";
18
- import NAlert from "./components/NAlert.vue";
19
- import NTable from "./components/NTable.vue";
20
- import NLayout from "./layouts/NLayout.vue";
21
- import NNavigation from "./layouts/NNavigation.vue";
22
- import NSidebar from "./layouts/NSidebar.vue";
23
- import NCard from "./layouts/NCard.vue";
24
- import NLoginLayout from "./layouts/NLoginLayout.vue";
1
+ import type { App } from "vue";
2
+ export declare function NickLabsUI(app: App): void;
25
3
  export { useToast } from "./composables/useToast.js";
26
4
  export { useSidebarManager } from "./composables/useSidebarManager.js";
27
5
  export { useAlert } from "./composables/useAlert.js";
28
- 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, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nicklabs-ui",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",