@abraca/nuxt 2.63.0 → 2.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/ACodeEditor.d.vue.ts +1 -1
  3. package/dist/runtime/components/ACodeEditor.vue.d.ts +1 -1
  4. package/dist/runtime/components/ADocSubPageList.d.vue.ts +1 -1
  5. package/dist/runtime/components/ADocSubPageList.vue +2 -2
  6. package/dist/runtime/components/ADocSubPageList.vue.d.ts +1 -1
  7. package/dist/runtime/components/AEmailVerifyConfirmModal.d.vue.ts +1 -1
  8. package/dist/runtime/components/AEmailVerifyConfirmModal.vue.d.ts +1 -1
  9. package/dist/runtime/components/AEmailVerifyRequestCard.d.vue.ts +1 -1
  10. package/dist/runtime/components/AEmailVerifyRequestCard.vue.d.ts +1 -1
  11. package/dist/runtime/components/AKeypairLoginModal.d.vue.ts +1 -1
  12. package/dist/runtime/components/AKeypairLoginModal.vue.d.ts +1 -1
  13. package/dist/runtime/components/AMnemonicLoginModal.d.vue.ts +1 -1
  14. package/dist/runtime/components/AMnemonicLoginModal.vue.d.ts +1 -1
  15. package/dist/runtime/components/ANotificationBell.d.vue.ts +1 -1
  16. package/dist/runtime/components/ANotificationBell.vue.d.ts +1 -1
  17. package/dist/runtime/components/APasswordChangeModal.d.vue.ts +2 -2
  18. package/dist/runtime/components/APasswordChangeModal.vue.d.ts +2 -2
  19. package/dist/runtime/components/APasswordLoginModal.d.vue.ts +1 -1
  20. package/dist/runtime/components/APasswordLoginModal.vue.d.ts +1 -1
  21. package/dist/runtime/components/APasswordRegisterModal.d.vue.ts +2 -2
  22. package/dist/runtime/components/APasswordRegisterModal.vue.d.ts +2 -2
  23. package/dist/runtime/components/APasswordResetConfirmModal.d.vue.ts +2 -2
  24. package/dist/runtime/components/APasswordResetConfirmModal.vue.d.ts +2 -2
  25. package/dist/runtime/components/APasswordResetRequestModal.d.vue.ts +1 -1
  26. package/dist/runtime/components/APasswordResetRequestModal.vue.d.ts +1 -1
  27. package/dist/runtime/components/ASetPasswordCard.d.vue.ts +2 -2
  28. package/dist/runtime/components/ASetPasswordCard.vue.d.ts +2 -2
  29. package/dist/runtime/components/ASubPageList.d.vue.ts +2 -2
  30. package/dist/runtime/components/ASubPageList.vue.d.ts +2 -2
  31. package/dist/runtime/components/ATagsEditor.d.vue.ts +1 -1
  32. package/dist/runtime/components/ATagsEditor.vue.d.ts +1 -1
  33. package/dist/runtime/components/aware/ACalendar.d.vue.ts +1 -1
  34. package/dist/runtime/components/aware/ACalendar.vue.d.ts +1 -1
  35. package/dist/runtime/components/aware/AFileUpload.d.vue.ts +1 -1
  36. package/dist/runtime/components/aware/AFileUpload.vue.d.ts +1 -1
  37. package/dist/runtime/components/aware/AInput.d.vue.ts +1 -1
  38. package/dist/runtime/components/aware/AInput.vue.d.ts +1 -1
  39. package/dist/runtime/components/aware/AInputMenu.d.vue.ts +1 -1
  40. package/dist/runtime/components/aware/AInputMenu.vue.d.ts +1 -1
  41. package/dist/runtime/components/aware/AMedia.d.vue.ts +1 -1
  42. package/dist/runtime/components/aware/AMedia.vue.d.ts +1 -1
  43. package/dist/runtime/components/aware/ASelect.d.vue.ts +1 -1
  44. package/dist/runtime/components/aware/ASelect.vue.d.ts +1 -1
  45. package/dist/runtime/components/aware/ASelectMenu.d.vue.ts +1 -1
  46. package/dist/runtime/components/aware/ASelectMenu.vue.d.ts +1 -1
  47. package/dist/runtime/components/aware/ASlider.d.vue.ts +1 -1
  48. package/dist/runtime/components/aware/ASlider.vue.d.ts +1 -1
  49. package/dist/runtime/components/aware/ATextarea.d.vue.ts +1 -1
  50. package/dist/runtime/components/aware/ATextarea.vue.d.ts +1 -1
  51. package/dist/runtime/components/aware/AToggleGroup.d.vue.ts +2 -2
  52. package/dist/runtime/components/aware/AToggleGroup.vue.d.ts +2 -2
  53. package/dist/runtime/components/chat/AChatInput.d.vue.ts +2 -2
  54. package/dist/runtime/components/chat/AChatInput.vue.d.ts +2 -2
  55. package/dist/runtime/components/chat/AChatPanel.d.vue.ts +1 -1
  56. package/dist/runtime/components/chat/AChatPanel.vue.d.ts +1 -1
  57. package/dist/runtime/components/chat/ANodeChatPanel.d.vue.ts +1 -1
  58. package/dist/runtime/components/chat/ANodeChatPanel.vue.d.ts +1 -1
  59. package/dist/runtime/components/docs/ADocsNavigation.d.vue.ts +1 -1
  60. package/dist/runtime/components/docs/ADocsNavigation.vue.d.ts +1 -1
  61. package/dist/runtime/components/docs/ADocsSearch.d.vue.ts +7 -7
  62. package/dist/runtime/components/docs/ADocsSearch.vue.d.ts +7 -7
  63. package/dist/runtime/components/docs/ADocsSearchButton.d.vue.ts +4 -4
  64. package/dist/runtime/components/docs/ADocsSearchButton.vue.d.ts +4 -4
  65. package/dist/runtime/components/docs/ADocsToc.d.vue.ts +2 -2
  66. package/dist/runtime/components/docs/ADocsToc.vue.d.ts +2 -2
  67. package/dist/runtime/components/editor/AEditorRedoButton.d.vue.ts +1 -1
  68. package/dist/runtime/components/editor/AEditorRedoButton.vue.d.ts +1 -1
  69. package/dist/runtime/components/editor/AEditorUndoButton.d.vue.ts +1 -1
  70. package/dist/runtime/components/editor/AEditorUndoButton.vue.d.ts +1 -1
  71. package/dist/runtime/components/editor/AMetaChip.d.vue.ts +3 -1
  72. package/dist/runtime/components/editor/AMetaChip.vue +99 -3
  73. package/dist/runtime/components/editor/AMetaChip.vue.d.ts +3 -1
  74. package/dist/runtime/components/editor/AMetaNumberStepper.d.vue.ts +1 -1
  75. package/dist/runtime/components/editor/AMetaNumberStepper.vue.d.ts +1 -1
  76. package/dist/runtime/components/registry/APluginCapabilityDialog.d.vue.ts +2 -2
  77. package/dist/runtime/components/registry/APluginCapabilityDialog.vue.d.ts +2 -2
  78. package/dist/runtime/components/renderers/AGraphRenderer.d.vue.ts +1 -1
  79. package/dist/runtime/components/renderers/AGraphRenderer.vue.d.ts +1 -1
  80. package/dist/runtime/components/renderers/AMapRenderer.d.vue.ts +1 -1
  81. package/dist/runtime/components/renderers/AMapRenderer.vue.d.ts +1 -1
  82. package/dist/runtime/components/renderers/AOutlineRenderer.d.vue.ts +1 -1
  83. package/dist/runtime/components/renderers/AOutlineRenderer.vue.d.ts +1 -1
  84. package/dist/runtime/components/renderers/AOverviewRenderer.d.vue.ts +1 -1
  85. package/dist/runtime/components/renderers/AOverviewRenderer.vue.d.ts +1 -1
  86. package/dist/runtime/components/renderers/ASlidesRenderer.d.vue.ts +1 -1
  87. package/dist/runtime/components/renderers/ASlidesRenderer.vue.d.ts +1 -1
  88. package/dist/runtime/components/renderers/calendar/ACalendarToolbar.d.vue.ts +2 -2
  89. package/dist/runtime/components/renderers/calendar/ACalendarToolbar.vue.d.ts +2 -2
  90. package/dist/runtime/components/renderers/media/MediaTransportBar.d.vue.ts +2 -2
  91. package/dist/runtime/components/renderers/media/MediaTransportBar.vue.d.ts +2 -2
  92. package/dist/runtime/components/renderers/sheets/ASheetsFindPanel.d.vue.ts +2 -2
  93. package/dist/runtime/components/renderers/sheets/ASheetsFindPanel.vue.d.ts +2 -2
  94. package/dist/runtime/components/renderers/table/ATableColumnHeader.d.vue.ts +2 -2
  95. package/dist/runtime/components/renderers/table/ATableColumnHeader.vue.d.ts +2 -2
  96. package/dist/runtime/components/settings/APluginInstallDialog.d.vue.ts +2 -2
  97. package/dist/runtime/components/settings/APluginInstallDialog.vue.d.ts +2 -2
  98. package/dist/runtime/components/shell/ADocPanelServerSettings.d.vue.ts +1 -1
  99. package/dist/runtime/components/shell/ADocPanelServerSettings.vue.d.ts +1 -1
  100. package/dist/runtime/components/shell/AUserMenu.d.vue.ts +2 -2
  101. package/dist/runtime/components/shell/AUserMenu.vue.d.ts +2 -2
  102. package/dist/runtime/components/shell/AUserProfilePopover.d.vue.ts +1 -1
  103. package/dist/runtime/components/shell/AUserProfilePopover.vue.d.ts +1 -1
  104. package/dist/runtime/components/shell/AWelcomeScreen.d.vue.ts +1 -1
  105. package/dist/runtime/components/shell/AWelcomeScreen.vue.d.ts +1 -1
  106. package/dist/runtime/composables/useConnectionStatus.d.ts +1 -1
  107. package/dist/runtime/composables/useDevicePairing.d.ts +1 -1
  108. package/dist/runtime/composables/useDocPermissions.d.ts +1 -1
  109. package/dist/runtime/composables/useIdentityDoc.d.ts +1 -1
  110. package/dist/runtime/composables/useTableView.d.ts +4 -4
  111. package/dist/runtime/composables/useWebRTC.d.ts +1 -1
  112. package/dist/runtime/server/api/_abracadabra/spaces.get.d.ts +1 -1
  113. package/dist/runtime/types.d.ts +8 -0
  114. package/package.json +1 -1
@@ -28,11 +28,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
28
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
29
29
  "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
30
30
  }>, {
31
- color: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "neutral";
32
31
  sync: boolean;
33
- type: "single" | "multiple";
34
32
  awareness: boolean;
35
33
  size: "xs" | "sm" | "md" | "lg" | "xl";
34
+ color: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "neutral";
35
+ type: "single" | "multiple";
36
36
  max: number;
37
37
  variant: "solid" | "soft" | "outline" | "ghost" | "subtle" | "link";
38
38
  total: boolean;
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
40
40
  }) => any) | undefined;
41
41
  "onCancel-reply"?: (() => any) | undefined;
42
42
  }>, {
43
- placeholder: string;
44
- autofocus: boolean;
45
43
  replyTo: ReplyTarget | null;
44
+ autofocus: boolean;
45
+ placeholder: string;
46
46
  canSend: boolean;
47
47
  mentionUsers: ChatMentionUser[];
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -40,9 +40,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
40
40
  }) => any) | undefined;
41
41
  "onCancel-reply"?: (() => any) | undefined;
42
42
  }>, {
43
- placeholder: string;
44
- autofocus: boolean;
45
43
  replyTo: ReplyTarget | null;
44
+ autofocus: boolean;
45
+ placeholder: string;
46
46
  canSend: boolean;
47
47
  mentionUsers: ChatMentionUser[];
48
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -67,8 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
67
67
  label: string;
68
68
  }) => any) | undefined;
69
69
  }>, {
70
- placeholder: string;
71
70
  autofocus: boolean;
71
+ placeholder: string;
72
72
  emptyText: string;
73
73
  currentUserId: string;
74
74
  emptyIcon: string;
@@ -67,8 +67,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
67
67
  label: string;
68
68
  }) => any) | undefined;
69
69
  }>, {
70
- placeholder: string;
71
70
  autofocus: boolean;
71
+ placeholder: string;
72
72
  emptyText: string;
73
73
  currentUserId: string;
74
74
  emptyIcon: string;
@@ -26,8 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
26
26
  "onOpen-doc"?: ((docId: string) => any) | undefined;
27
27
  "onJump-to-quote"?: ((docId: string, from: number, to: number) => any) | undefined;
28
28
  }>, {
29
- placeholder: string;
30
29
  autofocus: boolean;
30
+ placeholder: string;
31
31
  emptyText: string;
32
32
  emptyIcon: string;
33
33
  emptySubtext: string;
@@ -26,8 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
26
26
  "onOpen-doc"?: ((docId: string) => any) | undefined;
27
27
  "onJump-to-quote"?: ((docId: string, from: number, to: number) => any) | undefined;
28
28
  }>, {
29
- placeholder: string;
30
29
  autofocus: boolean;
30
+ placeholder: string;
31
31
  emptyText: string;
32
32
  emptyIcon: string;
33
33
  emptySubtext: string;
@@ -141,8 +141,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
141
141
  }>> & Readonly<{
142
142
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
143
  }>, {
144
- type: string;
145
144
  as: any;
145
+ type: string;
146
146
  disabled: boolean;
147
147
  level: number;
148
148
  collapsible: boolean;
@@ -141,8 +141,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
141
141
  }>> & Readonly<{
142
142
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
143
143
  }>, {
144
- type: string;
145
144
  as: any;
145
+ type: string;
146
146
  disabled: boolean;
147
147
  level: number;
148
148
  collapsible: boolean;
@@ -26,7 +26,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
26
26
  required: false;
27
27
  };
28
28
  close: {
29
- type: (ObjectConstructor | BooleanConstructor)[];
29
+ type: (BooleanConstructor | ObjectConstructor)[];
30
30
  required: false;
31
31
  default: boolean;
32
32
  };
@@ -106,7 +106,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
106
106
  required: false;
107
107
  };
108
108
  portal: {
109
- type: (StringConstructor | BooleanConstructor)[];
109
+ type: (BooleanConstructor | StringConstructor)[];
110
110
  required: false;
111
111
  skipCheck: boolean;
112
112
  };
@@ -143,7 +143,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
143
143
  required: false;
144
144
  };
145
145
  close: {
146
- type: (ObjectConstructor | BooleanConstructor)[];
146
+ type: (BooleanConstructor | ObjectConstructor)[];
147
147
  required: false;
148
148
  default: boolean;
149
149
  };
@@ -223,7 +223,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
223
223
  required: false;
224
224
  };
225
225
  portal: {
226
- type: (StringConstructor | BooleanConstructor)[];
226
+ type: (BooleanConstructor | StringConstructor)[];
227
227
  required: false;
228
228
  skipCheck: boolean;
229
229
  };
@@ -233,13 +233,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
233
233
  }>> & Readonly<{
234
234
  "onUpdate:searchTerm"?: ((value: string | undefined) => any) | undefined;
235
235
  }>, {
236
- close: boolean | Record<string, any>;
237
236
  transition: boolean;
238
- fullscreen: boolean;
237
+ close: boolean | Record<string, any>;
238
+ shortcut: string;
239
239
  autofocus: boolean;
240
+ fullscreen: boolean;
240
241
  loading: boolean;
241
242
  colorMode: boolean;
242
- shortcut: string;
243
243
  dismissible: boolean;
244
244
  overlay: boolean;
245
245
  modal: boolean;
@@ -26,7 +26,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
26
26
  required: false;
27
27
  };
28
28
  close: {
29
- type: (ObjectConstructor | BooleanConstructor)[];
29
+ type: (BooleanConstructor | ObjectConstructor)[];
30
30
  required: false;
31
31
  default: boolean;
32
32
  };
@@ -106,7 +106,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
106
106
  required: false;
107
107
  };
108
108
  portal: {
109
- type: (StringConstructor | BooleanConstructor)[];
109
+ type: (BooleanConstructor | StringConstructor)[];
110
110
  required: false;
111
111
  skipCheck: boolean;
112
112
  };
@@ -143,7 +143,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
143
143
  required: false;
144
144
  };
145
145
  close: {
146
- type: (ObjectConstructor | BooleanConstructor)[];
146
+ type: (BooleanConstructor | ObjectConstructor)[];
147
147
  required: false;
148
148
  default: boolean;
149
149
  };
@@ -223,7 +223,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
223
223
  required: false;
224
224
  };
225
225
  portal: {
226
- type: (StringConstructor | BooleanConstructor)[];
226
+ type: (BooleanConstructor | StringConstructor)[];
227
227
  required: false;
228
228
  skipCheck: boolean;
229
229
  };
@@ -233,13 +233,13 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
233
233
  }>> & Readonly<{
234
234
  "onUpdate:searchTerm"?: ((value: string | undefined) => any) | undefined;
235
235
  }>, {
236
- close: boolean | Record<string, any>;
237
236
  transition: boolean;
238
- fullscreen: boolean;
237
+ close: boolean | Record<string, any>;
238
+ shortcut: string;
239
239
  autofocus: boolean;
240
+ fullscreen: boolean;
240
241
  loading: boolean;
241
242
  colorMode: boolean;
242
- shortcut: string;
243
243
  dismissible: boolean;
244
244
  overlay: boolean;
245
245
  modal: boolean;
@@ -24,7 +24,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
24
24
  default: boolean;
25
25
  };
26
26
  tooltip: {
27
- type: (ObjectConstructor | BooleanConstructor)[];
27
+ type: (BooleanConstructor | ObjectConstructor)[];
28
28
  required: false;
29
29
  default: boolean;
30
30
  };
@@ -141,7 +141,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
141
141
  default: boolean;
142
142
  };
143
143
  tooltip: {
144
- type: (ObjectConstructor | BooleanConstructor)[];
144
+ type: (BooleanConstructor | ObjectConstructor)[];
145
145
  required: false;
146
146
  default: boolean;
147
147
  };
@@ -236,10 +236,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
236
236
  };
237
237
  }>> & Readonly<{}>, {
238
238
  color: any;
239
- block: boolean;
240
- square: boolean;
241
239
  disabled: boolean;
242
240
  viewTransition: boolean;
241
+ block: boolean;
242
+ square: boolean;
243
243
  loading: boolean;
244
244
  collapsed: boolean;
245
245
  tooltip: boolean | Record<string, any>;
@@ -24,7 +24,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
24
24
  default: boolean;
25
25
  };
26
26
  tooltip: {
27
- type: (ObjectConstructor | BooleanConstructor)[];
27
+ type: (BooleanConstructor | ObjectConstructor)[];
28
28
  required: false;
29
29
  default: boolean;
30
30
  };
@@ -141,7 +141,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
141
141
  default: boolean;
142
142
  };
143
143
  tooltip: {
144
- type: (ObjectConstructor | BooleanConstructor)[];
144
+ type: (BooleanConstructor | ObjectConstructor)[];
145
145
  required: false;
146
146
  default: boolean;
147
147
  };
@@ -236,10 +236,10 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
236
236
  };
237
237
  }>> & Readonly<{}>, {
238
238
  color: any;
239
- block: boolean;
240
- square: boolean;
241
239
  disabled: boolean;
242
240
  viewTransition: boolean;
241
+ block: boolean;
242
+ square: boolean;
243
243
  loading: boolean;
244
244
  collapsed: boolean;
245
245
  tooltip: boolean | Record<string, any>;
@@ -51,8 +51,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
51
51
  required: false;
52
52
  };
53
53
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- "update:open": (...args: any[]) => void;
55
54
  move: (...args: any[]) => void;
55
+ "update:open": (...args: any[]) => void;
56
56
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
57
  as: {
58
58
  type: null;
@@ -104,8 +104,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
104
104
  required: false;
105
105
  };
106
106
  }>> & Readonly<{
107
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
108
107
  onMove?: ((...args: any[]) => any) | undefined;
108
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
109
109
  }>, {
110
110
  as: any;
111
111
  open: boolean;
@@ -51,8 +51,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
51
51
  required: false;
52
52
  };
53
53
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
- "update:open": (...args: any[]) => void;
55
54
  move: (...args: any[]) => void;
55
+ "update:open": (...args: any[]) => void;
56
56
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
57
57
  as: {
58
58
  type: null;
@@ -104,8 +104,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
104
104
  required: false;
105
105
  };
106
106
  }>> & Readonly<{
107
- "onUpdate:open"?: ((...args: any[]) => any) | undefined;
108
107
  onMove?: ((...args: any[]) => any) | undefined;
108
+ "onUpdate:open"?: ((...args: any[]) => any) | undefined;
109
109
  }>, {
110
110
  as: any;
111
111
  open: boolean;
@@ -17,8 +17,8 @@ type __VLS_Props = {
17
17
  };
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  icon: string;
20
- color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
21
20
  size: "xs" | "sm" | "md" | "lg" | "xl";
21
+ color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
22
22
  variant: "ghost" | "soft" | "outline" | "solid" | "subtle" | "link";
23
23
  tooltip: string | false;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,8 +17,8 @@ type __VLS_Props = {
17
17
  };
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  icon: string;
20
- color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
21
20
  size: "xs" | "sm" | "md" | "lg" | "xl";
21
+ color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
22
22
  variant: "ghost" | "soft" | "outline" | "solid" | "subtle" | "link";
23
23
  tooltip: string | false;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,8 +17,8 @@ type __VLS_Props = {
17
17
  };
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  icon: string;
20
- color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
21
20
  size: "xs" | "sm" | "md" | "lg" | "xl";
21
+ color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
22
22
  variant: "ghost" | "soft" | "outline" | "solid" | "subtle" | "link";
23
23
  tooltip: string | false;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,8 +17,8 @@ type __VLS_Props = {
17
17
  };
18
18
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
19
  icon: string;
20
- color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
21
20
  size: "xs" | "sm" | "md" | "lg" | "xl";
21
+ color: "neutral" | "primary" | "secondary" | "error" | "warning" | "success" | "info";
22
22
  variant: "ghost" | "soft" | "outline" | "solid" | "subtle" | "link";
23
23
  tooltip: string | false;
24
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- fieldType: 'text' | 'url' | 'date' | 'datetime' | 'daterange' | 'location';
2
+ fieldType: 'text' | 'url' | 'date' | 'datetime' | 'daterange' | 'location' | 'select' | 'icon';
3
3
  /** Chip label — shown while the field is empty, and as the popover title. */
4
4
  label?: string;
5
5
  /** Lucide icon override (defaults per field type). */
@@ -18,6 +18,8 @@ type __VLS_Props = {
18
18
  readonly?: boolean;
19
19
  /** daterange: offer an "Ongoing" action that clears endKey. */
20
20
  allowOpenEnd?: boolean;
21
+ /** select: the choices. Option management is the parent's concern. */
22
+ options?: string[];
21
23
  };
22
24
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
25
  patch: (patch: Record<string, unknown>) => any;
@@ -7,6 +7,7 @@ import {
7
7
  parseDate
8
8
  } from "@internationalized/date";
9
9
  import ALocationPickerPopover from "./ALocationPickerPopover.vue";
10
+ import AIconPickerPopover from "./AIconPickerPopover.vue";
10
11
  const props = defineProps({
11
12
  fieldType: { type: String, required: true },
12
13
  label: { type: String, required: false, default: "" },
@@ -18,7 +19,8 @@ const props = defineProps({
18
19
  latKey: { type: String, required: false, default: "" },
19
20
  lngKey: { type: String, required: false, default: "" },
20
21
  readonly: { type: Boolean, required: false },
21
- allowOpenEnd: { type: Boolean, required: false }
22
+ allowOpenEnd: { type: Boolean, required: false },
23
+ options: { type: Array, required: false }
22
24
  });
23
25
  const emit = defineEmits(["patch"]);
24
26
  const df = new DateFormatter("en-US", { dateStyle: "medium" });
@@ -29,9 +31,17 @@ const DEFAULT_ICONS = {
29
31
  date: "i-lucide-calendar",
30
32
  datetime: "i-lucide-calendar-clock",
31
33
  daterange: "i-lucide-calendar-range",
32
- location: "i-lucide-map-pin"
34
+ location: "i-lucide-map-pin",
35
+ select: "i-lucide-list",
36
+ icon: "i-lucide-smile"
33
37
  };
34
- const chipIcon = computed(() => props.icon || DEFAULT_ICONS[props.fieldType] || "i-lucide-tag");
38
+ const chipIcon = computed(() => {
39
+ if (props.fieldType === "icon") {
40
+ const v = getStr(props.metaKey);
41
+ if (v) return `i-lucide-${v}`;
42
+ }
43
+ return props.icon || DEFAULT_ICONS[props.fieldType] || "i-lucide-tag";
44
+ });
35
45
  function getStr(key) {
36
46
  const v = props.meta?.[key];
37
47
  return typeof v === "string" ? v : v != null ? String(v) : "";
@@ -111,6 +121,10 @@ const displayText = computed(() => {
111
121
  if (lat === void 0 || lng === void 0) return "";
112
122
  return `${lat.toFixed(4)}, ${lng.toFixed(4)}`;
113
123
  }
124
+ case "select":
125
+ return getStr(props.metaKey);
126
+ case "icon":
127
+ return getStr(props.metaKey);
114
128
  default:
115
129
  return "";
116
130
  }
@@ -176,6 +190,13 @@ function clearField() {
176
190
  function onLatLng(key, v) {
177
191
  patch({ [key]: v != null ? Number(v) : void 0 });
178
192
  }
193
+ function onSelectOption(opt) {
194
+ patch({ [props.metaKey]: opt });
195
+ popoverOpen.value = false;
196
+ }
197
+ function onIconPick(name) {
198
+ patch({ [props.metaKey]: name });
199
+ }
179
200
  </script>
180
201
 
181
202
  <template>
@@ -211,6 +232,40 @@ function onLatLng(key, v) {
211
232
  </UButton>
212
233
  </ALocationPickerPopover>
213
234
 
235
+ <!-- icon delegates to the shared lucide icon picker -->
236
+ <template v-else-if="fieldType === 'icon' && !readonly">
237
+ <AIconPickerPopover
238
+ :model-value="getStr(metaKey)"
239
+ :open="popoverOpen"
240
+ :options="options?.length ? options : void 0"
241
+ @update:model-value="onIconPick"
242
+ @update:open="popoverOpen = $event"
243
+ >
244
+ <UButton
245
+ size="sm"
246
+ color="neutral"
247
+ variant="ghost"
248
+ :icon="chipIcon"
249
+ :class="CHIP_CLASS"
250
+ >
251
+ <span
252
+ v-if="isEmpty"
253
+ class="max-w-44 truncate text-(--ui-text-muted)"
254
+ >{{ label || "icon" }}</span>
255
+ </UButton>
256
+ </AIconPickerPopover>
257
+ <UButton
258
+ v-if="!isEmpty"
259
+ size="xs"
260
+ color="neutral"
261
+ variant="ghost"
262
+ icon="i-lucide-x"
263
+ aria-label="Clear icon"
264
+ class="ml-0.5 size-5 p-0"
265
+ @click="clearField"
266
+ />
267
+ </template>
268
+
214
269
  <UPopover
215
270
  v-else-if="!readonly"
216
271
  :open="popoverOpen"
@@ -283,6 +338,47 @@ function onLatLng(key, v) {
283
338
  </div>
284
339
  </div>
285
340
 
341
+ <!-- select — picks from parent-provided options -->
342
+ <div
343
+ v-else-if="fieldType === 'select'"
344
+ class="py-1 w-52"
345
+ >
346
+ <p
347
+ v-if="label"
348
+ class="text-xs font-medium text-(--ui-text-muted) px-3 pt-1.5 pb-1"
349
+ >
350
+ {{ label }}
351
+ </p>
352
+ <div
353
+ v-for="opt in options ?? []"
354
+ :key="opt"
355
+ class="flex items-center gap-2 px-3 py-1.5 hover:bg-(--ui-bg-elevated) cursor-pointer"
356
+ @click="onSelectOption(opt)"
357
+ >
358
+ <UIcon
359
+ v-if="getStr(metaKey) === opt"
360
+ name="i-lucide-check"
361
+ class="size-3.5 shrink-0"
362
+ />
363
+ <span
364
+ v-else
365
+ class="size-3.5 shrink-0"
366
+ />
367
+ <span class="text-sm">{{ opt }}</span>
368
+ </div>
369
+ <USeparator class="my-1" />
370
+ <div class="flex justify-end px-2 pb-1">
371
+ <UButton
372
+ size="xs"
373
+ color="neutral"
374
+ variant="ghost"
375
+ @click="clearField"
376
+ >
377
+ Clear
378
+ </UButton>
379
+ </div>
380
+ </div>
381
+
286
382
  <!-- single date -->
287
383
  <div
288
384
  v-else-if="fieldType === 'date'"
@@ -1,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- fieldType: 'text' | 'url' | 'date' | 'datetime' | 'daterange' | 'location';
2
+ fieldType: 'text' | 'url' | 'date' | 'datetime' | 'daterange' | 'location' | 'select' | 'icon';
3
3
  /** Chip label — shown while the field is empty, and as the popover title. */
4
4
  label?: string;
5
5
  /** Lucide icon override (defaults per field type). */
@@ -18,6 +18,8 @@ type __VLS_Props = {
18
18
  readonly?: boolean;
19
19
  /** daterange: offer an "Ongoing" action that clears endKey. */
20
20
  allowOpenEnd?: boolean;
21
+ /** select: the choices. Option management is the parent's concern. */
22
+ options?: string[];
21
23
  };
22
24
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
25
  patch: (patch: Record<string, unknown>) => any;
@@ -24,11 +24,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
24
24
  "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
25
25
  }>, {
26
26
  unit: string;
27
+ disabled: boolean;
27
28
  modelValue: number | null;
28
29
  min: number;
29
30
  max: number;
30
31
  step: number;
31
- disabled: boolean;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
34
  declare const _default: typeof __VLS_export;
@@ -24,11 +24,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
24
24
  "onUpdate:modelValue"?: ((value: number | undefined) => any) | undefined;
25
25
  }>, {
26
26
  unit: string;
27
+ disabled: boolean;
27
28
  modelValue: number | null;
28
29
  min: number;
29
30
  max: number;
30
31
  step: number;
31
- disabled: boolean;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
34
34
  declare const _default: typeof __VLS_export;
@@ -6,12 +6,12 @@ type __VLS_Props = {
6
6
  };
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
8
  cancel: () => any;
9
- "update:modelValue": (open: boolean) => any;
10
9
  confirm: (detail: CatalogVersionDetail) => any;
10
+ "update:modelValue": (open: boolean) => any;
11
11
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  onCancel?: (() => any) | undefined;
13
- "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
14
13
  onConfirm?: ((detail: CatalogVersionDetail) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  export default _default;
@@ -6,12 +6,12 @@ type __VLS_Props = {
6
6
  };
7
7
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
8
  cancel: () => any;
9
- "update:modelValue": (open: boolean) => any;
10
9
  confirm: (detail: CatalogVersionDetail) => any;
10
+ "update:modelValue": (open: boolean) => any;
11
11
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
12
  onCancel?: (() => any) | undefined;
13
- "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
14
13
  onConfirm?: ((detail: CatalogVersionDetail) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((open: boolean) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  export default _default;
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
14
14
  publicKey: any;
15
15
  }[]>;
16
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
- editable: boolean;
18
17
  followingUser: string | null;
18
+ editable: boolean;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  export default _default;
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
14
14
  publicKey: any;
15
15
  }[]>;
16
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
- editable: boolean;
18
17
  followingUser: string | null;
18
+ editable: boolean;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  export default _default;
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  onFollow?: ((publicKey: string | null) => any) | undefined;
20
20
  }>, {
21
- editable: boolean;
22
21
  followingUser: string | null;
22
+ editable: boolean;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  export default _default;
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  onFollow?: ((publicKey: string | null) => any) | undefined;
20
20
  }>, {
21
- editable: boolean;
22
21
  followingUser: string | null;
22
+ editable: boolean;
23
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  export default _default;