@quidgest/ui 0.15.3 → 0.15.4

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 (70) hide show
  1. package/dist/manifest/components.json +2 -0
  2. package/dist/ui.css +1 -1
  3. package/dist/ui.esm.js +6782 -5929
  4. package/dist/ui.js +33 -26
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +1112 -967
  7. package/dist/ui.scss +2 -2
  8. package/esm/components/QCombobox/QCombobox.d.ts +2 -6
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QCombobox/index.d.ts +1 -3
  11. package/esm/components/QCombobox/index.d.ts.map +1 -1
  12. package/esm/components/QDialog/QDialog.d.ts +2 -2
  13. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  14. package/esm/components/QDialog/QDialog.vue.js +51 -50
  15. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts +35 -0
  16. package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -0
  17. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +50 -0
  18. package/esm/components/QDismissibleLayer/QDismissibleLayer.vue2.js +4 -0
  19. package/esm/components/QDismissibleLayer/index.d.ts +53 -0
  20. package/esm/components/QDismissibleLayer/index.d.ts.map +1 -0
  21. package/esm/components/QDismissibleLayer/index.js +6 -0
  22. package/esm/components/QDismissibleLayer/types.d.ts +25 -0
  23. package/esm/components/QDismissibleLayer/types.d.ts.map +1 -0
  24. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +0 -4
  25. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  26. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +10 -15
  27. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +10 -15
  28. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  29. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +72 -117
  30. package/esm/components/QDropdownMenu/index.d.ts +0 -3
  31. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  32. package/esm/components/QFocusTrap/QFocusTrap.d.ts +28 -0
  33. package/esm/components/QFocusTrap/QFocusTrap.d.ts.map +1 -0
  34. package/esm/components/QFocusTrap/QFocusTrap.vue.js +32 -0
  35. package/esm/components/QFocusTrap/QFocusTrap.vue2.js +4 -0
  36. package/esm/components/QFocusTrap/index.d.ts +38 -0
  37. package/esm/components/QFocusTrap/index.d.ts.map +1 -0
  38. package/esm/components/QFocusTrap/index.js +6 -0
  39. package/esm/components/QFocusTrap/types.d.ts +6 -0
  40. package/esm/components/QFocusTrap/types.d.ts.map +1 -0
  41. package/esm/components/QList/QList.d.ts +0 -9
  42. package/esm/components/QList/QList.d.ts.map +1 -1
  43. package/esm/components/QList/QList.vue.js +97 -82
  44. package/esm/components/QList/index.d.ts +0 -3
  45. package/esm/components/QList/index.d.ts.map +1 -1
  46. package/esm/components/QOverlay/QOverlay.d.ts +2 -0
  47. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  48. package/esm/components/QOverlay/QOverlay.vue.js +197 -148
  49. package/esm/components/QOverlay/index.d.ts +4 -0
  50. package/esm/components/QOverlay/index.d.ts.map +1 -1
  51. package/esm/components/QOverlay/types.d.ts +6 -1
  52. package/esm/components/QOverlay/types.d.ts.map +1 -1
  53. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +6 -5
  54. package/esm/components/QSelect/QSelect.d.ts +2 -6
  55. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  56. package/esm/components/QSelect/QSelect.vue.js +106 -125
  57. package/esm/components/QSelect/index.d.ts +1 -3
  58. package/esm/components/QSelect/index.d.ts.map +1 -1
  59. package/esm/components/index.d.ts +2 -0
  60. package/esm/components/index.d.ts.map +1 -1
  61. package/esm/components/index.js +69 -65
  62. package/esm/index.d.ts +2 -0
  63. package/esm/utils/merge.d.ts.map +1 -1
  64. package/esm/utils/merge.js +12 -16
  65. package/esm/vendors/@vueuse/core/index.js +173 -67
  66. package/esm/vendors/@vueuse/integrations/useFocusTrap/component.js +24 -0
  67. package/esm/vendors/@vueuse/shared/index.js +36 -15
  68. package/esm/vendors/focus-trap/dist/focus-trap.esm.js +473 -0
  69. package/esm/vendors/tabbable/dist/index.esm.js +202 -0
  70. package/package.json +3 -1
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.15.3
2
+ * Quidgest UI v0.15.4
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1163,7 +1163,7 @@ body {
1163
1163
  margin-left: auto;
1164
1164
  display: flex;
1165
1165
  color: var(--q-theme-neutral);
1166
- font-size: x-small;
1166
+ font-size: 0.75rem;
1167
1167
  }
1168
1168
  }
1169
1169
  .q-field {
@@ -398,7 +398,6 @@ declare function __VLS_template(): {
398
398
  }> & Readonly<{
399
399
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
400
400
  }>, {
401
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
402
401
  getItem: (idx: number) => HTMLElement | undefined;
403
402
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
404
403
  getFirstFocusableItemIndex: () => number;
@@ -445,8 +444,7 @@ declare function __VLS_template(): {
445
444
  selectable?: boolean;
446
445
  }> & Readonly<{
447
446
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
448
- }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
449
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
447
+ }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
450
448
  getItem: (idx: number) => HTMLElement | undefined;
451
449
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
452
450
  getFirstFocusableItemIndex: () => number;
@@ -1255,7 +1253,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1255
1253
  }> & Readonly<{
1256
1254
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
1257
1255
  }>, {
1258
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
1259
1256
  getItem: (idx: number) => HTMLElement | undefined;
1260
1257
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
1261
1258
  getFirstFocusableItemIndex: () => number;
@@ -1302,8 +1299,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1302
1299
  selectable?: boolean;
1303
1300
  }> & Readonly<{
1304
1301
  "onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
1305
- }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1306
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
1302
+ }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1307
1303
  getItem: (idx: number) => HTMLElement | undefined;
1308
1304
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
1309
1305
  getFirstFocusableItemIndex: () => number;
@@ -1 +1 @@
1
- {"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA0HA;AAskBC,OAAO,EAAE,aAAa,EAAiB,MAAM,SAAS,CAAA;AAYtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,OAAO,EAAY,QAAQ,EA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;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -806,7 +806,6 @@ declare const QCombobox: {
806
806
  }> & Readonly<{
807
807
  "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
808
808
  }>, {
809
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
810
809
  getItem: (idx: number) => HTMLElement | undefined;
811
810
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
812
811
  getFirstFocusableItemIndex: () => number;
@@ -853,8 +852,7 @@ declare const QCombobox: {
853
852
  selectable?: boolean;
854
853
  }> & Readonly<{
855
854
  "onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
856
- }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
857
- focusItem: (itemIdx: number, preventScroll?: boolean) => void;
855
+ }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
858
856
  getItem: (idx: number) => HTMLElement | undefined;
859
857
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
860
858
  getFirstFocusableItemIndex: () => number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI+vzB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;w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from './types';
2
2
  type __VLS_Props = QDialogProps;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: boolean;
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
20
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
21
  }>, {
22
22
  html: boolean;
23
- icon: import('../QIcon').Icon;
23
+ icon: import('..').Icon;
24
24
  icons: typeof DEFAULT_ICONS;
25
25
  attach: string;
26
26
  backdropBlur: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;AAkGC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAGzD,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAEtE,KAAK,WAAW,GAAG,YAAY,CAAC;AAgCjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgKT,OAAO,IAA6B;;gCAZb,GAAG;6BACN,GAAG;+BACD,GAAG;;;;EAetC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyDA;AA6FC,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAQtE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEzD,KAAK,WAAW,GAAG,YAAY,CAAC;AAgCjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgKT,OAAO,IAA6B;;gCAZb,GAAG;6BACN,GAAG;+BACD,GAAG;;;;EAetC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,73 +1,74 @@
1
- import { defineComponent as C, mergeModels as q, useModel as T, createBlock as s, openBlock as o, unref as t, withCtx as r, createElementVNode as i, normalizeClass as D, renderSlot as c, createCommentVNode as u, toDisplayString as y, createVNode as k, normalizeProps as h, guardReactiveProps as g, createElementBlock as n, Fragment as L, renderList as N, mergeProps as v } from "vue";
1
+ import { defineComponent as C, mergeModels as V, useModel as q, createBlock as n, openBlock as o, unref as a, withCtx as c, createElementVNode as i, normalizeClass as T, renderSlot as u, createCommentVNode as _, toDisplayString as y, createVNode as k, normalizeProps as h, guardReactiveProps as g, createElementBlock as d, Fragment as D, renderList as L, mergeProps as v } from "vue";
2
+ import { DEFAULT_ICONS as N, DEFAULT_BUTTONS as x, DEFAULT_ICON as E } from "./types.js";
2
3
  import { QButton as B } from "../QButton/index.js";
3
- import { QIcon as _ } from "../QIcon/index.js";
4
- import { QOverlay as V } from "../QOverlay/index.js";
5
- import { DEFAULT_ICONS as x, DEFAULT_BUTTONS as E, DEFAULT_ICON as M } from "./types.js";
6
- const A = { class: "q-dialog__header" }, F = { class: "q-dialog__header-title" }, O = { class: "q-dialog__body" }, Q = {
4
+ import { QIcon as p } from "../QIcon/index.js";
5
+ import { QOverlay as M } from "../QOverlay/index.js";
6
+ const U = { class: "q-dialog__header" }, A = { class: "q-dialog__header-title" }, F = { class: "q-dialog__body" }, O = {
7
7
  key: 0,
8
8
  class: "q-dialog__body-icon"
9
- }, S = { class: "q-dialog__body-text" }, U = ["innerHTML"], I = { key: 1 }, P = { class: "q-dialog__body-actions" }, j = /* @__PURE__ */ C({
9
+ }, Q = { class: "q-dialog__body-text" }, S = ["innerHTML"], I = { key: 1 }, P = { class: "q-dialog__body-actions" }, j = /* @__PURE__ */ C({
10
10
  __name: "QDialog",
11
- props: /* @__PURE__ */ q({
11
+ props: /* @__PURE__ */ V({
12
12
  id: {},
13
13
  class: {},
14
14
  title: {},
15
15
  text: {},
16
- icon: { default: () => M },
17
- buttons: { default: () => E },
16
+ icon: { default: () => E },
17
+ buttons: { default: () => x },
18
18
  attach: { default: "body" },
19
19
  inline: { type: Boolean },
20
20
  backdropBlur: { type: Boolean, default: !0 },
21
21
  dismissible: { type: Boolean },
22
22
  html: { type: Boolean, default: !0 },
23
- icons: { default: () => x }
23
+ icons: { default: () => N }
24
24
  }, {
25
25
  modelValue: { type: Boolean },
26
26
  modelModifiers: {}
27
27
  }),
28
28
  emits: ["update:modelValue"],
29
- setup(p) {
30
- const e = p, m = T(p, "modelValue");
29
+ setup(m) {
30
+ const e = m, r = q(m, "modelValue");
31
31
  function f() {
32
- m.value = !1;
32
+ r.value = !1;
33
33
  }
34
34
  function b(l) {
35
- var d;
36
- (d = l.action) == null || d.call(l), f();
35
+ var s;
36
+ (s = l.action) == null || s.call(l), f();
37
37
  }
38
- return (l, d) => (o(), s(t(V), {
38
+ return (l, s) => (o(), n(a(M), {
39
39
  id: e.id,
40
- "model-value": m.value,
41
- inline: e.inline,
42
- attach: e.attach,
43
- "backdrop-blur": e.backdropBlur,
40
+ modelValue: r.value,
41
+ "onUpdate:modelValue": s[0] || (s[0] = (t) => r.value = t),
44
42
  "backdrop-class": "q-dialog__underlay",
45
43
  "scroll-lock": "",
46
- persistent: ""
44
+ persistent: "",
45
+ inline: e.inline,
46
+ attach: e.attach,
47
+ "backdrop-blur": e.backdropBlur
47
48
  }, {
48
- default: r(() => [
49
+ default: c(() => [
49
50
  i(
50
51
  "div",
51
52
  {
52
- class: D(["q-dialog", e.class])
53
+ class: T(["q-dialog", e.class])
53
54
  },
54
55
  [
55
- i("div", A, [
56
+ i("div", U, [
56
57
  i(
57
58
  "span",
58
- F,
59
+ A,
59
60
  y(e.title),
60
61
  1
61
62
  /* TEXT */
62
63
  ),
63
- e.dismissible ? (o(), s(t(B), {
64
+ e.dismissible ? (o(), n(a(B), {
64
65
  key: 0,
65
66
  variant: "text",
66
67
  onClick: f
67
68
  }, {
68
- default: r(() => [
69
+ default: c(() => [
69
70
  k(
70
- t(_),
71
+ a(p),
71
72
  h(g(e.icons.close)),
72
73
  null,
73
74
  16
@@ -76,26 +77,26 @@ const A = { class: "q-dialog__header" }, F = { class: "q-dialog__header-title" }
76
77
  ]),
77
78
  _: 1
78
79
  /* STABLE */
79
- })) : u("v-if", !0)
80
+ })) : _("v-if", !0)
80
81
  ]),
81
- c(l.$slots, "body.content", {}, () => [
82
- i("div", O, [
83
- c(l.$slots, "body.icon", {}, () => [
84
- e.icon ? (o(), n("span", Q, [
82
+ u(l.$slots, "body.content", {}, () => [
83
+ i("div", F, [
84
+ u(l.$slots, "body.icon", {}, () => [
85
+ e.icon ? (o(), d("span", O, [
85
86
  k(
86
- t(_),
87
+ a(p),
87
88
  h(g(e.icon)),
88
89
  null,
89
90
  16
90
91
  /* FULL_PROPS */
91
92
  )
92
- ])) : u("v-if", !0)
93
+ ])) : _("v-if", !0)
93
94
  ]),
94
- i("div", S, [
95
- e.html ? (o(), n("span", {
95
+ i("div", Q, [
96
+ e.html ? (o(), d("span", {
96
97
  key: 0,
97
98
  innerHTML: e.text
98
- }, null, 8, U)) : (o(), n(
99
+ }, null, 8, S)) : (o(), d(
99
100
  "span",
100
101
  I,
101
102
  y(e.text),
@@ -103,28 +104,28 @@ const A = { class: "q-dialog__header" }, F = { class: "q-dialog__header-title" }
103
104
  /* TEXT */
104
105
  ))
105
106
  ]),
106
- c(l.$slots, "body.append")
107
+ u(l.$slots, "body.append")
107
108
  ])
108
109
  ]),
109
110
  i("div", P, [
110
- (o(!0), n(
111
- L,
111
+ (o(!0), d(
112
+ D,
112
113
  null,
113
- N(e.buttons, (a) => (o(), s(t(B), v({ ref_for: !0 }, a.props, {
114
- key: a.id,
115
- onClick: () => b(a)
114
+ L(e.buttons, (t) => (o(), n(a(B), v({ ref_for: !0 }, t.props, {
115
+ key: t.id,
116
+ onClick: () => b(t)
116
117
  }), {
117
- default: r(() => [
118
- a.icon ? (o(), s(
119
- t(_),
118
+ default: c(() => [
119
+ t.icon ? (o(), n(
120
+ a(p),
120
121
  v({
121
122
  key: 0,
122
123
  ref_for: !0
123
- }, a.icon),
124
+ }, t.icon),
124
125
  null,
125
126
  16
126
127
  /* FULL_PROPS */
127
- )) : u("v-if", !0)
128
+ )) : _("v-if", !0)
128
129
  ]),
129
130
  _: 2
130
131
  /* DYNAMIC */
@@ -140,7 +141,7 @@ const A = { class: "q-dialog__header" }, F = { class: "q-dialog__header-title" }
140
141
  ]),
141
142
  _: 3
142
143
  /* FORWARDED */
143
- }, 8, ["id", "model-value", "inline", "attach", "backdrop-blur"]));
144
+ }, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur"]));
144
145
  }
145
146
  });
146
147
  export {
@@ -0,0 +1,35 @@
1
+ import { FocusOutsideEvent, PointerDownOutsideEvent } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {
8
+ layerRef: HTMLDivElement;
9
+ };
10
+ rootEl: HTMLDivElement;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "escape-key-down": (event: KeyboardEvent) => any;
15
+ "pointer-down-outside": (event: PointerDownOutsideEvent) => any;
16
+ "focus-outside": (event: FocusOutsideEvent) => any;
17
+ "interact-outside": (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
18
+ dismiss: (event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any;
19
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
20
+ "onEscape-key-down"?: ((event: KeyboardEvent) => any) | undefined;
21
+ "onPointer-down-outside"?: ((event: PointerDownOutsideEvent) => any) | undefined;
22
+ "onFocus-outside"?: ((event: FocusOutsideEvent) => any) | undefined;
23
+ "onInteract-outside"?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
24
+ onDismiss?: ((event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
26
+ layerRef: HTMLDivElement;
27
+ }, HTMLDivElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+ //# sourceMappingURL=QDismissibleLayer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QDismissibleLayer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDismissibleLayer/QDismissibleLayer.vue"],"names":[],"mappings":"AAKA;AA8HC,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAgH1E,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;kBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { defineComponent as r, ref as a, onMounted as c, onUnmounted as l, createElementBlock as f, openBlock as m, renderSlot as p } from "vue";
2
+ import { onClickOutside as v } from "../../vendors/@vueuse/core/index.js";
3
+ const b = /* @__PURE__ */ r({
4
+ __name: "QDismissibleLayer",
5
+ emits: ["escape-key-down", "pointer-down-outside", "focus-outside", "interact-outside", "dismiss"],
6
+ setup(E, { emit: u }) {
7
+ const t = u, o = a(null);
8
+ function i(e) {
9
+ e.key === "Escape" && (t("escape-key-down", e), e.defaultPrevented || t("dismiss", e));
10
+ }
11
+ function d(e) {
12
+ if (!o.value) return;
13
+ const n = e.target;
14
+ if (!o.value.contains(n)) {
15
+ const s = new CustomEvent("focus-outside", {
16
+ bubbles: !1,
17
+ cancelable: !0,
18
+ detail: { originalEvent: e }
19
+ });
20
+ t("focus-outside", s), t("interact-outside", s), s.defaultPrevented || t("dismiss", s);
21
+ }
22
+ }
23
+ return c(() => {
24
+ document.addEventListener("keydown", i), document.addEventListener("focusin", d), v(o, (e) => {
25
+ const n = new CustomEvent("pointer-down-outside", {
26
+ bubbles: !1,
27
+ cancelable: !0,
28
+ detail: { originalEvent: e }
29
+ });
30
+ t("pointer-down-outside", n), t("interact-outside", n), n.defaultPrevented || t("dismiss", n);
31
+ });
32
+ }), l(() => {
33
+ document.removeEventListener("keydown", i), document.removeEventListener("focusin", d);
34
+ }), (e, n) => (m(), f(
35
+ "div",
36
+ {
37
+ ref_key: "layerRef",
38
+ ref: o
39
+ },
40
+ [
41
+ p(e.$slots, "default")
42
+ ],
43
+ 512
44
+ /* NEED_PATCH */
45
+ ));
46
+ }
47
+ });
48
+ export {
49
+ b as default
50
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QDismissibleLayer.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,53 @@
1
+ import { FocusOutsideEvent, PointerDownOutsideEvent } from './types';
2
+ declare const QDismissibleLayer: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{
4
+ "onEscape-key-down"?: ((event: KeyboardEvent) => any) | undefined;
5
+ "onPointer-down-outside"?: ((event: PointerDownOutsideEvent) => any) | undefined;
6
+ "onFocus-outside"?: ((event: FocusOutsideEvent) => any) | undefined;
7
+ "onInteract-outside"?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
8
+ onDismiss?: ((event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "escape-key-down": (event: KeyboardEvent) => any;
11
+ "pointer-down-outside": (event: PointerDownOutsideEvent) => any;
12
+ "focus-outside": (event: FocusOutsideEvent) => any;
13
+ "interact-outside": (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
14
+ dismiss: (event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any;
15
+ }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
16
+ layerRef: HTMLDivElement;
17
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
18
+ P: {};
19
+ B: {};
20
+ D: {};
21
+ C: {};
22
+ M: {};
23
+ Defaults: {};
24
+ }, Readonly<{}> & Readonly<{
25
+ "onEscape-key-down"?: ((event: KeyboardEvent) => any) | undefined;
26
+ "onPointer-down-outside"?: ((event: PointerDownOutsideEvent) => any) | undefined;
27
+ "onFocus-outside"?: ((event: FocusOutsideEvent) => any) | undefined;
28
+ "onInteract-outside"?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
29
+ onDismiss?: ((event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
30
+ }>, {}, {}, {}, {}, {}>;
31
+ __isFragment?: never;
32
+ __isTeleport?: never;
33
+ __isSuspense?: never;
34
+ } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{
35
+ "onEscape-key-down"?: ((event: KeyboardEvent) => any) | undefined;
36
+ "onPointer-down-outside"?: ((event: PointerDownOutsideEvent) => any) | undefined;
37
+ "onFocus-outside"?: ((event: FocusOutsideEvent) => any) | undefined;
38
+ "onInteract-outside"?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
39
+ onDismiss?: ((event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
40
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ "escape-key-down": (event: KeyboardEvent) => any;
42
+ "pointer-down-outside": (event: PointerDownOutsideEvent) => any;
43
+ "focus-outside": (event: FocusOutsideEvent) => any;
44
+ "interact-outside": (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
45
+ dismiss: (event: KeyboardEvent | PointerDownOutsideEvent | FocusOutsideEvent) => any;
46
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
47
+ $slots: {
48
+ default?(_: {}): any;
49
+ };
50
+ });
51
+ export { QDismissibleLayer };
52
+ export type { FocusOutsideEvent, PointerDownOutsideEvent };
53
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDismissibleLayer/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAKzE,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAA;AAG7D,OAAO,EAAE,iBAAiB,EAAE,CAAA;AAG5B,YAAY,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import o from "./QDismissibleLayer.vue.js";
2
+ import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
+ const m = r(o);
4
+ export {
5
+ m as QDismissibleLayer
6
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Represents a custom event triggered when a pointer down action occurs outside a specific layer.
3
+ *
4
+ * @extends CustomEvent
5
+ * @property detail - Contains additional information about the event.
6
+ * @property detail.originalEvent - The original `PointerEvent` that triggered this custom event.
7
+ */
8
+ export interface PointerDownOutsideEvent extends CustomEvent {
9
+ detail: {
10
+ originalEvent: PointerEvent;
11
+ };
12
+ }
13
+ /**
14
+ * Represents a custom event triggered when focus moves outside a specific layer or component.
15
+ *
16
+ * @extends CustomEvent
17
+ * @property detail - An object containing additional information about the event.
18
+ * @property detail.originalEvent - The original `FocusEvent` that caused this custom event to be dispatched.
19
+ */
20
+ export interface FocusOutsideEvent extends CustomEvent {
21
+ detail: {
22
+ originalEvent: FocusEvent;
23
+ };
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDismissibleLayer/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,uBAAwB,SAAQ,WAAW;IAC3D,MAAM,EAAE;QACP,aAAa,EAAE,YAAY,CAAA;KAC3B,CAAA;CACD;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACrD,MAAM,EAAE;QACP,aAAa,EAAE,UAAU,CAAA;KACzB,CAAA;CACD"}
@@ -1,15 +1,11 @@
1
1
  import { QDropdownMenuProps } from './types';
2
- import { Primitive } from '../../types/primitive';
3
2
  type __VLS_Props = QDropdownMenuProps;
4
3
  type __VLS_PublicProps = {
5
4
  modelValue?: boolean;
6
5
  } & __VLS_Props;
7
6
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
7
  "update:modelValue": (value: boolean) => any;
9
- } & {
10
- select: (item: Primitive | undefined) => any;
11
8
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- onSelect?: ((item: Primitive | undefined) => any) | undefined;
13
9
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
10
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
11
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAMA;AAqCC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAqBvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;AA2DhB,wBAOG"}
1
+ {"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AAKA;AAuBC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEjD,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAQvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;AAoDhB,wBAQG"}
@@ -1,9 +1,8 @@
1
- import { defineComponent as u, mergeModels as n, useModel as c, createBlock as d, openBlock as p, mergeProps as f } from "vue";
2
- import V from "./QDropdownMenuContent.vue.js";
3
- const _ = /* @__PURE__ */ u({
4
- inheritAttrs: !1,
1
+ import { defineComponent as n, mergeModels as m, useModel as r, createBlock as s, openBlock as d, mergeProps as i } from "vue";
2
+ import p from "./QDropdownMenuContent.vue.js";
3
+ const V = /* @__PURE__ */ n({
5
4
  __name: "QDropdownMenu",
6
- props: /* @__PURE__ */ n({
5
+ props: /* @__PURE__ */ m({
7
6
  id: {},
8
7
  class: {},
9
8
  activator: {},
@@ -21,19 +20,15 @@ const _ = /* @__PURE__ */ u({
21
20
  modelValue: { type: Boolean },
22
21
  modelModifiers: {}
23
22
  }),
24
- emits: /* @__PURE__ */ n(["select"], ["update:modelValue"]),
25
- setup(e, { emit: a }) {
26
- const m = e, s = a, o = c(e, "modelValue");
27
- function i(t) {
28
- s("select", t);
29
- }
30
- return (t, l) => (p(), d(V, f(m, {
23
+ emits: ["update:modelValue"],
24
+ setup(e) {
25
+ const a = e, o = r(e, "modelValue");
26
+ return (u, l) => (d(), s(p, i(a, {
31
27
  modelValue: o.value,
32
- "onUpdate:modelValue": l[0] || (l[0] = (r) => o.value = r),
33
- onSelect: i
28
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => o.value = t)
34
29
  }), null, 16, ["modelValue"]));
35
30
  }
36
31
  });
37
32
  export {
38
- _ as default
33
+ V as default
39
34
  };