@quidgest/ui 0.16.14 → 0.16.16

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 (67) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +195 -9
  3. package/dist/ui.esm.js +5163 -4930
  4. package/dist/ui.js +12 -12
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +735 -720
  7. package/dist/ui.scss +215 -12
  8. package/esm/components/QCheckbox/QCheckbox.d.ts +6 -2
  9. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  10. package/esm/components/QCheckbox/QCheckbox.vue.js +90 -79
  11. package/esm/components/QCheckbox/QCheckboxLabel.d.ts +2 -3
  12. package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
  13. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +32 -24
  14. package/esm/components/QCheckbox/index.d.ts +12 -4
  15. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  16. package/esm/components/QCheckbox/types.d.ts +2 -7
  17. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  18. package/esm/components/QCombobox/QCombobox.d.ts +16 -4
  19. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  20. package/esm/components/QCombobox/index.d.ts +8 -2
  21. package/esm/components/QCombobox/index.d.ts.map +1 -1
  22. package/esm/components/QDialog/QDialog.d.ts +3 -1
  23. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  24. package/esm/components/QDialog/QDialog.vue.js +151 -108
  25. package/esm/components/QDialog/QDialogProvider.d.ts +6 -1
  26. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  27. package/esm/components/QDialog/QDialogProvider.vue.js +22 -14
  28. package/esm/components/QDialog/index.d.ts +11 -2
  29. package/esm/components/QDialog/index.d.ts.map +1 -1
  30. package/esm/components/QDialog/types.d.ts +31 -1
  31. package/esm/components/QDialog/types.d.ts.map +1 -1
  32. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +11 -9
  33. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +22 -6
  34. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  35. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +171 -84
  36. package/esm/components/QDropdownMenu/index.d.ts +4 -0
  37. package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
  38. package/esm/components/QDropdownMenu/types.d.ts +8 -8
  39. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  40. package/esm/components/QList/QList.d.ts +9 -0
  41. package/esm/components/QList/QList.d.ts.map +1 -1
  42. package/esm/components/QList/QList.vue.js +73 -68
  43. package/esm/components/QList/index.d.ts +8 -0
  44. package/esm/components/QList/index.d.ts.map +1 -1
  45. package/esm/components/QSelect/QSelect.d.ts +16 -4
  46. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  47. package/esm/components/QSelect/index.d.ts +8 -2
  48. package/esm/components/QSelect/index.d.ts.map +1 -1
  49. package/esm/components/QSwitch/QSwitch.d.ts +16 -0
  50. package/esm/components/QSwitch/QSwitch.d.ts.map +1 -0
  51. package/esm/components/QSwitch/QSwitch.vue.js +129 -0
  52. package/esm/components/QSwitch/QSwitch.vue2.js +4 -0
  53. package/esm/components/QSwitch/index.d.ts +33 -0
  54. package/esm/components/QSwitch/index.d.ts.map +1 -0
  55. package/esm/components/QSwitch/index.js +6 -0
  56. package/esm/components/QSwitch/types.d.ts +39 -0
  57. package/esm/components/QSwitch/types.d.ts.map +1 -0
  58. package/esm/components/index.d.ts +1 -0
  59. package/esm/components/index.d.ts.map +1 -1
  60. package/esm/components/index.js +31 -29
  61. package/esm/composables/useDialog/index.d.ts +15 -3
  62. package/esm/composables/useDialog/index.d.ts.map +1 -1
  63. package/esm/composables/useDialog/index.js +14 -14
  64. package/esm/composables/useDialog/types.d.ts +6 -3
  65. package/esm/composables/useDialog/types.d.ts.map +1 -1
  66. package/esm/index.d.ts +1 -0
  67. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA"}
@@ -1,11 +1,6 @@
1
1
  import { DEFAULT_ICONS } from './constants';
2
- import { QBaseComponentProps } from '../../types/component';
3
- export type QCheckboxLabelProps = QBaseComponentProps & {
4
- /**
5
- * The text content of the checkbox.
6
- */
7
- label?: string;
8
- };
2
+ import { QLabelProps } from '../QLabel';
3
+ export type QCheckboxLabelProps = QLabelProps;
9
4
  export type QCheckboxLabelPlacement = 'left' | 'right';
10
5
  export type QCheckboxLabelSize = 'small' | 'regular' | 'large';
11
6
  export type QCheckboxProps = QCheckboxLabelProps & {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,mBAAmB,GAA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AAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
@@ -326,6 +326,7 @@ declare function __VLS_template(): {
326
326
  readonly required?: boolean | undefined;
327
327
  readonly onClick?: ((key: any) => any) | undefined;
328
328
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
329
+ readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
329
330
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
330
331
  $attrs: {
331
332
  [x: string]: unknown;
@@ -416,7 +417,7 @@ declare function __VLS_template(): {
416
417
  $root: import('vue').ComponentPublicInstance | null;
417
418
  $parent: import('vue').ComponentPublicInstance | null;
418
419
  $host: Element | null;
419
- $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
420
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
420
421
  $el: any;
421
422
  $options: import('vue').ComponentOptionsBase<Readonly<{
422
423
  modelValue?: any;
@@ -433,8 +434,10 @@ declare function __VLS_template(): {
433
434
  }> & Readonly<{
434
435
  onClick?: ((key: any) => any) | undefined;
435
436
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
437
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
436
438
  }>, {
437
439
  getItem: (idx: number) => HTMLElement | undefined;
440
+ getActiveItemIndex: () => number;
438
441
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
439
442
  getFirstFocusableItemIndex: () => number;
440
443
  getLastFocusableItemIndex: () => number;
@@ -442,6 +445,7 @@ declare function __VLS_template(): {
442
445
  "update:modelValue": (value: any) => any;
443
446
  } & {
444
447
  click: (key: any) => any;
448
+ "mouseenter:item": (key: any) => any;
445
449
  }, string, {
446
450
  groups: import('../QList/types').Group[];
447
451
  itemValue: string;
@@ -485,8 +489,10 @@ declare function __VLS_template(): {
485
489
  }> & Readonly<{
486
490
  onClick?: ((key: any) => any) | undefined;
487
491
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
488
- }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
492
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
493
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
489
494
  getItem: (idx: number) => HTMLElement | undefined;
495
+ getActiveItemIndex: () => number;
490
496
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
491
497
  getFirstFocusableItemIndex: () => number;
492
498
  getLastFocusableItemIndex: () => number;
@@ -1228,6 +1234,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1228
1234
  readonly required?: boolean | undefined;
1229
1235
  readonly onClick?: ((key: any) => any) | undefined;
1230
1236
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1237
+ readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
1231
1238
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
1232
1239
  $attrs: {
1233
1240
  [x: string]: unknown;
@@ -1318,7 +1325,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1318
1325
  $root: import('vue').ComponentPublicInstance | null;
1319
1326
  $parent: import('vue').ComponentPublicInstance | null;
1320
1327
  $host: Element | null;
1321
- $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
1328
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
1322
1329
  $el: any;
1323
1330
  $options: import('vue').ComponentOptionsBase<Readonly<{
1324
1331
  modelValue?: any;
@@ -1335,8 +1342,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1335
1342
  }> & Readonly<{
1336
1343
  onClick?: ((key: any) => any) | undefined;
1337
1344
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1345
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
1338
1346
  }>, {
1339
1347
  getItem: (idx: number) => HTMLElement | undefined;
1348
+ getActiveItemIndex: () => number;
1340
1349
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
1341
1350
  getFirstFocusableItemIndex: () => number;
1342
1351
  getLastFocusableItemIndex: () => number;
@@ -1344,6 +1353,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1344
1353
  "update:modelValue": (value: any) => any;
1345
1354
  } & {
1346
1355
  click: (key: any) => any;
1356
+ "mouseenter:item": (key: any) => any;
1347
1357
  }, string, {
1348
1358
  groups: import('../QList/types').Group[];
1349
1359
  itemValue: string;
@@ -1387,8 +1397,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1387
1397
  }> & Readonly<{
1388
1398
  onClick?: ((key: any) => any) | undefined;
1389
1399
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1390
- }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1400
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
1401
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
1391
1402
  getItem: (idx: number) => HTMLElement | undefined;
1403
+ getActiveItemIndex: () => number;
1392
1404
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
1393
1405
  getFirstFocusableItemIndex: () => number;
1394
1406
  getLastFocusableItemIndex: ()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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAF5B,GAAE,8CAA8C,GAAG,yBACzC,GAAG,6DACa,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAF5B,GAAE,8CAA8C,GAAG,yBACzC,GAAG,6DACa,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4e/B,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"}
@@ -736,6 +736,7 @@ declare const QCombobox: {
736
736
  readonly required?: boolean | undefined;
737
737
  readonly onClick?: ((key: any) => any) | undefined;
738
738
  readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
739
+ readonly "onMouseenter:item"?: ((key: any) => any) | undefined;
739
740
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
740
741
  $attrs: {
741
742
  [x: string]: unknown;
@@ -826,7 +827,7 @@ declare const QCombobox: {
826
827
  $root: import('vue').ComponentPublicInstance | null;
827
828
  $parent: import('vue').ComponentPublicInstance | null;
828
829
  $host: Element | null;
829
- $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void);
830
+ $emit: ((event: "click", key: any) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "mouseenter:item", key: any) => void);
830
831
  $el: any;
831
832
  $options: import('vue').ComponentOptionsBase<Readonly<{
832
833
  modelValue?: any;
@@ -843,8 +844,10 @@ declare const QCombobox: {
843
844
  }> & Readonly<{
844
845
  onClick?: ((key: any) => any) | undefined;
845
846
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
847
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
846
848
  }>, {
847
849
  getItem: (idx: number) => HTMLElement | undefined;
850
+ getActiveItemIndex: () => number;
848
851
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
849
852
  getFirstFocusableItemIndex: () => number;
850
853
  getLastFocusableItemIndex: () => number;
@@ -852,6 +855,7 @@ declare const QCombobox: {
852
855
  "update:modelValue": (value: any) => any;
853
856
  } & {
854
857
  click: (key: any) => any;
858
+ "mouseenter:item": (key: any) => any;
855
859
  }, string, {
856
860
  groups: import('../QList/types').Group[];
857
861
  itemValue: string;
@@ -895,8 +899,10 @@ declare const QCombobox: {
895
899
  }> & Readonly<{
896
900
  onClick?: ((key: any) => any) | undefined;
897
901
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
898
- }>, "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
902
+ "onMouseenter:item"?: ((key: any) => any) | undefined;
903
+ }>, "getItem" | "getActiveItemIndex" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
899
904
  getItem: (idx: number) => HTMLElement | undefined;
905
+ getActiveItemIndex: () => number;
900
906
  getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
901
907
  getFirstFocusableItemIndex: () => number;
902
908
  getLastFocusableItemIndex: () => number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAI2vzB,GAAG,8CAA8C,GAAG,yBAAyB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJn1zB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -7,10 +7,12 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  header?(_: {}): any;
10
+ 'header.prepend'?(_: {}): any;
11
+ 'header.append'?(_: {}): any;
10
12
  body?(_: {}): any;
11
13
  'body.icon'?(_: {}): any;
12
14
  'body.append'?(_: {}): any;
13
- footer?(_: {}): any;
15
+ 'footer.append'?(_: {}): any;
14
16
  };
15
17
  refs: {};
16
18
  rootEl: any;
@@ -1 +1 @@
1
- {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyEA;AAsIC,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAQtE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AAwDjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkMT,OAAO,IAA6B;;wBAdrB,GAAG;sBACL,GAAG;6BACI,GAAG;+BACD,GAAG;wBACV,GAAG;;;;EAe/B;AAoBD,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":"AAmGA;AAkLC,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAStE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AAyEjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsPT,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,61 +1,77 @@
1
- import { defineComponent as z, mergeModels as v, useModel as M, computed as k, createBlock as d, openBlock as l, unref as a, normalizeClass as h, withCtx as f, createElementVNode as c, createElementBlock as s, createCommentVNode as i, renderSlot as r, toDisplayString as g, createVNode as b, normalizeProps as B, guardReactiveProps as q, Fragment as U, renderList as A, mergeProps as C } from "vue";
2
- import { DEFAULT_ICONS as F, DEFAULT_BUTTONS as O, DEFAULT_ICON as Q } from "./types.js";
3
- import { QButton as V } from "../QButton/index.js";
4
- import { QIcon as m } from "../QIcon/index.js";
5
- import { QOverlay as S } from "../QOverlay/index.js";
6
- const I = {
1
+ import { defineComponent as Q, mergeModels as g, useModel as A, ref as V, computed as b, createBlock as c, openBlock as l, unref as a, normalizeClass as B, withCtx as p, createElementVNode as $, createElementBlock as i, createCommentVNode as s, renderSlot as r, toDisplayString as v, createVNode as _, normalizeProps as q, guardReactiveProps as C, createTextVNode as O, Fragment as S, renderList as I, mergeProps as T } from "vue";
2
+ import { DEFAULT_ICONS as P, DEFAULT_BUTTONS as H, DEFAULT_ICON as w } from "./types.js";
3
+ import { QButton as L } from "../QButton/index.js";
4
+ import { QIcon as f } from "../QIcon/index.js";
5
+ import { QOverlay as x } from "../QOverlay/index.js";
6
+ import { QTextField as R } from "../QTextField/index.js";
7
+ const j = {
7
8
  key: 0,
8
9
  class: "q-dialog__header"
9
- }, P = { class: "q-dialog__header-title" }, H = {
10
+ }, G = {
11
+ key: 0,
12
+ class: "q-dialog__header-title"
13
+ }, J = {
10
14
  key: 1,
11
15
  class: "q-dialog__body"
12
- }, w = {
16
+ }, K = {
13
17
  key: 0,
14
18
  class: "q-dialog__body-icon"
15
- }, x = { class: "q-dialog__body-text" }, R = ["innerHTML"], j = { key: 1 }, G = {
19
+ }, W = { class: "q-dialog__body-text" }, X = ["innerHTML"], Y = { key: 1 }, Z = {
20
+ key: 0,
21
+ class: "q-dialog__input"
22
+ }, ee = {
16
23
  key: 2,
17
24
  class: "q-dialog__footer"
18
- }, J = { class: "q-dialog__footer-buttons" }, ee = /* @__PURE__ */ z({
25
+ }, oe = {
26
+ key: 0,
27
+ class: "q-dialog__footer-buttons"
28
+ }, re = /* @__PURE__ */ Q({
19
29
  __name: "QDialog",
20
- props: /* @__PURE__ */ v({
30
+ props: /* @__PURE__ */ g({
21
31
  id: {},
22
32
  class: {},
23
33
  title: {},
24
34
  text: {},
25
- icon: { default: () => Q },
26
- buttons: { default: () => O },
35
+ icon: { default: () => w },
36
+ buttons: { default: () => H },
27
37
  attach: { default: "body" },
28
38
  inline: { type: Boolean },
29
39
  backdropBlur: { type: Boolean, default: !0 },
30
40
  dismissible: { type: Boolean },
31
41
  html: { type: Boolean, default: !0 },
32
- icons: { default: () => F },
42
+ icons: { default: () => P },
33
43
  size: { default: "small" },
34
- centerVertically: { type: Boolean }
44
+ centerVertically: { type: Boolean },
45
+ input: {}
35
46
  }, {
36
47
  modelValue: { type: Boolean },
37
48
  modelModifiers: {}
38
49
  }),
39
- emits: /* @__PURE__ */ v(["enter", "leave"], ["update:modelValue"]),
40
- setup(_, { emit: $ }) {
41
- const e = _, p = $, u = M(_, "modelValue"), L = k(() => ["q-dialog", e.class]), T = k(() => `q-overlay--${e.size}`);
42
- function y() {
43
- u.value = !1;
50
+ emits: /* @__PURE__ */ g(["enter", "leave"], ["update:modelValue"]),
51
+ setup(y, { emit: N }) {
52
+ const e = y, k = N, m = A(y, "modelValue"), u = V(""), d = V(""), z = b(() => ["q-dialog", e.class]), D = b(() => `q-overlay--${e.size}`);
53
+ function h() {
54
+ m.value = !1;
44
55
  }
45
- function D(o) {
46
- var n;
47
- (n = o.action) == null || n.call(o), y();
56
+ function E(o) {
57
+ var n, t;
58
+ if (o.action) {
59
+ if ((n = e.input) != null && n.validator && (d.value = e.input.validator(a(u)), a(d)))
60
+ return;
61
+ (t = o.action) == null || t.call(o, a(u));
62
+ }
63
+ h();
48
64
  }
49
- function E() {
50
- p("enter");
65
+ function M() {
66
+ k("enter");
51
67
  }
52
- function N() {
53
- p("leave");
68
+ function U() {
69
+ k("leave");
54
70
  }
55
- return (o, n) => (l(), d(a(S), {
71
+ return (o, n) => (l(), c(a(x), {
56
72
  id: e.id,
57
- modelValue: u.value,
58
- "onUpdate:modelValue": n[0] || (n[0] = (t) => u.value = t),
73
+ modelValue: m.value,
74
+ "onUpdate:modelValue": n[1] || (n[1] = (t) => m.value = t),
59
75
  "backdrop-class": "q-dialog__underlay",
60
76
  "scroll-lock": "",
61
77
  persistent: "",
@@ -63,97 +79,124 @@ const I = {
63
79
  attach: e.attach,
64
80
  "backdrop-blur": e.backdropBlur,
65
81
  "center-vertically": e.centerVertically,
66
- class: h(T.value),
67
- onEnter: E,
68
- onLeave: N
82
+ class: B(D.value),
83
+ onEnter: M,
84
+ onLeave: U
69
85
  }, {
70
- default: f(() => [
71
- c(
86
+ default: p(() => [
87
+ $(
72
88
  "div",
73
89
  {
74
- class: h(L.value)
90
+ class: B(z.value)
75
91
  },
76
92
  [
77
- e.title || o.$slots.header ? (l(), s("div", I, [
93
+ e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (l(), i("div", j, [
78
94
  r(o.$slots, "header", {}, () => [
79
- c(
95
+ r(o.$slots, "header.prepend"),
96
+ e.title ? (l(), i(
80
97
  "span",
81
- P,
82
- g(e.title),
98
+ G,
99
+ v(e.title),
83
100
  1
84
101
  /* TEXT */
85
- )
102
+ )) : s("v-if", !0),
103
+ r(o.$slots, "header.append")
86
104
  ])
87
- ])) : i("v-if", !0),
88
- e.icon || e.text || o.$slots.body ? (l(), s("div", H, [
89
- r(o.$slots, "body", {}, () => [
90
- r(o.$slots, "body.icon", {}, () => [
91
- e.icon ? (l(), s("span", w, [
92
- b(
93
- a(m),
94
- B(q(e.icon)),
95
- null,
96
- 16
97
- /* FULL_PROPS */
98
- )
99
- ])) : i("v-if", !0)
100
- ]),
101
- c("div", x, [
102
- e.html ? (l(), s("div", {
103
- key: 0,
104
- innerHTML: e.text
105
- }, null, 8, R)) : (l(), s(
106
- "div",
107
- j,
108
- g(e.text),
109
- 1
110
- /* TEXT */
111
- ))
112
- ]),
113
- r(o.$slots, "body.append")
114
- ])
115
- ])) : i("v-if", !0),
116
- e.buttons || o.$slots.footer ? (l(), s("div", G, [
117
- r(o.$slots, "footer", {}, () => [
118
- c("span", J, [
119
- (l(!0), s(
120
- U,
121
- null,
122
- A(e.buttons, (t) => (l(), d(a(V), C({ ref_for: !0 }, t.props, {
123
- key: t.id,
124
- onClick: () => D(t)
125
- }), {
126
- default: f(() => [
127
- t.icon ? (l(), d(
128
- a(m),
129
- C({
130
- key: 0,
131
- ref_for: !0
132
- }, t.icon),
133
- null,
134
- 16
135
- /* FULL_PROPS */
136
- )) : i("v-if", !0)
105
+ ])) : s("v-if", !0),
106
+ e.icon || e.text || o.$slots.body ? (l(), i("div", J, [
107
+ r(o.$slots, "body", {}, () => {
108
+ var t;
109
+ return [
110
+ r(o.$slots, "body.icon", {}, () => [
111
+ e.icon ? (l(), i("span", K, [
112
+ _(
113
+ a(f),
114
+ q(C(e.icon)),
115
+ null,
116
+ 16
117
+ /* FULL_PROPS */
118
+ )
119
+ ])) : s("v-if", !0)
120
+ ]),
121
+ $("div", W, [
122
+ e.html ? (l(), i("div", {
123
+ key: 0,
124
+ innerHTML: e.text
125
+ }, null, 8, X)) : (l(), i(
126
+ "div",
127
+ Y,
128
+ v(e.text),
129
+ 1
130
+ /* TEXT */
131
+ ))
132
+ ]),
133
+ e.input ? (l(), i("div", Z, [
134
+ _(a(R), {
135
+ modelValue: u.value,
136
+ "onUpdate:modelValue": n[0] || (n[0] = (F) => u.value = F),
137
+ invalid: !!d.value,
138
+ placeholder: (t = e.input) == null ? void 0 : t.placeholder,
139
+ size: "block"
140
+ }, {
141
+ extras: p(() => [
142
+ d.value ? (l(), c(a(f), {
143
+ key: 0,
144
+ icon: "exclamation-sign"
145
+ })) : s("v-if", !0),
146
+ O(
147
+ " " + v(d.value),
148
+ 1
149
+ /* TEXT */
150
+ )
137
151
  ]),
138
- _: 2
139
- /* DYNAMIC */
140
- }, 1040, ["onClick"]))),
141
- 128
142
- /* KEYED_FRAGMENT */
143
- ))
144
- ])
145
- ])
146
- ])) : i("v-if", !0),
147
- e.dismissible ? (l(), d(a(V), {
152
+ _: 1
153
+ /* STABLE */
154
+ }, 8, ["modelValue", "invalid", "placeholder"])
155
+ ])) : s("v-if", !0),
156
+ r(o.$slots, "body.append")
157
+ ];
158
+ })
159
+ ])) : s("v-if", !0),
160
+ e.buttons || o.$slots["footer.append"] ? (l(), i("div", ee, [
161
+ e.buttons ? (l(), i("span", oe, [
162
+ (l(!0), i(
163
+ S,
164
+ null,
165
+ I(e.buttons, (t) => (l(), c(a(L), T({ ref_for: !0 }, t.props, {
166
+ key: t.id,
167
+ onClick: () => E(t)
168
+ }), {
169
+ default: p(() => [
170
+ t.icon ? (l(), c(
171
+ a(f),
172
+ T({
173
+ key: 0,
174
+ ref_for: !0
175
+ }, t.icon),
176
+ null,
177
+ 16
178
+ /* FULL_PROPS */
179
+ )) : s("v-if", !0)
180
+ ]),
181
+ _: 2
182
+ /* DYNAMIC */
183
+ }, 1040, ["onClick"]))),
184
+ 128
185
+ /* KEYED_FRAGMENT */
186
+ ))
187
+ ])) : s("v-if", !0),
188
+ r(o.$slots, "footer.append")
189
+ ])) : s("v-if", !0),
190
+ e.dismissible ? (l(), c(a(L), {
148
191
  key: 3,
149
192
  class: "q-dialog__close",
150
193
  variant: "text",
151
- onClick: y
194
+ onClick: h
152
195
  }, {
153
- default: f(() => [
154
- b(
155
- a(m),
156
- B(q(e.icons.close)),
196
+ default: p(() => [
197
+ _(
198
+ a(f),
199
+ q(C(e.icons.close)),
157
200
  null,
158
201
  16
159
202
  /* FULL_PROPS */
@@ -161,7 +204,7 @@ const I = {
161
204
  ]),
162
205
  _: 1
163
206
  /* STABLE */
164
- })) : i("v-if", !0)
207
+ })) : s("v-if", !0)
165
208
  ],
166
209
  2
167
210
  /* CLASS */
@@ -173,5 +216,5 @@ const I = {
173
216
  }
174
217
  });
175
218
  export {
176
- ee as default
219
+ re as default
177
220
  };
@@ -1,3 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ import { QDialogProviderProps } from './types';
2
+ declare const _default: import('vue').DefineComponent<QDialogProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
+ leave: (id: string) => any;
4
+ }, string, import('vue').PublicProps, Readonly<QDialogProviderProps> & Readonly<{
5
+ onLeave?: ((id: string) => any) | undefined;
6
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
7
  export default _default;
3
8
  //# sourceMappingURL=QDialogProvider.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AASA;;AA+FA,wBAKG"}
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,26 +1,34 @@
1
- import { defineComponent as a, createElementBlock as l, openBlock as o, Fragment as i, renderList as m, unref as r, createBlock as s, mergeProps as p } from "vue";
2
- import { QDialog as u } from "./index.js";
3
- import { useDialog as c } from "../../composables/useDialog/index.js";
4
- const D = /* @__PURE__ */ a({
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({
5
5
  inheritAttrs: !1,
6
6
  __name: "QDialogProvider",
7
- setup(f) {
8
- const { dialogs: t, removeDialog: n } = c();
9
- return (_, d) => (o(!0), l(
10
- i,
7
+ props: {
8
+ inline: { type: Boolean }
9
+ },
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);
15
+ }
16
+ return (e, B) => (o(!0), u(
17
+ f,
11
18
  null,
12
- m(r(t), (e) => (o(), s(r(u), p({
13
- key: e.id,
19
+ v(r(m), (n) => (o(), _(r(g), d({
20
+ key: n.id,
14
21
  ref_for: !0
15
- }, e.props, {
22
+ }, n.props, {
16
23
  "model-value": "",
17
- onLeave: () => r(n)(e.id)
18
- }), null, 16, ["onLeave"]))),
24
+ inline: l.inline,
25
+ onLeave: () => p(n.id)
26
+ }), null, 16, ["inline", "onLeave"]))),
19
27
  128
20
28
  /* KEYED_FRAGMENT */
21
29
  ));
22
30
  }
23
31
  });
24
32
  export {
25
- D as default
33
+ x as default
26
34
  };