@quidgest/ui 0.16.51 → 0.16.53

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 (49) hide show
  1. package/dist/json/api.json +34 -31
  2. package/dist/ui.esm.js +5407 -5400
  3. package/dist/ui.js +7 -7
  4. package/dist/ui.min.js +157 -156
  5. package/dist/ui.scss +1 -1
  6. package/esm/components/QCombobox/QCombobox.d.ts +16 -4
  7. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  8. package/esm/components/QCombobox/index.d.ts +8 -2
  9. package/esm/components/QCombobox/index.d.ts.map +1 -1
  10. package/esm/components/QDialog/QDialog.d.ts +4 -13
  11. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  12. package/esm/components/QDialog/QDialog.vue.js +71 -78
  13. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  14. package/esm/components/QDialog/QDialogProvider.vue.js +16 -17
  15. package/esm/components/QDialog/index.d.ts +10 -85
  16. package/esm/components/QDialog/index.d.ts.map +1 -1
  17. package/esm/components/QDialog/types.d.ts +6 -0
  18. package/esm/components/QDialog/types.d.ts.map +1 -1
  19. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
  20. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +27 -18
  21. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +18 -4
  22. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  23. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +40 -36
  24. package/esm/components/QList/QList.d.ts +9 -2
  25. package/esm/components/QList/QList.d.ts.map +1 -1
  26. package/esm/components/QList/QList.vue.js +27 -25
  27. package/esm/components/QList/QListItem.d.ts +1 -0
  28. package/esm/components/QList/QListItem.d.ts.map +1 -1
  29. package/esm/components/QList/QListItem.vue.js +25 -24
  30. package/esm/components/QList/index.d.ts +10 -1
  31. package/esm/components/QList/index.d.ts.map +1 -1
  32. package/esm/components/QList/types.d.ts +12 -0
  33. package/esm/components/QList/types.d.ts.map +1 -1
  34. package/esm/components/QOverlay/QOverlay.d.ts +4 -9
  35. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  36. package/esm/components/QOverlay/QOverlay.vue.js +156 -158
  37. package/esm/components/QOverlay/index.d.ts +10 -93
  38. package/esm/components/QOverlay/index.d.ts.map +1 -1
  39. package/esm/components/QOverlay/types.d.ts +6 -0
  40. package/esm/components/QOverlay/types.d.ts.map +1 -1
  41. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +14 -13
  42. package/esm/components/QSelect/QSelect.d.ts +16 -4
  43. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  44. package/esm/components/QSelect/index.d.ts +8 -2
  45. package/esm/components/QSelect/index.d.ts.map +1 -1
  46. package/esm/composables/useDialog/index.d.ts +1 -0
  47. package/esm/composables/useDialog/index.d.ts.map +1 -1
  48. package/esm/composables/useDialog/index.js +11 -11
  49. package/package.json +1 -1
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.51
2
+ * Quidgest UI v0.16.53
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -320,6 +320,7 @@ declare function __VLS_template(): {
320
320
  readonly items?: import('..').Item[] | undefined;
321
321
  readonly groups?: import('..').Group[] | undefined;
322
322
  readonly selectable?: boolean | undefined;
323
+ readonly selectOnTab?: boolean | undefined;
323
324
  readonly multiple?: boolean | undefined;
324
325
  readonly disabled?: boolean | undefined;
325
326
  readonly required?: boolean | undefined;
@@ -346,6 +347,7 @@ declare function __VLS_template(): {
346
347
  readonly icon?: import('..').Icon | undefined;
347
348
  readonly description?: string | undefined;
348
349
  readonly selectable?: boolean | undefined;
350
+ readonly selectOnTab?: boolean | undefined;
349
351
  readonly highlighted?: boolean | undefined;
350
352
  readonly disabled?: boolean | undefined;
351
353
  readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
@@ -377,6 +379,7 @@ declare function __VLS_template(): {
377
379
  click: () => any;
378
380
  }, string, {
379
381
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
382
+ selectOnTab: boolean;
380
383
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
381
384
  beforeCreate?: (() => void) | (() => void)[];
382
385
  created?: (() => void) | (() => void)[];
@@ -399,12 +402,13 @@ declare function __VLS_template(): {
399
402
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
400
403
  } & Readonly<{
401
404
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
405
+ selectOnTab: boolean;
402
406
  }> & Omit<Readonly<{
403
407
  modelValue?: boolean;
404
408
  } & import('..').QListItemProps> & Readonly<{
405
409
  onClick?: (() => any) | undefined;
406
410
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
407
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
411
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
408
412
  $slots: {
409
413
  prepend?(_: {}): any;
410
414
  default?(_: {}): any;
@@ -435,6 +439,7 @@ declare function __VLS_template(): {
435
439
  "update:modelValue": (val: any) => any;
436
440
  "mouseenter:item": (key: any) => any;
437
441
  }, string, {
442
+ selectOnTab: boolean;
438
443
  groups: import('..').Group[];
439
444
  itemValue: string;
440
445
  itemLabel: string;
@@ -459,6 +464,7 @@ declare function __VLS_template(): {
459
464
  $nextTick: typeof nextTick;
460
465
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
461
466
  } & Readonly<{
467
+ selectOnTab: boolean;
462
468
  groups: import('..').Group[];
463
469
  itemValue: string;
464
470
  itemLabel: string;
@@ -466,7 +472,7 @@ declare function __VLS_template(): {
466
472
  onClick?: ((key: any) => any) | undefined;
467
473
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
468
474
  "onMouseenter:item"?: ((key: any) => any) | undefined;
469
- }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
475
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
470
476
  getItem: (idx: number) => HTMLElement | undefined;
471
477
  getActiveItemIndex: () => number;
472
478
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -1203,6 +1209,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1203
1209
  readonly items?: import('..').Item[] | undefined;
1204
1210
  readonly groups?: import('..').Group[] | undefined;
1205
1211
  readonly selectable?: boolean | undefined;
1212
+ readonly selectOnTab?: boolean | undefined;
1206
1213
  readonly multiple?: boolean | undefined;
1207
1214
  readonly disabled?: boolean | undefined;
1208
1215
  readonly required?: boolean | undefined;
@@ -1229,6 +1236,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1229
1236
  readonly icon?: import('..').Icon | undefined;
1230
1237
  readonly description?: string | undefined;
1231
1238
  readonly selectable?: boolean | undefined;
1239
+ readonly selectOnTab?: boolean | undefined;
1232
1240
  readonly highlighted?: boolean | undefined;
1233
1241
  readonly disabled?: boolean | undefined;
1234
1242
  readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
@@ -1260,6 +1268,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1260
1268
  click: () => any;
1261
1269
  }, string, {
1262
1270
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
1271
+ selectOnTab: boolean;
1263
1272
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1264
1273
  beforeCreate?: (() => void) | (() => void)[];
1265
1274
  created?: (() => void) | (() => void)[];
@@ -1282,12 +1291,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1282
1291
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1283
1292
  } & Readonly<{
1284
1293
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
1294
+ selectOnTab: boolean;
1285
1295
  }> & Omit<Readonly<{
1286
1296
  modelValue?: boolean;
1287
1297
  } & import('..').QListItemProps> & Readonly<{
1288
1298
  onClick?: (() => any) | undefined;
1289
1299
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1290
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
1300
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
1291
1301
  $slots: {
1292
1302
  prepend?(_: {}): any;
1293
1303
  default?(_: {}): any;
@@ -1318,6 +1328,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1318
1328
  "update:modelValue": (val: any) => any;
1319
1329
  "mouseenter:item": (key: any) => any;
1320
1330
  }, string, {
1331
+ selectOnTab: boolean;
1321
1332
  groups: import('..').Group[];
1322
1333
  itemValue: string;
1323
1334
  itemLabel: string;
@@ -1342,6 +1353,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1342
1353
  $nextTick: typeof nextTick;
1343
1354
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1344
1355
  } & Readonly<{
1356
+ selectOnTab: boolean;
1345
1357
  groups: import('..').Group[];
1346
1358
  itemValue: string;
1347
1359
  itemLabel: string;
@@ -1349,7 +1361,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1349
1361
  onClick?: ((key: any) => any) | undefined;
1350
1362
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
1351
1363
  "onMouseenter:item"?: ((key: any) => any) | undefined;
1352
- }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1364
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1353
1365
  getItem: (idx: number) => HTMLElement | undefined;
1354
1366
  getActiveItemIndex: () => number;
1355
1367
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -1 +1 @@
1
- {"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AA6HA;AAslBC,OAAO,EAAE,aAAa,EAAiB,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAG7C,OAAO,EAAY,QAAQ,EAAyB,MAAM,KAAK,CAAA;AAE/D,KAAK,WAAW,GAAG,cAAc,CAAC;AAodnC,KAAK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AC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -729,6 +729,7 @@ declare const QCombobox: {
729
729
  readonly items?: import('..').Item[] | undefined;
730
730
  readonly groups?: import('..').Group[] | undefined;
731
731
  readonly selectable?: boolean | undefined;
732
+ readonly selectOnTab?: boolean | undefined;
732
733
  readonly multiple?: boolean | undefined;
733
734
  readonly disabled?: boolean | undefined;
734
735
  readonly required?: boolean | undefined;
@@ -755,6 +756,7 @@ declare const QCombobox: {
755
756
  readonly icon?: import('..').Icon | undefined;
756
757
  readonly description?: string | undefined;
757
758
  readonly selectable?: boolean | undefined;
759
+ readonly selectOnTab?: boolean | undefined;
758
760
  readonly highlighted?: boolean | undefined;
759
761
  readonly disabled?: boolean | undefined;
760
762
  readonly icons?: typeof import('../QList/constants').DEFAULT_ICONS | undefined;
@@ -786,6 +788,7 @@ declare const QCombobox: {
786
788
  click: () => any;
787
789
  }, string, {
788
790
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
791
+ selectOnTab: boolean;
789
792
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
790
793
  beforeCreate?: (() => void) | (() => void)[];
791
794
  created?: (() => void) | (() => void)[];
@@ -808,12 +811,13 @@ declare const QCombobox: {
808
811
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
809
812
  } & Readonly<{
810
813
  icons: typeof import('../QList/constants').DEFAULT_ICONS;
814
+ selectOnTab: boolean;
811
815
  }> & Omit<Readonly<{
812
816
  modelValue?: boolean;
813
817
  } & import('..').QListItemProps> & Readonly<{
814
818
  onClick?: (() => any) | undefined;
815
819
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
816
- }>, "icons"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
820
+ }>, "icons" | "selectOnTab"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
817
821
  $slots: {
818
822
  prepend?(_: {}): any;
819
823
  default?(_: {}): any;
@@ -844,6 +848,7 @@ declare const QCombobox: {
844
848
  "update:modelValue": (val: any) => any;
845
849
  "mouseenter:item": (key: any) => any;
846
850
  }, string, {
851
+ selectOnTab: boolean;
847
852
  groups: import('..').Group[];
848
853
  itemValue: string;
849
854
  itemLabel: string;
@@ -868,6 +873,7 @@ declare const QCombobox: {
868
873
  $nextTick: typeof import('vue').nextTick;
869
874
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
870
875
  } & Readonly<{
876
+ selectOnTab: boolean;
871
877
  groups: import('..').Group[];
872
878
  itemValue: string;
873
879
  itemLabel: string;
@@ -875,7 +881,7 @@ declare const QCombobox: {
875
881
  onClick?: ((key: any) => any) | undefined;
876
882
  "onUpdate:modelValue"?: ((val: any) => any) | undefined;
877
883
  "onMouseenter:item"?: ((key: any) => any) | undefined;
878
- }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
884
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("selectOnTab" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
879
885
  getItem: (idx: number) => HTMLElement | undefined;
880
886
  getActiveItemIndex: () => number;
881
887
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
@@ -1 +1 @@
1
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;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAP1yzB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA;AAGpB,cAAc,SAAS,CAAA"}
@@ -1,9 +1,5 @@
1
1
  import { DEFAULT_ICONS } from './constants';
2
2
  import { DialogButton, QDialogProps } from './types';
3
- type __VLS_Props = QDialogProps;
4
- type __VLS_PublicProps = {
5
- modelValue?: boolean;
6
- } & __VLS_Props;
7
3
  declare function __VLS_template(): {
8
4
  attrs: Partial<{}>;
9
5
  slots: {
@@ -19,15 +15,10 @@ declare function __VLS_template(): {
19
15
  rootEl: any;
20
16
  };
21
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- "update:modelValue": (value: boolean) => any;
24
- } & {
25
- enter: () => any;
26
- leave: () => any;
27
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
29
- onEnter?: (() => any) | undefined;
30
- onLeave?: (() => any) | undefined;
18
+ declare const __VLS_component: import('vue').DefineComponent<QDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
19
+ "update:modelValue": (val: boolean) => any;
20
+ }, string, import('vue').PublicProps, Readonly<QDialogProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
31
22
  }>, {
32
23
  size: import('./types').QDialogSize;
33
24
  html: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAwGA;AA0LC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AA+EjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgQT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAuBD,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":"AAuGA;AAkLC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AA4E1D,iBAAS,cAAc;WA4PT,OAAO,IAA6B;;wBAhBtB,GAAG;kCACQ,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAqBD,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,39 +1,40 @@
1
- import { defineComponent as M, mergeModels as g, useModel as U, ref as B, computed as V, createBlock as c, openBlock as t, unref as a, normalizeClass as b, withCtx as p, createElementVNode as $, createElementBlock as i, createCommentVNode as s, renderSlot as r, toDisplayString as m, createVNode as y, normalizeProps as q, guardReactiveProps as C, createTextVNode as w, Fragment as Q, renderList as S, mergeProps as F } from "vue";
2
- import { DEFAULT_ICONS as W, DEFAULT_BUTTONS as I, DEFAULT_ICON as P } from "./constants.js";
3
- import { QButton as T } from "../QButton/index.js";
1
+ import { defineComponent as A, ref as h, computed as k, createBlock as c, openBlock as t, unref as a, normalizeClass as g, withCtx as p, createElementVNode as B, createElementBlock as i, createCommentVNode as s, renderSlot as n, toDisplayString as v, createVNode as m, normalizeProps as V, guardReactiveProps as b, createTextVNode as L, Fragment as U, renderList as w, mergeProps as $ } from "vue";
2
+ import { DEFAULT_ICONS as E, DEFAULT_BUTTONS as Q, DEFAULT_ICON as M } from "./constants.js";
3
+ import { QButton as q } from "../QButton/index.js";
4
4
  import { QIcon as f } from "../QIcon/index.js";
5
- import { QOverlay as H } from "../QOverlay/index.js";
6
- import { QTextField as x } from "../QTextField/index.js";
7
- const R = {
5
+ import { QOverlay as S } from "../QOverlay/index.js";
6
+ import { QTextField as W } from "../QTextField/index.js";
7
+ const I = {
8
8
  key: 0,
9
9
  class: "q-dialog__header"
10
- }, j = {
10
+ }, P = {
11
11
  key: 0,
12
12
  class: "q-dialog__header-title"
13
- }, G = {
13
+ }, H = {
14
14
  key: 1,
15
15
  class: "q-dialog__body"
16
- }, J = {
16
+ }, x = {
17
17
  key: 0,
18
18
  class: "q-dialog__body-icon"
19
- }, K = { class: "q-dialog__body-text" }, X = ["innerHTML"], Y = { key: 1 }, Z = {
19
+ }, R = { class: "q-dialog__body-text" }, j = ["innerHTML"], G = { key: 1 }, J = {
20
20
  key: 0,
21
21
  class: "q-dialog__input"
22
- }, ee = {
22
+ }, K = {
23
23
  key: 2,
24
24
  class: "q-dialog__footer"
25
- }, oe = {
25
+ }, X = {
26
26
  key: 0,
27
27
  class: "q-dialog__footer-buttons"
28
- }, re = /* @__PURE__ */ M({
28
+ }, ae = /* @__PURE__ */ A({
29
29
  __name: "QDialog",
30
- props: /* @__PURE__ */ g({
30
+ props: {
31
31
  id: {},
32
32
  class: {},
33
+ modelValue: { type: Boolean },
33
34
  title: {},
34
35
  text: {},
35
- icon: { default: () => P },
36
- buttons: { default: () => I },
36
+ icon: { default: () => M },
37
+ buttons: { default: () => Q },
37
38
  backdropBlur: { type: Boolean, default: !0 },
38
39
  size: { default: "small" },
39
40
  centerVertically: { type: Boolean },
@@ -47,36 +48,29 @@ const R = {
47
48
  dismissible: { type: Boolean },
48
49
  html: { type: Boolean, default: !0 },
49
50
  input: {},
50
- icons: { default: () => W }
51
- }, {
52
- modelValue: { type: Boolean },
53
- modelModifiers: {}
54
- }),
55
- emits: /* @__PURE__ */ g(["enter", "leave"], ["update:modelValue"]),
56
- setup(_, { emit: D }) {
57
- const e = _, h = D, v = U(_, "modelValue"), u = B(""), d = B(""), O = V(() => ["q-dialog", e.class]), L = V(() => `q-overlay--${e.size}`);
58
- function k() {
59
- v.value = !1;
51
+ icons: { default: () => E }
52
+ },
53
+ emits: ["update:modelValue"],
54
+ setup(C, { emit: F }) {
55
+ const e = C, T = F, u = h(""), r = h(""), D = k(() => ["q-dialog", e.class]), O = k(() => `q-overlay--${e.size}`);
56
+ function _() {
57
+ y(!1);
60
58
  }
61
59
  function N(o) {
62
- var n, l;
60
+ var d, l;
63
61
  if (o.action) {
64
- if ((n = e.input) != null && n.validator && (d.value = e.input.validator(a(u)), a(d)))
62
+ if ((d = e.input) != null && d.validator && (r.value = e.input.validator(a(u)), a(r)))
65
63
  return;
66
64
  (l = o.action) == null || l.call(o, a(u));
67
65
  }
68
- k();
69
- }
70
- function z() {
71
- h("enter");
66
+ _();
72
67
  }
73
- function A() {
74
- h("leave");
68
+ function y(o) {
69
+ T("update:modelValue", o);
75
70
  }
76
- return (o, n) => (t(), c(a(H), {
71
+ return (o, d) => (t(), c(a(S), {
77
72
  id: e.id,
78
- modelValue: v.value,
79
- "onUpdate:modelValue": n[1] || (n[1] = (l) => v.value = l),
73
+ "model-value": e.modelValue,
80
74
  "backdrop-class": "q-dialog__underlay",
81
75
  "scroll-lock": "",
82
76
  persistent: "",
@@ -89,72 +83,71 @@ const R = {
89
83
  "focus-within-on-activate": e.focusWithinOnActivate,
90
84
  "closing-focus": e.closingFocus,
91
85
  "return-focus-on-deactivate": e.returnFocusOnDeactivate,
92
- class: b(L.value),
93
- onEnter: z,
94
- onLeave: A
86
+ class: g(O.value),
87
+ "onUpdate:modelValue": y
95
88
  }, {
96
89
  default: p(() => [
97
- $(
90
+ B(
98
91
  "div",
99
92
  {
100
- class: b(O.value)
93
+ class: g(D.value)
101
94
  },
102
95
  [
103
- e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (t(), i("div", R, [
104
- r(o.$slots, "header", {}, () => [
105
- r(o.$slots, "header.prepend"),
96
+ e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (t(), i("div", I, [
97
+ n(o.$slots, "header", {}, () => [
98
+ n(o.$slots, "header.prepend"),
106
99
  e.title ? (t(), i(
107
100
  "span",
108
- j,
109
- m(e.title),
101
+ P,
102
+ v(e.title),
110
103
  1
111
104
  /* TEXT */
112
105
  )) : s("v-if", !0),
113
- r(o.$slots, "header.append")
106
+ n(o.$slots, "header.append")
114
107
  ])
115
108
  ])) : s("v-if", !0),
116
- e.icon || e.text || o.$slots.body ? (t(), i("div", G, [
117
- r(o.$slots, "body", {}, () => {
109
+ e.icon || e.text || o.$slots.body ? (t(), i("div", H, [
110
+ n(o.$slots, "body", {}, () => {
118
111
  var l;
119
112
  return [
120
- r(o.$slots, "body.icon", {}, () => [
121
- e.icon ? (t(), i("span", J, [
122
- y(
113
+ n(o.$slots, "body.icon", {}, () => [
114
+ e.icon ? (t(), i("span", x, [
115
+ m(
123
116
  a(f),
124
- q(C(e.icon)),
117
+ V(b(e.icon)),
125
118
  null,
126
119
  16
127
120
  /* FULL_PROPS */
128
121
  )
129
122
  ])) : s("v-if", !0)
130
123
  ]),
131
- $("div", K, [
124
+ B("div", R, [
132
125
  e.html ? (t(), i("div", {
133
126
  key: 0,
134
127
  innerHTML: e.text
135
- }, null, 8, X)) : (t(), i(
128
+ }, null, 8, j)) : (t(), i(
136
129
  "div",
137
- Y,
138
- m(e.text),
130
+ G,
131
+ v(e.text),
139
132
  1
140
133
  /* TEXT */
141
134
  ))
142
135
  ]),
143
- e.input ? (t(), i("div", Z, [
144
- y(a(x), {
136
+ e.input ? (t(), i("div", J, [
137
+ m(a(W), {
145
138
  modelValue: u.value,
146
- "onUpdate:modelValue": n[0] || (n[0] = (E) => u.value = E),
147
- invalid: !!d.value,
139
+ "onUpdate:modelValue": d[0] || (d[0] = (z) => u.value = z),
140
+ invalid: !!r.value,
148
141
  placeholder: (l = e.input) == null ? void 0 : l.placeholder,
149
142
  size: "block"
150
143
  }, {
151
144
  extras: p(() => [
152
- d.value ? (t(), c(a(f), {
145
+ r.value ? (t(), c(a(f), {
153
146
  key: 0,
154
147
  icon: "exclamation-sign"
155
148
  })) : s("v-if", !0),
156
- w(
157
- " " + m(d.value),
149
+ L(
150
+ " " + v(r.value),
158
151
  1
159
152
  /* TEXT */
160
153
  )
@@ -163,23 +156,23 @@ const R = {
163
156
  /* STABLE */
164
157
  }, 8, ["modelValue", "invalid", "placeholder"])
165
158
  ])) : s("v-if", !0),
166
- r(o.$slots, "body.append")
159
+ n(o.$slots, "body.append")
167
160
  ];
168
161
  })
169
162
  ])) : s("v-if", !0),
170
- e.buttons || o.$slots["footer.append"] ? (t(), i("div", ee, [
171
- e.buttons ? (t(), i("span", oe, [
163
+ e.buttons || o.$slots["footer.append"] ? (t(), i("div", K, [
164
+ e.buttons ? (t(), i("span", X, [
172
165
  (t(!0), i(
173
- Q,
166
+ U,
174
167
  null,
175
- S(e.buttons, (l) => (t(), c(a(T), F({ ref_for: !0 }, l.props, {
168
+ w(e.buttons, (l) => (t(), c(a(q), $({ ref_for: !0 }, l.props, {
176
169
  key: l.id,
177
170
  onClick: () => N(l)
178
171
  }), {
179
172
  default: p(() => [
180
173
  l.icon ? (t(), c(
181
174
  a(f),
182
- F({
175
+ $({
183
176
  key: 0,
184
177
  ref_for: !0
185
178
  }, l.icon),
@@ -195,18 +188,18 @@ const R = {
195
188
  /* KEYED_FRAGMENT */
196
189
  ))
197
190
  ])) : s("v-if", !0),
198
- r(o.$slots, "footer.append")
191
+ n(o.$slots, "footer.append")
199
192
  ])) : s("v-if", !0),
200
- e.dismissible ? (t(), c(a(T), {
193
+ e.dismissible ? (t(), c(a(q), {
201
194
  key: 3,
202
195
  class: "q-dialog__close",
203
196
  variant: "text",
204
- onClick: k
197
+ onClick: _
205
198
  }, {
206
199
  default: p(() => [
207
- y(
200
+ m(
208
201
  a(f),
209
- q(C(e.icons.close)),
202
+ V(b(e.icons.close)),
210
203
  null,
211
204
  16
212
205
  /* FULL_PROPS */
@@ -222,9 +215,9 @@ const R = {
222
215
  ]),
223
216
  _: 3
224
217
  /* FORWARDED */
225
- }, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "focus-wrap", "initial-focus", "focus-within-on-activate", "closing-focus", "return-focus-on-deactivate", "class"]));
218
+ }, 8, ["id", "model-value", "inline", "attach", "backdrop-blur", "center-vertically", "focus-wrap", "initial-focus", "focus-within-on-activate", "closing-focus", "return-focus-on-deactivate", "class"]));
226
219
  }
227
220
  });
228
221
  export {
229
- re as default
222
+ ae as default
230
223
  };
@@ -1 +1 @@
1
- {"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AAUA;AA+CC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAmFpD,wBAOG"}
1
+ {"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AASA;AAgDC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAmFpD,wBAOG"}
@@ -1,29 +1,28 @@
1
- import { defineComponent as c, createElementBlock as u, openBlock as o, Fragment as f, renderList as v, unref as r, createBlock as _, mergeProps as d } from "vue";
2
- import { QDialog as g } from "./index.js";
3
- import { useDialog as k } from "../../composables/useDialog/index.js";
4
- const x = /* @__PURE__ */ c({
1
+ import { defineComponent as f, createElementBlock as d, openBlock as r, Fragment as _, renderList as g, unref as t, createBlock as k, mergeProps as v } from "vue";
2
+ import { QDialog as B } from "./index.js";
3
+ import { useDialog as D } from "../../composables/useDialog/index.js";
4
+ const x = /* @__PURE__ */ f({
5
5
  inheritAttrs: !1,
6
6
  __name: "QDialogProvider",
7
7
  props: {
8
8
  inline: { type: Boolean }
9
9
  },
10
10
  emits: ["leave"],
11
- setup(t, { emit: i }) {
12
- const l = t, a = i, { dialogs: m, removeDialog: s } = k();
13
- function p(e) {
14
- s(e), a("leave", e);
11
+ setup(i, { emit: l }) {
12
+ const a = i, m = l, { dialogs: p, removeDialog: s } = D();
13
+ function u(e, n) {
14
+ n || (s(e), m("leave", e));
15
15
  }
16
- return (e, B) => (o(!0), u(
17
- f,
16
+ return (e, n) => (r(!0), d(
17
+ _,
18
18
  null,
19
- v(r(m), (n) => (o(), _(r(g), d({
20
- key: n.id,
19
+ g(t(p), (o) => (r(), k(t(B), v({
20
+ key: o.id,
21
21
  ref_for: !0
22
- }, n.props, {
23
- "model-value": "",
24
- inline: l.inline,
25
- onLeave: () => p(n.id)
26
- }), null, 16, ["inline", "onLeave"]))),
22
+ }, o.props, {
23
+ inline: a.inline,
24
+ "onUpdate:modelValue": (c) => u(o.id, c)
25
+ }), null, 16, ["inline", "onUpdate:modelValue"]))),
27
26
  128
28
27
  /* KEYED_FRAGMENT */
29
28
  ));