@wpic/ui 0.9.51 → 0.9.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 (87) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/COMPONENTS.md +28 -0
  3. package/dist/components/CollapseToggle.vue.d.ts +2 -1
  4. package/dist/components/ConfirmModal.vue.d.ts +2 -1
  5. package/dist/components/Modal.vue.d.ts +7 -6
  6. package/dist/components/SearchSelect.vue.d.ts +2 -1
  7. package/dist/components/ToastContainer.vue.d.ts +2 -1
  8. package/dist/components/TreeSelect.vue.d.ts +2 -1
  9. package/dist/components/WActionMenu.vue.d.ts +3 -2
  10. package/dist/components/WActionMenuItem.vue.d.ts +3 -2
  11. package/dist/components/WActionPanel.vue.d.ts +3 -2
  12. package/dist/components/WAlert.vue.d.ts +5 -4
  13. package/dist/components/WAvatar.vue.d.ts +2 -1
  14. package/dist/components/WBadge.vue.d.ts +5 -4
  15. package/dist/components/WBanner.vue.d.ts +7 -6
  16. package/dist/components/WBatchActionBar.vue.d.ts +5 -4
  17. package/dist/components/WBottomSheet.vue.d.ts +3 -2
  18. package/dist/components/WButton.vue.d.ts +5 -4
  19. package/dist/components/WButtonGroup.vue.d.ts +3 -2
  20. package/dist/components/WCard.vue.d.ts +3 -21
  21. package/dist/components/WChatComposer.vue.d.ts +5 -4
  22. package/dist/components/WChatEditor.vue.d.ts +2 -1
  23. package/dist/components/WChatPanel.vue.d.ts +8 -7
  24. package/dist/components/WCheckbox.vue.d.ts +7 -5
  25. package/dist/components/WComboInput.vue.d.ts +18 -0
  26. package/dist/components/WDatePicker.vue.d.ts +2 -1
  27. package/dist/components/WDateRangePicker.vue.d.ts +2 -1
  28. package/dist/components/WEditableText.vue.d.ts +2 -1
  29. package/dist/components/WEmptyState.vue.d.ts +5 -4
  30. package/dist/components/WEmptyValue.vue.d.ts +3 -2
  31. package/dist/components/WFileList.vue.d.ts +5 -4
  32. package/dist/components/WFilter.vue.d.ts +11 -8
  33. package/dist/components/WFilterBar.vue.d.ts +2 -1
  34. package/dist/components/WFormActions.vue.d.ts +3 -2
  35. package/dist/components/WFormLabel.vue.d.ts +3 -2
  36. package/dist/components/WImageTile.vue.d.ts +2 -1
  37. package/dist/components/WInput.vue.d.ts +8 -6
  38. package/dist/components/WLoader.vue.d.ts +2 -1
  39. package/dist/components/WModal.vue.d.ts +7 -6
  40. package/dist/components/WMonthPicker.vue.d.ts +2 -1
  41. package/dist/components/WOptionPopover.vue.d.ts +2 -1
  42. package/dist/components/WPageHeader.vue.d.ts +8 -7
  43. package/dist/components/WPagination.vue.d.ts +2 -1
  44. package/dist/components/WPillGroup.vue.d.ts +7 -5
  45. package/dist/components/WPopover.vue.d.ts +7 -6
  46. package/dist/components/WProgress.vue.d.ts +2 -1
  47. package/dist/components/WSearchSelect.vue.d.ts +2 -1
  48. package/dist/components/WSegmentedControl.vue.d.ts +4 -3
  49. package/dist/components/WSelect.vue.d.ts +7 -17
  50. package/dist/components/WSelectOption.vue.d.ts +3 -2
  51. package/dist/components/WSkeleton.vue.d.ts +2 -1
  52. package/dist/components/WSlidePanel.vue.d.ts +10 -9
  53. package/dist/components/WSlider.vue.d.ts +5 -3
  54. package/dist/components/WSpinner.vue.d.ts +2 -7
  55. package/dist/components/WSplitButton.vue.d.ts +5 -4
  56. package/dist/components/WSpreadsheet.vue.d.ts +8 -7
  57. package/dist/components/WStatCard.vue.d.ts +2 -1
  58. package/dist/components/WTable.vue.d.ts +23 -23
  59. package/dist/components/WTabs.vue.d.ts +5 -4
  60. package/dist/components/WTag.vue.d.ts +3 -2
  61. package/dist/components/WTagInput.vue.d.ts +2 -1
  62. package/dist/components/WTailwindColorPicker.vue.d.ts +2 -1
  63. package/dist/components/WTextarea.vue.d.ts +2 -1
  64. package/dist/components/WThemeProvider.vue.d.ts +3 -2
  65. package/dist/components/WToggle.vue.d.ts +5 -3
  66. package/dist/components/WTooltip.vue.d.ts +3 -2
  67. package/dist/components/WTrendBadge.vue.d.ts +2 -1
  68. package/dist/components/WTwoColumnFormSection.vue.d.ts +3 -2
  69. package/dist/components/WWorkflowNav.vue.d.ts +2 -1
  70. package/dist/components/form/FormDate.vue.d.ts +2 -1
  71. package/dist/components/form/FormInput.vue.d.ts +4 -2
  72. package/dist/components/form/FormLabel.vue.d.ts +3 -2
  73. package/dist/components/form/FormSelect.vue.d.ts +4 -2
  74. package/dist/components/form/FormTextarea.vue.d.ts +4 -2
  75. package/dist/components/icons/MarketplaceIcon.vue.d.ts +2 -1
  76. package/dist/components/icons/ProviderLogo.vue.d.ts +2 -6
  77. package/dist/components/table/Table.vue.d.ts +3 -2
  78. package/dist/components/table/TableBody.vue.d.ts +3 -2
  79. package/dist/components/table/TableCell.vue.d.ts +5 -4
  80. package/dist/components/table/TableHead.vue.d.ts +3 -2
  81. package/dist/components/table/TableRow.vue.d.ts +3 -2
  82. package/dist/index.d.ts +1 -0
  83. package/dist/wpic-ui.cjs +63 -63
  84. package/dist/wpic-ui.css +15 -4
  85. package/dist/wpic-ui.js +2640 -2581
  86. package/package.json +10 -10
  87. package/src/style.css +14 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # Unreleased
2
+
3
+ - Add `WComboInput`: a free-text `WInput` with a `WOptionPopover` suggestion list, for fields that are historically free text but should offer previously-used values (unlike `WSelect`'s `creatable` mode, typing and blurring always commits — no need to click a "Create …" row).
4
+ - `WOptionPopover` options now select on `mousedown` instead of `click`, so a text input driving the popover doesn't blur-close it before the click registers.
5
+
1
6
  ## 0.9.48
2
7
 
3
8
  - WDateRangePicker: expose `popoverAutoPlacement` to choose the side with the most available space. Existing placement behavior stays the default.
package/COMPONENTS.md CHANGED
@@ -369,6 +369,34 @@ close: []
369
369
 
370
370
  ---
371
371
 
372
+ ## WComboInput
373
+
374
+ Free-text `WInput` with a `WOptionPopover` suggestion list. Unlike `WSelect`,
375
+ the value never has to match an option: typing and leaving the field (blur or
376
+ Enter) always commits the typed text; clicking a suggestion fills it the same
377
+ way a `WSelect` option would. Use this for fields that are historically free
378
+ text but should offer previously-used values as suggestions (e.g. a category
379
+ picker), where `WSelect`'s `creatable` mode (which requires clicking a
380
+ "Create …" row) is the wrong fit.
381
+
382
+ **Import:** `import { WComboInput } from '@wpic/ui'`
383
+
384
+ **Props:**
385
+ ```ts
386
+ modelValue: string | null
387
+ options: PopoverOption[] // same shape as WOptionPopover: { value, label, color?, icon? }
388
+ placeholder?: string
389
+ disabled?: boolean
390
+ maxlength?: number
391
+ ```
392
+
393
+ **Emits:**
394
+ ```ts
395
+ 'update:modelValue': [value: string]
396
+ ```
397
+
398
+ ---
399
+
372
400
  ## WOptionPopover
373
401
 
374
402
  **Import:** `import { WOptionPopover } from '@wpic/ui'`
@@ -2,9 +2,10 @@ type __VLS_Props = {
2
2
  collapsed?: boolean;
3
3
  size?: number;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  toggle: () => any;
7
7
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
8
8
  onToggle?: (() => any) | undefined;
9
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
10
11
  export default _default;
@@ -6,11 +6,12 @@ type __VLS_Props = {
6
6
  danger?: boolean;
7
7
  loading?: boolean;
8
8
  };
9
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
10
  cancel: () => any;
11
11
  confirm: () => any;
12
12
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
13
  onCancel?: (() => any) | undefined;
14
14
  onConfirm?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;
@@ -5,20 +5,21 @@ type __VLS_Props = {
5
5
  hideClose?: boolean;
6
6
  noPadding?: boolean;
7
7
  };
8
- declare var __VLS_5: {}, __VLS_11: {}, __VLS_13: {};
8
+ declare var __VLS_7: {}, __VLS_14: {}, __VLS_16: {};
9
9
  type __VLS_Slots = {} & {
10
- header?: (props: typeof __VLS_5) => any;
10
+ header?: (props: typeof __VLS_7) => any;
11
11
  } & {
12
- default?: (props: typeof __VLS_11) => any;
12
+ default?: (props: typeof __VLS_14) => any;
13
13
  } & {
14
- footer?: (props: typeof __VLS_13) => any;
14
+ footer?: (props: typeof __VLS_16) => any;
15
15
  };
16
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
17
  close: () => any;
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  onClose?: (() => any) | undefined;
20
20
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
22
23
  export default _default;
23
24
  type __VLS_WithSlots<T, S> = T & {
24
25
  new (): {
@@ -11,9 +11,10 @@ type __VLS_Props = {
11
11
  maxLabels?: number;
12
12
  pinnedOptions?: Option[];
13
13
  };
14
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  "update:modelValue": (v: any) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  "onUpdate:modelValue"?: ((v: any) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
@@ -1,2 +1,3 @@
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
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -14,7 +14,7 @@ type __VLS_Props = {
14
14
  icon?: Component | null;
15
15
  subIcon?: Component | null;
16
16
  };
17
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  "update:modelValue": (v: string | number) => any;
19
19
  "update:subValue": (v: string | number) => any;
20
20
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -29,4 +29,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
29
29
  subLabel: string;
30
30
  subIcon: Component | null;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
32
33
  export default _default;
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_1) => any;
4
4
  };
5
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
@@ -6,12 +6,13 @@ declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
10
  click: (event: MouseEvent) => any;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  onClick?: ((event: MouseEvent) => any) | undefined;
13
13
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
15
16
  export default _default;
16
17
  type __VLS_WithSlots<T, S> = T & {
17
18
  new (): {
@@ -10,10 +10,11 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  actions?: (props: typeof __VLS_5) => any;
12
12
  };
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
14
  actionPosition: "top-right" | "bottom-right" | "below";
15
15
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
18
19
  type __VLS_WithSlots<T, S> = T & {
19
20
  new (): {
@@ -6,16 +6,17 @@ type __VLS_Props = {
6
6
  dismissible?: boolean;
7
7
  theme?: WTheme;
8
8
  };
9
- declare var __VLS_9: {};
9
+ declare var __VLS_10: {};
10
10
  type __VLS_Slots = {} & {
11
- default?: (props: typeof __VLS_9) => any;
11
+ default?: (props: typeof __VLS_10) => any;
12
12
  };
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
14
  close: () => any;
15
15
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
16
  onClose?: (() => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
20
21
  type __VLS_WithSlots<T, S> = T & {
21
22
  new (): {
@@ -3,5 +3,6 @@ type __VLS_Props = {
3
3
  src?: string;
4
4
  size?: 'sm' | 'md' | 'lg';
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
@@ -11,17 +11,18 @@ type __VLS_Props = {
11
11
  count?: boolean;
12
12
  theme?: WTheme;
13
13
  };
14
- declare var __VLS_5: {};
14
+ declare var __VLS_6: {};
15
15
  type __VLS_Slots = {} & {
16
- default?: (props: typeof __VLS_5) => any;
16
+ default?: (props: typeof __VLS_6) => any;
17
17
  };
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  variant: "default" | "neutral" | "primary" | "success" | "warning" | "error" | "info";
20
20
  size: "sm" | "md";
21
21
  theme: WTheme;
22
22
  bordered: boolean;
23
23
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  type __VLS_WithSlots<T, S> = T & {
27
28
  new (): {
@@ -9,15 +9,15 @@ type __VLS_Props = {
9
9
  dismissLabel?: string;
10
10
  theme?: WTheme;
11
11
  };
12
- declare var __VLS_5: {}, __VLS_11: {}, __VLS_13: {};
12
+ declare var __VLS_6: {}, __VLS_13: {}, __VLS_15: {};
13
13
  type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_5) => any;
14
+ default?: (props: typeof __VLS_6) => any;
15
15
  } & {
16
- default?: (props: typeof __VLS_11) => any;
16
+ default?: (props: typeof __VLS_13) => any;
17
17
  } & {
18
- actions?: (props: typeof __VLS_13) => any;
18
+ actions?: (props: typeof __VLS_15) => any;
19
19
  };
20
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
21
  close: () => any;
22
22
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
23
  onClose?: (() => any) | undefined;
@@ -27,7 +27,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
27
27
  dismissible: boolean;
28
28
  dismissLabel: string;
29
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
+ declare const _default: typeof __VLS_export;
31
32
  export default _default;
32
33
  type __VLS_WithSlots<T, S> = T & {
33
34
  new (): {
@@ -4,16 +4,17 @@ type __VLS_Props = {
4
4
  countLabel?: string;
5
5
  emptyLabel?: string;
6
6
  };
7
- declare var __VLS_5: {};
7
+ declare var __VLS_7: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_5) => any;
9
+ default?: (props: typeof __VLS_7) => any;
10
10
  };
11
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
12
  close: () => any;
13
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
14
  onClose?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
18
19
  type __VLS_WithSlots<T, S> = T & {
19
20
  new (): {
@@ -1,4 +1,6 @@
1
- declare const _default: __VLS_WithSlots<import('vue').DefineComponent<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
2
4
  returnFocus?: HTMLElement | null;
3
5
  modelValue: boolean;
4
6
  title?: string;
@@ -23,7 +25,6 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<{
23
25
  } & {
24
26
  footer?: (props: {}) => any;
25
27
  }>;
26
- export default _default;
27
28
  type __VLS_WithSlots<T, S> = T & {
28
29
  new (): {
29
30
  $slots: S;
@@ -7,16 +7,17 @@ type __VLS_Props = {
7
7
  icon?: object | Function;
8
8
  href?: string;
9
9
  };
10
- declare var __VLS_14: {};
10
+ declare var __VLS_15: {};
11
11
  type __VLS_Slots = {} & {
12
- default?: (props: typeof __VLS_14) => any;
12
+ default?: (props: typeof __VLS_15) => any;
13
13
  };
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
15
  click: (e: MouseEvent) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
17
  onClick?: ((e: MouseEvent) => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
20
21
  export default _default;
21
22
  type __VLS_WithSlots<T, S> = T & {
22
23
  new (): {
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_1) => any;
4
4
  };
5
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
@@ -1,22 +1,3 @@
1
- /**
2
- * WCard — content card.
3
- *
4
- * Slots:
5
- * - icon : optional icon in the header (left of title)
6
- * - title : card header title (or use `title` prop)
7
- * - subtitle : optional line below the title (or use `subtitle` prop)
8
- * - actions : optional header right slot (buttons, badges…)
9
- * - default : card body / rows
10
- * - footer : optional footer
11
- * - empty : shown when `empty` prop is true
12
- *
13
- * Props:
14
- * - title : string shorthand for header title
15
- * - subtitle : string shorthand for the line below the title
16
- * - empty : boolean — show empty slot instead of default
17
- * - headerDivider : boolean — show the separator below the header (default true)
18
- * - padding : shared horizontal spacing for header, body and footer
19
- */
20
1
  type __VLS_Props = {
21
2
  /** Shared KPI layout: title/actions, value/subtitle and optional visual slot. */
22
3
  variant?: 'default' | 'metric';
@@ -61,13 +42,14 @@ type __VLS_Slots = {} & {
61
42
  } & {
62
43
  footer?: (props: typeof __VLS_25) => any;
63
44
  };
64
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
45
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
65
46
  variant: "default" | "metric";
66
47
  padding: "sm" | "md" | "lg";
67
48
  headerDivider: boolean;
68
49
  titleSize: "base" | "lg";
69
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
70
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
51
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
52
+ declare const _default: typeof __VLS_export;
71
53
  export default _default;
72
54
  type __VLS_WithSlots<T, S> = T & {
73
55
  new (): {
@@ -26,11 +26,11 @@ type __VLS_Props = {
26
26
  generalConversationLabel?: string;
27
27
  };
28
28
  declare function openWithPrompt(prompt: string): Promise<void>;
29
- declare var __VLS_46: {};
29
+ declare var __VLS_57: {};
30
30
  type __VLS_Slots = {} & {
31
- 'composer-actions'?: (props: typeof __VLS_46) => any;
31
+ 'composer-actions'?: (props: typeof __VLS_57) => any;
32
32
  };
33
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
33
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
34
34
  openWithPrompt: typeof openWithPrompt;
35
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
36
  submit: (value: string) => any;
@@ -65,7 +65,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
65
65
  loadingLabel: string;
66
66
  generalConversationLabel: string;
67
67
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
68
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
68
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
69
+ declare const _default: typeof __VLS_export;
69
70
  export default _default;
70
71
  type __VLS_WithSlots<T, S> = T & {
71
72
  new (): {
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  minLines?: number;
6
6
  maxLines?: number;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
9
9
  focus: () => boolean | undefined;
10
10
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
11
  "update:modelValue": (value: string) => any;
@@ -14,4 +14,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
14
14
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
15
  onSubmit?: (() => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -155,7 +155,7 @@ type __VLS_Slots = {
155
155
  submit: () => void;
156
156
  }) => any;
157
157
  };
158
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
158
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
159
159
  "update:modelValue": (value: string) => any;
160
160
  clear: () => any;
161
161
  cancel: () => any;
@@ -218,17 +218,17 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
218
218
  }>, {
219
219
  variant: "default" | "glass";
220
220
  loading: boolean;
221
+ modelValue: string;
222
+ placeholder: string;
221
223
  title: string;
222
- height: number;
223
224
  width: number;
225
+ minWidth: number;
224
226
  x: number;
225
227
  y: number;
226
- modelValue: string;
227
- placeholder: string;
228
- minWidth: number;
229
228
  closeLabel: string;
230
- zIndex: number;
229
+ height: number;
231
230
  minHeight: number;
231
+ zIndex: number;
232
232
  mentionItems: WChatMentionItem[];
233
233
  projects: WChatProject[];
234
234
  sessions: WChatSession[];
@@ -282,7 +282,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
282
282
  maximizedMargin: number;
283
283
  topOffset: number;
284
284
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
285
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
285
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
286
+ declare const _default: typeof __VLS_export;
286
287
  export default _default;
287
288
  type __VLS_WithSlots<T, S> = T & {
288
289
  new (): {
@@ -1,19 +1,21 @@
1
1
  type __VLS_Props = {
2
2
  disabled?: boolean;
3
3
  };
4
- type __VLS_PublicProps = __VLS_Props & {
4
+ type __VLS_ModelProps = {
5
5
  modelValue?: boolean;
6
6
  };
7
- declare var __VLS_5: {};
7
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
+ declare var __VLS_6: {};
8
9
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_5) => any;
10
+ default?: (props: typeof __VLS_6) => any;
10
11
  };
11
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
13
  "update:modelValue": (value: boolean | undefined) => any;
13
14
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
15
  "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
15
16
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
17
19
  export default _default;
18
20
  type __VLS_WithSlots<T, S> = T & {
19
21
  new (): {
@@ -0,0 +1,18 @@
1
+ import { PopoverOption } from './WOptionPopover.vue';
2
+ type __VLS_Props = {
3
+ modelValue: string | null;
4
+ options: PopoverOption[];
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ maxlength?: number;
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ }>, {
14
+ disabled: boolean;
15
+ placeholder: string;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -20,7 +20,7 @@ type __VLS_Props = {
20
20
  /** Allow a preferred placement to flip to its opposite side. */
21
21
  popoverFlip?: boolean;
22
22
  };
23
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
24
  "update:modelValue": (value: string) => any;
25
25
  change: (value: string) => any;
26
26
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -38,4 +38,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
38
38
  locale: string;
39
39
  weekStartsOn: 0 | 1;
40
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: typeof __VLS_export;
41
42
  export default _default;
@@ -25,7 +25,7 @@ type __VLS_Props = {
25
25
  popoverAutoPlacement?: boolean;
26
26
  size?: 'sm' | 'md' | 'lg';
27
27
  };
28
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
29
  "update:modelValue": (value: DateRange | null) => any;
30
30
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
31
31
  "onUpdate:modelValue"?: ((value: DateRange | null) => any) | undefined;
@@ -39,4 +39,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
39
39
  nextMonthLabel: string;
40
40
  presets: Preset[];
41
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
42
+ declare const _default: typeof __VLS_export;
42
43
  export default _default;
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  disabled?: boolean;
6
6
  maxLength?: number;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
9
  "update:modelValue": (value: string) => any;
10
10
  commit: (value: string) => any;
11
11
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -16,4 +16,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
16
16
  placeholder: string;
17
17
  maxLength: number;
18
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
19
20
  export default _default;
@@ -9,16 +9,17 @@ type __VLS_Props = {
9
9
  align?: EmptyStateAlign;
10
10
  showIcon?: boolean;
11
11
  };
12
- declare var __VLS_5: {};
12
+ declare var __VLS_6: {};
13
13
  type __VLS_Slots = {} & {
14
- default?: (props: typeof __VLS_5) => any;
14
+ default?: (props: typeof __VLS_6) => any;
15
15
  };
16
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
17
  size: EmptyStateSize;
18
18
  align: EmptyStateAlign;
19
19
  showIcon: boolean;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
22
23
  export default _default;
23
24
  type __VLS_WithSlots<T, S> = T & {
24
25
  new (): {
@@ -5,10 +5,11 @@ declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_1) => any;
7
7
  };
8
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
9
  label: string;
10
10
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
13
14
  type __VLS_WithSlots<T, S> = T & {
14
15
  new (): {