@nxgt/material-vue 0.4.0 → 0.5.0

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,4 +1,4 @@
1
- import { Hp as e, ol as t } from "./components-CIfTQ-I3.js";
1
+ import { Gp as e, ol as t } from "./components-7Ajwd8cr.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { n as r } from "./i18n-GAjGs1da.js";
4
4
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
@@ -1,4 +1,4 @@
1
- import { Vl as e } from "./components-CIfTQ-I3.js";
1
+ import { Vl as e } from "./components-7Ajwd8cr.js";
2
2
  import { t } from "./utils-Cy-ByIEo.js";
3
3
  import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, nextTick as s, normalizeClass as c, normalizeStyle as l, onBeforeUnmount as u, openBlock as d, ref as f, unref as p, watch as m } from "vue";
4
4
  //#region lib/components/ui/pdf-viewer/pdf-escape.ts
@@ -1,5 +1,5 @@
1
- import { Hp as e, ol as t } from "./components-CIfTQ-I3.js";
2
- import { t as n } from "./pdf-page-CFDu8jEg.js";
1
+ import { Gp as e, ol as t } from "./components-7Ajwd8cr.js";
2
+ import { t as n } from "./pdf-page-bDjssyjX.js";
3
3
  import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, defineComponent as s, openBlock as c, renderList as l, withCtx as u } from "vue";
4
4
  //#region lib/components/ui/pdf-viewer/partials/pdf-page-list.vue?vue&type=script&setup=true&lang.ts
5
5
  var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__*/ s({
@@ -1,11 +1,11 @@
1
- import { if as e, lt as t } from "./components-CIfTQ-I3.js";
1
+ import { lt as e, sf as t } from "./components-7Ajwd8cr.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { r } from "./icon-button-Ghucx7Ah.js";
4
4
  import { n as i } from "./i18n-GAjGs1da.js";
5
- import { i as a, n as o, r as s } from "./pdf-page-CFDu8jEg.js";
6
- import { t as c } from "./pdf-page-list-BCkRBzwL.js";
7
- import { t as l } from "./pdf-sidebar-DWxP5Pfz.js";
8
- import { t as u } from "./pdf-toolbar-k0hsuz_X.js";
5
+ import { i as a, n as o, r as s } from "./pdf-page-bDjssyjX.js";
6
+ import { t as c } from "./pdf-page-list-DPGxoujP.js";
7
+ import { t as l } from "./pdf-sidebar-C36bGZ5M.js";
8
+ import { t as u } from "./pdf-toolbar-BKeM1-o9.js";
9
9
  import { createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, reactive as S, ref as C, shallowRef as w, toDisplayString as T, toRef as E, unref as D, watch as O, withCtx as k } from "vue";
10
10
  import { AlertCircle as A, FileX2 as j, KeyRound as M, Loader2 as N } from "lucide-vue-next";
11
11
  //#region lib/components/ui/pdf-viewer/pdf-download.ts
@@ -118,7 +118,7 @@ var H = { class: "absolute inset-0 flex flex-col items-center justify-center gap
118
118
  __name: "pdf-password-form",
119
119
  props: { modelValue: {} },
120
120
  emits: ["update:modelValue", "submit"],
121
- setup(t, { emit: n }) {
121
+ setup(e, { emit: n }) {
122
122
  let a = n, { t: o } = i();
123
123
  function s(e) {
124
124
  e.key === "Enter" && a("submit");
@@ -126,11 +126,11 @@ var H = { class: "absolute inset-0 flex flex-col items-center justify-center gap
126
126
  return (n, i) => (x(), p("div", Y, [
127
127
  g(D(M), { class: "size-10 text-primary opacity-70" }),
128
128
  m("p", X, T(D(o)("material.pdf-reader.password", "Password protected")), 1),
129
- m("div", Z, [g(e, {
129
+ m("div", Z, [g(t, {
130
130
  type: "password",
131
131
  placeholder: D(o)("material.pdf-reader.password-placeholder", "Enter password"),
132
132
  class: "h-9 w-48",
133
- "model-value": t.modelValue,
133
+ "model-value": e.modelValue,
134
134
  autofocus: "",
135
135
  "onUpdate:modelValue": i[0] ||= (e) => a("update:modelValue", String(e)),
136
136
  onKeydown: s
@@ -274,8 +274,8 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
274
274
  "loadSuccess",
275
275
  "loadError"
276
276
  ],
277
- setup(e, { emit: r }) {
278
- let a = e, o = r, { t: s } = i(), c = C(null), l = /* @__PURE__ */ new Map(), f = te(c), m = t({
277
+ setup(t, { emit: r }) {
278
+ let a = t, o = r, { t: s } = i(), c = C(null), l = /* @__PURE__ */ new Map(), f = te(c), m = e({
279
279
  get file() {
280
280
  return a.file;
281
281
  },
@@ -330,7 +330,7 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
330
330
  function M() {
331
331
  a.onPrint ? a.onPrint() : a.file && I(a.file);
332
332
  }
333
- return (t, r) => e.file ? (x(), p("div", {
333
+ return (e, r) => t.file ? (x(), p("div", {
334
334
  key: 1,
335
335
  ref_key: "wrapperRef",
336
336
  ref: c,
@@ -380,7 +380,7 @@ var ne = ["aria-label"], re = /* @__PURE__ */ _({
380
380
  "onSearchOpenChange",
381
381
  "onToggleNightMode"
382
382
  ]), g(ee, {
383
- file: e.file,
383
+ file: t.file,
384
384
  state: D(h),
385
385
  "effective-scale": D(_),
386
386
  "page-refs": D(l),
@@ -1,8 +1,8 @@
1
- import { Hp as e } from "./components-CIfTQ-I3.js";
1
+ import { Gp as e } from "./components-7Ajwd8cr.js";
2
2
  import { t } from "./utils-Cy-ByIEo.js";
3
3
  import { n } from "./i18n-GAjGs1da.js";
4
- import { t as r } from "./pdf-outline-sidebar-BFM10kQu.js";
5
- import { t as i } from "./pdf-thumbnail-sidebar-Bi7-B940.js";
4
+ import { t as r } from "./pdf-outline-sidebar-7EEhkMof.js";
5
+ import { t as i } from "./pdf-thumbnail-sidebar-B5M7JduL.js";
6
6
  import { createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, toDisplayString as d, unref as f, useId as p, useTemplateRef as m } from "vue";
7
7
  //#region lib/components/ui/pdf-viewer/partials/pdf-sidebar.vue?vue&type=script&setup=true&lang.ts
8
8
  var h = ["aria-label"], g = ["aria-label"], _ = [
@@ -1,7 +1,7 @@
1
- import { Hp as e, ol as t } from "./components-CIfTQ-I3.js";
1
+ import { Gp as e, ol as t } from "./components-7Ajwd8cr.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { n as r } from "./i18n-GAjGs1da.js";
4
- import { t as i } from "./pdf-page-CFDu8jEg.js";
4
+ import { t as i } from "./pdf-page-bDjssyjX.js";
5
5
  import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
6
6
  //#region lib/components/ui/pdf-viewer/partials/pdf-thumbnail-sidebar.vue?vue&type=script&setup=true&lang.ts
7
7
  var _ = ["aria-label"], v = {
@@ -1,4 +1,4 @@
1
- import { Hp as e, if as t } from "./components-CIfTQ-I3.js";
1
+ import { Gp as e, sf as t } from "./components-7Ajwd8cr.js";
2
2
  import { t as n } from "./utils-Cy-ByIEo.js";
3
3
  import { t as r } from "./icon-button-Ghucx7Ah.js";
4
4
  import { n as i } from "./i18n-GAjGs1da.js";
@@ -1,4 +1,4 @@
1
- import { Fu as e, _ as t, f as n, g as r, m as i, p as a, v as o, y as s } from "./components-CIfTQ-I3.js";
1
+ import { Ru as e, _ as t, f as n, g as r, m as i, p as a, v as o, y as s } from "./components-7Ajwd8cr.js";
2
2
  import { t as c } from "./utils-Cy-ByIEo.js";
3
3
  import { createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, openBlock as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
4
4
  //#region lib/components/ui/stx-player/partials/stx-player-frame.vue?vue&type=script&setup=true&lang.ts
@@ -334,6 +334,7 @@ export const COMPONENT_NAMES = [
334
334
  'NavigationRail',
335
335
  'NetworkUploadField',
336
336
  'NetworkUploadFormField',
337
+ 'NoticeCard',
337
338
  'Notifications',
338
339
  'NumberField',
339
340
  'NumberFormField',
@@ -471,6 +472,7 @@ export const COMPONENT_NAMES = [
471
472
  'Sparkline',
472
473
  'Spinner',
473
474
  'SplitButton',
475
+ 'SplitCard',
474
476
  'SpotlightCard',
475
477
  'StatCard',
476
478
  'StatusIndicator',
@@ -509,6 +511,7 @@ export const COMPONENT_NAMES = [
509
511
  'TextareaFormField',
510
512
  'ThemeToggle',
511
513
  'ThreadLayout',
514
+ 'TicketCard',
512
515
  'TimeField',
513
516
  'TimeFormField',
514
517
  'TimePicker',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material-vue",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "files": [