@robot-admin/naive-ui-components 0.41.0 → 0.41.2

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 (293) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +44 -5
  3. package/README_EN.md +44 -5
  4. package/dist/C_ActionBar.css +54 -54
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_AntV.css +10 -10
  8. package/dist/C_AntV2.cjs +1 -1
  9. package/dist/C_AntV2.js +1 -1
  10. package/dist/C_AudioPlayer.css +53 -53
  11. package/dist/C_AudioPlayer2.cjs +1 -1
  12. package/dist/C_AudioPlayer2.js +1 -1
  13. package/dist/C_AutoComplete.css +2 -2
  14. package/dist/C_AutoComplete2.cjs +1 -1
  15. package/dist/C_AutoComplete2.js +1 -1
  16. package/dist/C_AvatarGroup.css +29 -29
  17. package/dist/C_AvatarGroup2.cjs +1 -1
  18. package/dist/C_AvatarGroup2.js +1 -1
  19. package/dist/C_BatchResult.css +10 -10
  20. package/dist/C_BatchResult2.cjs +1 -1
  21. package/dist/C_BatchResult2.js +1 -1
  22. package/dist/C_Breadcrumb.css +40 -40
  23. package/dist/C_Breadcrumb2.cjs +1 -1
  24. package/dist/C_Breadcrumb2.js +1 -1
  25. package/dist/C_Captcha.d.cts +2 -2
  26. package/dist/C_Captcha.d.ts +2 -2
  27. package/dist/C_Captcha2.cjs +1 -1
  28. package/dist/C_Captcha2.js +1 -1
  29. package/dist/C_Cascade.css +4 -4
  30. package/dist/C_Cascade2.cjs +1 -1
  31. package/dist/C_Cascade2.js +1 -1
  32. package/dist/C_Chat2.cjs +1 -1
  33. package/dist/C_Chat2.js +1 -1
  34. package/dist/C_City.css +35 -35
  35. package/dist/C_City2.cjs +1 -1
  36. package/dist/C_City2.js +1 -1
  37. package/dist/C_Code.css +27 -27
  38. package/dist/C_Code2.cjs +1 -1
  39. package/dist/C_Code2.js +2 -2
  40. package/dist/C_CollapsePanel2.cjs +1 -1
  41. package/dist/C_CollapsePanel2.js +1 -1
  42. package/dist/C_ContextMenu.css +3 -3
  43. package/dist/C_ContextMenu2.cjs +1 -1
  44. package/dist/C_ContextMenu2.js +1 -1
  45. package/dist/C_Cron.css +18 -18
  46. package/dist/C_Cron2.cjs +1 -1
  47. package/dist/C_Cron2.js +1 -1
  48. package/dist/C_DataPicker.css +52 -52
  49. package/dist/C_DataPicker2.cjs +1 -1
  50. package/dist/C_DataPicker2.js +1 -1
  51. package/dist/C_Date.css +5 -5
  52. package/dist/C_Date2.cjs +1 -1
  53. package/dist/C_Date2.js +1 -1
  54. package/dist/C_Draggable.css +53 -53
  55. package/dist/C_Draggable2.cjs +1 -1
  56. package/dist/C_Draggable2.js +1 -1
  57. package/dist/C_Editor.css +13 -13
  58. package/dist/C_Editor.d.cts +2 -2
  59. package/dist/C_Editor.d.ts +2 -2
  60. package/dist/C_Editor2.cjs +1 -1
  61. package/dist/C_Editor2.js +1 -1
  62. package/dist/C_FilePreview.css +49 -49
  63. package/dist/C_FilePreview2.cjs +1 -1
  64. package/dist/C_FilePreview2.js +1 -1
  65. package/dist/C_Form.base.css +241 -241
  66. package/dist/C_Form.css +241 -241
  67. package/dist/C_Form.d.cts +1 -1
  68. package/dist/C_Form.d.ts +1 -1
  69. package/dist/C_FormModal.css +55 -55
  70. package/dist/C_FormModal2.cjs +1 -1
  71. package/dist/C_FormModal2.js +1 -1
  72. package/dist/C_FormSearch.css +74 -74
  73. package/dist/C_FormSearch.d.ts +1 -1
  74. package/dist/C_FormulaEditor.cjs +1 -1
  75. package/dist/C_FormulaEditor.css +41 -41
  76. package/dist/C_FormulaEditor.d.cts +2 -2
  77. package/dist/C_FormulaEditor.d.ts +2 -2
  78. package/dist/C_FormulaEditor.js +1 -1
  79. package/dist/C_GlobalSearch2.cjs +1 -1
  80. package/dist/C_GlobalSearch2.js +1 -1
  81. package/dist/C_Guide.css +13 -13
  82. package/dist/C_Guide2.cjs +1 -1
  83. package/dist/C_Guide2.js +1 -1
  84. package/dist/C_ImageCropper.css +27 -27
  85. package/dist/C_ImageCropper2.cjs +1 -1
  86. package/dist/C_ImageCropper2.js +1 -1
  87. package/dist/C_ImportWizard.css +8 -8
  88. package/dist/C_ImportWizard2.cjs +1 -1
  89. package/dist/C_ImportWizard2.js +1 -1
  90. package/dist/C_Loading.css +18 -18
  91. package/dist/C_Loading2.cjs +1 -1
  92. package/dist/C_Loading2.js +1 -1
  93. package/dist/C_Login.css +94 -94
  94. package/dist/C_Login2.cjs +1 -1
  95. package/dist/C_Login2.js +1 -1
  96. package/dist/C_Markdown.css +37 -37
  97. package/dist/C_Markdown2.cjs +1 -1
  98. package/dist/C_Markdown2.js +1 -1
  99. package/dist/C_NotificationCenter.css +24 -24
  100. package/dist/C_NotificationCenter2.cjs +1 -1
  101. package/dist/C_NotificationCenter2.js +1 -1
  102. package/dist/C_OrgChart.d.cts +2 -8
  103. package/dist/C_OrgChart.d.ts +2 -8
  104. package/dist/C_QRCode.css +9 -9
  105. package/dist/C_QRCode2.cjs +1 -1
  106. package/dist/C_QRCode2.js +1 -1
  107. package/dist/C_RecurrenceEditor.cjs +1 -1
  108. package/dist/C_RecurrenceEditor.d.cts +2 -2
  109. package/dist/C_RecurrenceEditor.d.ts +2 -2
  110. package/dist/C_RecurrenceEditor.js +1 -1
  111. package/dist/C_RecurrenceEditor2.cjs +1 -1
  112. package/dist/C_RecurrenceEditor2.js +1 -1
  113. package/dist/C_ScanInput2.cjs +1 -1
  114. package/dist/C_ScanInput2.js +1 -1
  115. package/dist/C_SectionNav.css +8 -8
  116. package/dist/C_SectionNav2.cjs +1 -1
  117. package/dist/C_SectionNav2.js +1 -1
  118. package/dist/C_Signature.css +15 -15
  119. package/dist/C_Signature2.cjs +1 -1
  120. package/dist/C_Signature2.js +1 -1
  121. package/dist/C_Table.base.css +428 -428
  122. package/dist/C_Table.css +187 -187
  123. package/dist/C_Table.d.cts +1 -1
  124. package/dist/C_Table.d.ts +1 -1
  125. package/dist/C_Table2.cjs +4 -4
  126. package/dist/C_Table2.js +4 -4
  127. package/dist/C_Timeline.css +50 -50
  128. package/dist/C_Timeline2.cjs +1 -1
  129. package/dist/C_Timeline2.js +1 -1
  130. package/dist/C_Tree.css +30 -30
  131. package/dist/C_Tree2.cjs +1 -1
  132. package/dist/C_Tree2.js +1 -1
  133. package/dist/C_Upload.css +5 -5
  134. package/dist/C_Upload2.cjs +1 -1
  135. package/dist/C_Upload2.js +1 -1
  136. package/dist/C_UserPicker.css +1 -1
  137. package/dist/C_VideoPlayer2.cjs +1 -1
  138. package/dist/C_VideoPlayer2.js +1 -1
  139. package/dist/C_VtableGantt.css +34 -34
  140. package/dist/C_WorkFlow.css +93 -93
  141. package/dist/C_WorkFlow2.cjs +1 -1
  142. package/dist/C_WorkFlow2.js +1 -1
  143. package/dist/Card.cjs +1 -1
  144. package/dist/Card.js +1 -1
  145. package/dist/ColumnSettingsDrawer.cjs +1 -0
  146. package/dist/ColumnSettingsDrawer.js +1 -0
  147. package/dist/Custom.cjs +1 -1
  148. package/dist/Custom.js +1 -1
  149. package/dist/Dynamic.cjs +1 -1
  150. package/dist/Dynamic.js +1 -1
  151. package/dist/Steps.cjs +1 -1
  152. package/dist/Steps.js +1 -1
  153. package/dist/Tabs.cjs +1 -1
  154. package/dist/Tabs.js +1 -1
  155. package/dist/component-config.d.ts +1 -1
  156. package/dist/config.d.cts +1 -1
  157. package/dist/config.d.ts +1 -1
  158. package/dist/constants.d.cts +3 -3
  159. package/dist/constants.d.ts +3 -3
  160. package/dist/constants2.d.cts +8 -1
  161. package/dist/constants2.d.ts +8 -1
  162. package/dist/constants3.d.cts +7 -7
  163. package/dist/constants3.d.ts +7 -7
  164. package/dist/constants4.d.cts +5 -5
  165. package/dist/constants4.d.ts +5 -5
  166. package/dist/constants5.d.cts +2 -2
  167. package/dist/constants5.d.ts +2 -2
  168. package/dist/context.d.cts +1 -1
  169. package/dist/data2.d.cts +6 -6
  170. package/dist/data2.d.ts +6 -6
  171. package/dist/editors.d.cts +14 -12
  172. package/dist/editors.d.ts +14 -12
  173. package/dist/fieldNode.cjs +1 -0
  174. package/dist/fieldNode.js +1 -0
  175. package/dist/fieldRenderers.cjs +1 -1
  176. package/dist/fieldRenderers.js +1 -1
  177. package/dist/graphics.cjs +1 -1
  178. package/dist/graphics.js +1 -1
  179. package/dist/index.cjs +1 -1
  180. package/dist/index.d.cts +6 -6
  181. package/dist/index.d.ts +6 -6
  182. package/dist/index.js +1 -1
  183. package/dist/index11.vue.d.ts +1 -1
  184. package/dist/index12.vue.d.cts +1 -1
  185. package/dist/index13.vue.d.ts +3 -3
  186. package/dist/index14.vue.d.cts +3 -3
  187. package/dist/index14.vue.d.ts +1 -1
  188. package/dist/index15.vue.d.cts +1 -1
  189. package/dist/index17.vue.d.ts +18 -11
  190. package/dist/index18.vue.d.cts +18 -11
  191. package/dist/index19.vue.d.ts +1 -1
  192. package/dist/index20.vue.d.cts +1 -1
  193. package/dist/index20.vue.d.ts +3 -3
  194. package/dist/index21.vue.d.cts +3 -3
  195. package/dist/index21.vue.d.ts +7 -7
  196. package/dist/index22.vue.d.cts +7 -7
  197. package/dist/index26.vue.d.ts +1 -1
  198. package/dist/index27.vue.d.cts +1 -1
  199. package/dist/index27.vue.d.ts +3 -3
  200. package/dist/index28.vue.d.cts +3 -3
  201. package/dist/index29.vue.d.cts +2 -2
  202. package/dist/index29.vue.d.ts +2 -2
  203. package/dist/index3.vue.d.cts +14 -16
  204. package/dist/index3.vue.d.ts +14 -16
  205. package/dist/index33.vue.d.cts +2 -2
  206. package/dist/index33.vue.d.ts +2 -2
  207. package/dist/index34.vue.d.cts +2 -0
  208. package/dist/index34.vue.d.ts +2 -0
  209. package/dist/index35.vue.d.cts +4 -4
  210. package/dist/index35.vue.d.ts +4 -4
  211. package/dist/index36.vue.d.cts +20 -11
  212. package/dist/index36.vue.d.ts +20 -11
  213. package/dist/index39.vue.d.cts +1 -1
  214. package/dist/index39.vue.d.ts +1 -1
  215. package/dist/index4.vue.d.cts +7 -4
  216. package/dist/index4.vue.d.ts +7 -4
  217. package/dist/index41.vue.d.cts +1 -1
  218. package/dist/index41.vue.d.ts +1 -1
  219. package/dist/index42.vue.d.cts +2 -2
  220. package/dist/index42.vue.d.ts +2 -2
  221. package/dist/index45.vue.d.cts +2 -2
  222. package/dist/index45.vue.d.ts +2 -2
  223. package/dist/index5.vue.d.cts +5 -17
  224. package/dist/index5.vue.d.ts +5 -17
  225. package/dist/index6.vue.d.cts +2 -2
  226. package/dist/index6.vue.d.ts +2 -2
  227. package/dist/index7.vue.d.cts +18 -12
  228. package/dist/index7.vue.d.ts +18 -12
  229. package/dist/localSource.d.cts +8 -8
  230. package/dist/localSource.d.ts +8 -8
  231. package/dist/locale.cjs +1 -1
  232. package/dist/locale.js +1 -1
  233. package/dist/mapUtils.d.cts +2 -2
  234. package/dist/mapUtils.d.ts +2 -2
  235. package/dist/persistence.cjs +1 -0
  236. package/dist/persistence.js +1 -0
  237. package/dist/presets.d.cts +1 -1
  238. package/dist/presets.d.ts +1 -1
  239. package/dist/rule.d.cts +4 -1
  240. package/dist/rule.d.ts +4 -1
  241. package/dist/serializeSearch.cjs +1 -1
  242. package/dist/serializeSearch.js +1 -1
  243. package/dist/source.cjs +1 -1
  244. package/dist/source.js +1 -1
  245. package/dist/style.css +1334 -1334
  246. package/dist/types.d.cts +1 -1
  247. package/dist/types.d.ts +1 -1
  248. package/dist/types10.d.cts +2 -0
  249. package/dist/types10.d.ts +1 -1
  250. package/dist/types11.d.cts +1 -1
  251. package/dist/types3.d.cts +14 -5
  252. package/dist/types3.d.ts +14 -5
  253. package/dist/types5.d.ts +12 -10
  254. package/dist/types6.d.cts +12 -10
  255. package/dist/types6.d.ts +1 -1
  256. package/dist/types9.d.ts +2 -0
  257. package/dist/useCalendarEvents.d.cts +4 -16
  258. package/dist/useCalendarEvents.d.ts +4 -16
  259. package/dist/useCollapsePanel.d.cts +8 -7
  260. package/dist/useCollapsePanel.d.ts +8 -7
  261. package/dist/useCropperCore.d.cts +9 -20
  262. package/dist/useCropperCore.d.ts +9 -20
  263. package/dist/useDynamicFormState.d.cts +1 -1
  264. package/dist/useDynamicFormState.d.ts +1 -1
  265. package/dist/useEdgeInteraction.d.cts +2 -11
  266. package/dist/useEdgeInteraction.d.ts +2 -11
  267. package/dist/useFormRenderer.d.cts +1 -1
  268. package/dist/useFormRenderer.d.ts +1 -1
  269. package/dist/useFormulaEvaluator.cjs +2 -2
  270. package/dist/useFormulaEvaluator.js +2 -2
  271. package/dist/useFullscreen.d.cts +23 -5
  272. package/dist/useFullscreen.d.ts +23 -5
  273. package/dist/useInfiniteScroll.d.cts +2 -2
  274. package/dist/useInfiniteScroll.d.ts +2 -2
  275. package/dist/useQRCode.d.cts +5 -18
  276. package/dist/useQRCode.d.ts +5 -18
  277. package/dist/useSignatureHistory.d.cts +2 -2
  278. package/dist/useSignatureHistory.d.ts +2 -2
  279. package/dist/useSplitResize.d.cts +3 -3
  280. package/dist/useSplitResize.d.ts +3 -3
  281. package/dist/useTimeSelection.d.cts +4 -3
  282. package/dist/useTimeSelection.d.ts +4 -3
  283. package/dist/useWorkflowValidation.d.cts +113 -107
  284. package/dist/useWorkflowValidation.d.ts +113 -107
  285. package/dist/verification.d.cts +6 -6
  286. package/dist/verification.d.ts +6 -6
  287. package/docs/engineering.en.md +1 -0
  288. package/docs/engineering.md +1 -0
  289. package/docs/guides/batch-results.md +3 -3
  290. package/docs/guides/data-picker.md +2 -0
  291. package/docs/guides/runtime-performance.md +2 -0
  292. package/docs/guides/scene-components.md +1 -1
  293. package/package.json +1 -1
@@ -11,9 +11,8 @@ interface EditorProps {
11
11
  height?: number;
12
12
  theme?: 'light' | 'dark';
13
13
  }
14
- //#endregion
15
- //#region src/components/C_Editor/index.vue.d.ts
16
- interface EditorInstance {
14
+ /** editor-mounted 提供的编辑器能力,可作为业务回调参数。 */
15
+ interface RichTextEditorInstance {
17
16
  getHtml(): string;
18
17
  setHtml(html: string): void;
19
18
  disable(): void;
@@ -21,6 +20,14 @@ interface EditorInstance {
21
20
  destroy(): void;
22
21
  isDestroyed: boolean;
23
22
  }
23
+ interface EditorEmits {
24
+ 'update:modelValue': [value: string];
25
+ 'editor-mounted': [editor: RichTextEditorInstance];
26
+ 'editor-change': [html: string];
27
+ error: [error: Error];
28
+ }
29
+ //#endregion
30
+ //#region src/components/C_Editor/index.vue.d.ts
24
31
  declare const __VLS_export: vue.DefineComponent<EditorProps, {
25
32
  initializeEditor: () => void;
26
33
  destroyEditor: () => void;
@@ -44,23 +51,23 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
44
51
  readonly isDestroyed: boolean;
45
52
  } | null>>;
46
53
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
47
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
48
- "update:modelValue": (value: string) => any;
54
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
49
55
  error: (error: Error) => any;
50
- "editor-mounted": (editor: EditorInstance) => any;
56
+ "update:modelValue": (value: string) => any;
57
+ "editor-mounted": (editor: RichTextEditorInstance) => any;
51
58
  "editor-change": (html: string) => any;
52
59
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
53
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
60
  onError?: ((error: Error) => any) | undefined;
55
- "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
61
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
62
+ "onEditor-mounted"?: ((editor: RichTextEditorInstance) => any) | undefined;
56
63
  "onEditor-change"?: ((html: string) => any) | undefined;
57
64
  }>, {
58
- placeholder: string;
59
- modelValue: string;
60
65
  disabled: boolean;
66
+ modelValue: string;
61
67
  readonly: boolean;
68
+ placeholder: string;
62
69
  height: number;
63
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
71
  declare const _default: typeof __VLS_export;
65
72
  //#endregion
66
- export { EditorProps as n, _default as t };
73
+ export { RichTextEditorInstance as i, EditorEmits as n, EditorProps as r, _default as t };
@@ -11,9 +11,8 @@ interface EditorProps {
11
11
  height?: number;
12
12
  theme?: 'light' | 'dark';
13
13
  }
14
- //#endregion
15
- //#region src/components/C_Editor/index.vue.d.ts
16
- interface EditorInstance {
14
+ /** editor-mounted 提供的编辑器能力,可作为业务回调参数。 */
15
+ interface RichTextEditorInstance {
17
16
  getHtml(): string;
18
17
  setHtml(html: string): void;
19
18
  disable(): void;
@@ -21,6 +20,14 @@ interface EditorInstance {
21
20
  destroy(): void;
22
21
  isDestroyed: boolean;
23
22
  }
23
+ interface EditorEmits {
24
+ 'update:modelValue': [value: string];
25
+ 'editor-mounted': [editor: RichTextEditorInstance];
26
+ 'editor-change': [html: string];
27
+ error: [error: Error];
28
+ }
29
+ //#endregion
30
+ //#region src/components/C_Editor/index.vue.d.ts
24
31
  declare const __VLS_export: vue.DefineComponent<EditorProps, {
25
32
  initializeEditor: () => void;
26
33
  destroyEditor: () => void;
@@ -44,23 +51,23 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
44
51
  readonly isDestroyed: boolean;
45
52
  } | null>>;
46
53
  isInitialized: Readonly<vue.Ref<boolean, boolean>>;
47
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
48
- "update:modelValue": (value: string) => any;
54
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
49
55
  error: (error: Error) => any;
50
- "editor-mounted": (editor: EditorInstance) => any;
56
+ "update:modelValue": (value: string) => any;
57
+ "editor-mounted": (editor: RichTextEditorInstance) => any;
51
58
  "editor-change": (html: string) => any;
52
59
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
53
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
54
60
  onError?: ((error: Error) => any) | undefined;
55
- "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
61
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
62
+ "onEditor-mounted"?: ((editor: RichTextEditorInstance) => any) | undefined;
56
63
  "onEditor-change"?: ((html: string) => any) | undefined;
57
64
  }>, {
58
- placeholder: string;
59
- modelValue: string;
60
65
  disabled: boolean;
66
+ modelValue: string;
61
67
  readonly: boolean;
68
+ placeholder: string;
62
69
  height: number;
63
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
64
71
  declare const _default: typeof __VLS_export;
65
72
  //#endregion
66
- export { EditorProps as n, _default as t };
73
+ export { RichTextEditorInstance as i, EditorEmits as n, EditorProps as r, _default as t };
@@ -1,4 +1,4 @@
1
- import { $t as FormOption, At as FormConfig, en as FormRecord, pn as SubmitEventPayload } from "./component-config.js";
1
+ import { en as FormOption, jt as FormConfig, mn as SubmitEventPayload, tn as FormRecord } from "./component-config.js";
2
2
  import { r as FormRenderer } from "./useFormRenderer.js";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -1,4 +1,4 @@
1
- import { Ot as FormConfig, Qt as FormRecord, Zt as FormOption, dn as SubmitEventPayload } from "./context.cjs";
1
+ import { $t as FormRecord, Qt as FormOption, fn as SubmitEventPayload, kt as FormConfig } from "./context.cjs";
2
2
  import { r as FormRenderer } from "./useFormRenderer.cjs";
3
3
  import * as vue from "vue";
4
4
  import { ComputedRef, Ref } from "vue";
@@ -109,22 +109,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
109
109
  resetCompleted: () => void;
110
110
  isCompleted: () => boolean;
111
111
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
112
- start: () => any;
113
112
  error: (error: unknown) => any;
114
113
  close: (currentStep: number) => any;
114
+ start: () => any;
115
115
  complete: () => any;
116
116
  skip: (currentStep: number) => any;
117
117
  "step-change": (stepIndex: number, step: GuideStep) => any;
118
118
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
119
- onStart?: (() => any) | undefined;
120
119
  onError?: ((error: unknown) => any) | undefined;
121
120
  onClose?: ((currentStep: number) => any) | undefined;
121
+ onStart?: (() => any) | undefined;
122
122
  onComplete?: (() => any) | undefined;
123
123
  onSkip?: ((currentStep: number) => any) | undefined;
124
124
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
125
125
  }>, {
126
- keyboard: boolean;
127
126
  showTrigger: boolean;
127
+ keyboard: boolean;
128
128
  steps: GuideStep[];
129
129
  showSkipButton: boolean;
130
130
  showProgress: boolean;
@@ -109,22 +109,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
109
109
  resetCompleted: () => void;
110
110
  isCompleted: () => boolean;
111
111
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
112
- start: () => any;
113
112
  error: (error: unknown) => any;
114
113
  close: (currentStep: number) => any;
114
+ start: () => any;
115
115
  complete: () => any;
116
116
  skip: (currentStep: number) => any;
117
117
  "step-change": (stepIndex: number, step: GuideStep) => any;
118
118
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
119
- onStart?: (() => any) | undefined;
120
119
  onError?: ((error: unknown) => any) | undefined;
121
120
  onClose?: ((currentStep: number) => any) | undefined;
121
+ onStart?: (() => any) | undefined;
122
122
  onComplete?: (() => any) | undefined;
123
123
  onSkip?: ((currentStep: number) => any) | undefined;
124
124
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
125
125
  }>, {
126
- keyboard: boolean;
127
126
  showTrigger: boolean;
127
+ keyboard: boolean;
128
128
  steps: GuideStep[];
129
129
  showSkipButton: boolean;
130
130
  showProgress: boolean;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
42
  size: number | string;
43
43
  title: string;
44
- color: string;
45
44
  flip: "horizontal" | "vertical" | "both";
46
45
  loading: boolean;
47
- clickable: boolean;
46
+ color: string;
48
47
  viewBox: string;
49
- svgPath: string;
48
+ ariaLabel: string;
49
+ clickable: boolean;
50
50
  alt: string;
51
+ rotate: number;
52
+ svgPath: string;
51
53
  fallbackIcon: string;
52
54
  loadTimeout: number;
53
- ariaLabel: string;
54
55
  customClass: string;
55
- rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
30
30
  errorMessage: Readonly<vue.Ref<string, string>>;
31
31
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
32
32
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
33
- click: (event: MouseEvent | KeyboardEvent) => any;
34
33
  error: (type: string, error?: unknown) => any;
34
+ click: (event: MouseEvent | KeyboardEvent) => any;
35
35
  load: () => any;
36
36
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
37
- onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
38
37
  onError?: ((type: string, error?: unknown) => any) | undefined;
38
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
39
39
  onLoad?: (() => any) | undefined;
40
40
  }>, {
41
41
  type: "iconify" | "unocss" | "component" | "svg" | "image";
42
42
  size: number | string;
43
43
  title: string;
44
- color: string;
45
44
  flip: "horizontal" | "vertical" | "both";
46
45
  loading: boolean;
47
- clickable: boolean;
46
+ color: string;
48
47
  viewBox: string;
49
- svgPath: string;
48
+ ariaLabel: string;
49
+ clickable: boolean;
50
50
  alt: string;
51
+ rotate: number;
52
+ svgPath: string;
51
53
  fallbackIcon: string;
52
54
  loadTimeout: number;
53
- ariaLabel: string;
54
55
  customClass: string;
55
- rotate: number;
56
56
  componentProps: Record<string, unknown>;
57
57
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
58
58
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { l as CaptchaProvider, p as CaptchaVerifier, s as CaptchaProof, u as CaptchaSuccessPayload } from "./verification.js";
1
+ import { d as CaptchaProvider, f as CaptchaSuccessPayload, h as CaptchaVerifier, l as CaptchaProof } from "./verification.js";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/C_Login/types.d.ts
@@ -1,4 +1,4 @@
1
- import { l as CaptchaProvider, p as CaptchaVerifier, s as CaptchaProof, u as CaptchaSuccessPayload } from "./verification.cjs";
1
+ import { d as CaptchaProvider, f as CaptchaSuccessPayload, h as CaptchaVerifier, l as CaptchaProof } from "./verification.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/C_Login/types.d.ts
@@ -63,12 +63,12 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
63
63
  "onAuto-save"?: ((text: string) => any) | undefined;
64
64
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
65
65
  }>, {
66
- placeholder: string;
67
- modelValue: string;
68
66
  disabled: boolean;
67
+ modelValue: string;
68
+ placeholder: string;
69
+ autofocus: boolean;
69
70
  height: string | number;
70
71
  mode: "edit" | "editable" | "preview";
71
- autofocus: boolean;
72
72
  tocNavPosition: "left" | "right";
73
73
  defaultFullscreen: boolean;
74
74
  includeLevel: number[];
@@ -63,12 +63,12 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
63
63
  "onAuto-save"?: ((text: string) => any) | undefined;
64
64
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
65
65
  }>, {
66
- placeholder: string;
67
- modelValue: string;
68
66
  disabled: boolean;
67
+ modelValue: string;
68
+ placeholder: string;
69
+ autofocus: boolean;
69
70
  height: string | number;
70
71
  mode: "edit" | "editable" | "preview";
71
- autofocus: boolean;
72
72
  tocNavPosition: "left" | "right";
73
73
  defaultFullscreen: boolean;
74
74
  includeLevel: number[];
@@ -46,8 +46,8 @@ interface NotificationInboxEmits<T extends NotificationMessage = NotificationMes
46
46
  declare const __VLS_export: <T extends NotificationMessage, V extends string, A extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
47
47
  props: vue.PublicProps & __VLS_PrettifyLocal<NotificationInboxProps<T, V, A> & {
48
48
  onSelect?: ((item: T) => any) | undefined;
49
- onRetry?: (() => any) | undefined;
50
49
  onAction?: ((key: A, item: T) => any) | undefined;
50
+ onRetry?: (() => any) | undefined;
51
51
  "onUpdate:activeView"?: ((value: V) => any) | undefined;
52
52
  }> & (typeof globalThis extends {
53
53
  __VLS_PROPS_FALLBACK: infer P;
@@ -61,7 +61,7 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
61
61
  } & {
62
62
  footer?: (props: {}) => any;
63
63
  };
64
- emit: ((evt: "select", item: T) => void) & ((evt: "retry") => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "update:activeView", value: V) => void);
64
+ emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "retry") => void) & ((evt: "update:activeView", value: V) => void);
65
65
  }>) => vue.VNode & {
66
66
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
67
67
  };
@@ -46,8 +46,8 @@ interface NotificationInboxEmits<T extends NotificationMessage = NotificationMes
46
46
  declare const __VLS_export: <T extends NotificationMessage, V extends string, A extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
47
47
  props: vue.PublicProps & __VLS_PrettifyLocal<NotificationInboxProps<T, V, A> & {
48
48
  onSelect?: ((item: T) => any) | undefined;
49
- onRetry?: (() => any) | undefined;
50
49
  onAction?: ((key: A, item: T) => any) | undefined;
50
+ onRetry?: (() => any) | undefined;
51
51
  "onUpdate:activeView"?: ((value: V) => any) | undefined;
52
52
  }> & (typeof globalThis extends {
53
53
  __VLS_PROPS_FALLBACK: infer P;
@@ -61,7 +61,7 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
61
61
  } & {
62
62
  footer?: (props: {}) => any;
63
63
  };
64
- emit: ((evt: "select", item: T) => void) & ((evt: "retry") => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "update:activeView", value: V) => void);
64
+ emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "retry") => void) & ((evt: "update:activeView", value: V) => void);
65
65
  }>) => vue.VNode & {
66
66
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
67
67
  };
@@ -40,7 +40,14 @@ interface AudioPlayerProps {
40
40
  theme?: 'default' | 'minimal';
41
41
  }
42
42
  /** Default props */
43
- declare const DEFAULT_AUDIO_PLAYER_PROPS: Partial<AudioPlayerProps>;
43
+ declare const DEFAULT_AUDIO_PLAYER_PROPS: {
44
+ initialIndex: number;
45
+ showPlaylist: true;
46
+ showCover: true;
47
+ autoplay: false;
48
+ mode: "list";
49
+ theme: "default";
50
+ };
44
51
  /** Playback mode icon map */
45
52
  declare const MODE_ICON_MAP: Record<string, {
46
53
  icon: string;
@@ -50,34 +57,25 @@ declare const MODE_ICON_MAP: Record<string, {
50
57
  declare function formatTime(seconds: number): string;
51
58
  //#endregion
52
59
  //#region src/components/C_AudioPlayer/index.vue.d.ts
53
- type __VLS_Props = {
54
- tracks: AudioPlayerProps['tracks'];
55
- initialIndex?: number;
56
- showPlaylist?: boolean;
57
- showCover?: boolean;
58
- autoplay?: boolean;
59
- mode?: AudioPlayerProps['mode'];
60
- theme?: AudioPlayerProps['theme'];
61
- };
62
- declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
60
+ declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
61
  error: (error: unknown) => any;
64
62
  play: (index: number) => any;
65
63
  pause: () => any;
66
64
  ended: (index: number) => any;
67
- modeChange: (mode: string) => any;
68
- }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
65
+ modeChange: (mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any;
66
+ }, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
69
67
  onError?: ((error: unknown) => any) | undefined;
70
68
  onPlay?: ((index: number) => any) | undefined;
71
69
  onPause?: (() => any) | undefined;
72
70
  onEnded?: ((index: number) => any) | undefined;
73
- onModeChange?: ((mode: string) => any) | undefined;
71
+ onModeChange?: ((mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any) | undefined;
74
72
  }>, {
75
73
  theme: "default" | "minimal";
74
+ mode: "list" | "loop" | "single" | "shuffle";
75
+ autoplay: boolean;
76
76
  initialIndex: number;
77
77
  showPlaylist: boolean;
78
78
  showCover: boolean;
79
- autoplay: boolean;
80
- mode: "single" | "list" | "loop" | "shuffle";
81
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
80
  declare const _default: typeof __VLS_export;
83
81
  //#endregion
@@ -40,7 +40,14 @@ interface AudioPlayerProps {
40
40
  theme?: 'default' | 'minimal';
41
41
  }
42
42
  /** Default props */
43
- declare const DEFAULT_AUDIO_PLAYER_PROPS: Partial<AudioPlayerProps>;
43
+ declare const DEFAULT_AUDIO_PLAYER_PROPS: {
44
+ initialIndex: number;
45
+ showPlaylist: true;
46
+ showCover: true;
47
+ autoplay: false;
48
+ mode: "list";
49
+ theme: "default";
50
+ };
44
51
  /** Playback mode icon map */
45
52
  declare const MODE_ICON_MAP: Record<string, {
46
53
  icon: string;
@@ -50,34 +57,25 @@ declare const MODE_ICON_MAP: Record<string, {
50
57
  declare function formatTime(seconds: number): string;
51
58
  //#endregion
52
59
  //#region src/components/C_AudioPlayer/index.vue.d.ts
53
- type __VLS_Props = {
54
- tracks: AudioPlayerProps['tracks'];
55
- initialIndex?: number;
56
- showPlaylist?: boolean;
57
- showCover?: boolean;
58
- autoplay?: boolean;
59
- mode?: AudioPlayerProps['mode'];
60
- theme?: AudioPlayerProps['theme'];
61
- };
62
- declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
60
+ declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
63
61
  error: (error: unknown) => any;
64
62
  play: (index: number) => any;
65
63
  pause: () => any;
66
64
  ended: (index: number) => any;
67
- modeChange: (mode: string) => any;
68
- }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
65
+ modeChange: (mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any;
66
+ }, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
69
67
  onError?: ((error: unknown) => any) | undefined;
70
68
  onPlay?: ((index: number) => any) | undefined;
71
69
  onPause?: (() => any) | undefined;
72
70
  onEnded?: ((index: number) => any) | undefined;
73
- onModeChange?: ((mode: string) => any) | undefined;
71
+ onModeChange?: ((mode: NonNullable<"loop" | "single" | "list" | "shuffle" | undefined>) => any) | undefined;
74
72
  }>, {
75
73
  theme: "default" | "minimal";
74
+ mode: "list" | "loop" | "single" | "shuffle";
75
+ autoplay: boolean;
76
76
  initialIndex: number;
77
77
  showPlaylist: boolean;
78
78
  showCover: boolean;
79
- autoplay: boolean;
80
- mode: "single" | "list" | "loop" | "shuffle";
81
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
80
  declare const _default: typeof __VLS_export;
83
81
  //#endregion
@@ -36,8 +36,8 @@ interface RelationshipNeighbor<T extends RelationshipNode> {
36
36
  declare const __VLS_export: <T extends RelationshipNode = RelationshipNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
37
37
  props: vue.PublicProps & __VLS_PrettifyLocal<RelationshipExplorerProps<T> & {
38
38
  onSelect?: ((node: T) => any) | undefined;
39
- onExpand?: ((node: T) => any) | undefined;
40
39
  "onUpdate:modelValue"?: ((key: T["key"]) => any) | undefined;
40
+ onExpand?: ((node: T) => any) | undefined;
41
41
  }> & (typeof globalThis extends {
42
42
  __VLS_PROPS_FALLBACK: infer P;
43
43
  } ? P : {});
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends RelationshipNode = RelationshipNode>(__VL
48
48
  node: T;
49
49
  }) => unknown;
50
50
  };
51
- emit: ((evt: "select", node: T) => void) & ((evt: "expand", node: T) => void) & ((evt: "update:modelValue", key: T["key"]) => void);
51
+ emit: ((evt: "select", node: T) => void) & ((evt: "update:modelValue", key: T["key"]) => void) & ((evt: "expand", node: T) => void);
52
52
  }>) => vue.VNode & {
53
53
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
54
54
  };
@@ -36,8 +36,8 @@ interface RelationshipNeighbor<T extends RelationshipNode> {
36
36
  declare const __VLS_export: <T extends RelationshipNode = RelationshipNode>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
37
37
  props: vue.PublicProps & __VLS_PrettifyLocal<RelationshipExplorerProps<T> & {
38
38
  onSelect?: ((node: T) => any) | undefined;
39
- onExpand?: ((node: T) => any) | undefined;
40
39
  "onUpdate:modelValue"?: ((key: T["key"]) => any) | undefined;
40
+ onExpand?: ((node: T) => any) | undefined;
41
41
  }> & (typeof globalThis extends {
42
42
  __VLS_PROPS_FALLBACK: infer P;
43
43
  } ? P : {});
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends RelationshipNode = RelationshipNode>(__VL
48
48
  node: T;
49
49
  }) => unknown;
50
50
  };
51
- emit: ((evt: "select", node: T) => void) & ((evt: "expand", node: T) => void) & ((evt: "update:modelValue", key: T["key"]) => void);
51
+ emit: ((evt: "select", node: T) => void) & ((evt: "update:modelValue", key: T["key"]) => void) & ((evt: "expand", node: T) => void);
52
52
  }>) => vue.VNode & {
53
53
  __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
54
54
  };
@@ -12,6 +12,7 @@ interface ResourceScheduleResource {
12
12
  workingWindows?: readonly ResourceScheduleRange[];
13
13
  }
14
14
  interface ResourceScheduleBooking {
15
+ /** Unique across the board, including bookings on different resources. */
15
16
  key: ResourceScheduleKey;
16
17
  resourceKey: ResourceScheduleKey;
17
18
  label: string;
@@ -29,6 +30,7 @@ interface ResourceScheduleProps<R extends ResourceScheduleResource = ResourceSch
29
30
  bookings: readonly B[];
30
31
  modelValue?: B['key'] | null;
31
32
  title?: string;
33
+ /** IANA time zone used for labels. Defaults to UTC. */
32
34
  timeZone?: string;
33
35
  /** Including the two range boundaries. Defaults to 7, bounded between 2 and 24. */
34
36
  tickCount?: number;
@@ -12,6 +12,7 @@ interface ResourceScheduleResource {
12
12
  workingWindows?: readonly ResourceScheduleRange[];
13
13
  }
14
14
  interface ResourceScheduleBooking {
15
+ /** Unique across the board, including bookings on different resources. */
15
16
  key: ResourceScheduleKey;
16
17
  resourceKey: ResourceScheduleKey;
17
18
  label: string;
@@ -29,6 +30,7 @@ interface ResourceScheduleProps<R extends ResourceScheduleResource = ResourceSch
29
30
  bookings: readonly B[];
30
31
  modelValue?: B['key'] | null;
31
32
  title?: string;
33
+ /** IANA time zone used for labels. Defaults to UTC. */
32
34
  timeZone?: string;
33
35
  /** Including the two range boundaries. Defaults to 7, bounded between 2 and 24. */
34
36
  tickCount?: number;
@@ -27,15 +27,15 @@ interface ScanInputEmits {
27
27
  //#endregion
28
28
  //#region src/components/C_ScanInput/index.vue.d.ts
29
29
  declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
30
- "update:modelValue": (value: string) => any;
31
30
  error: (error: unknown, input: "camera" | "photo") => any;
32
- submit: (value: string) => any;
31
+ "update:modelValue": (value: string) => any;
33
32
  scan: (result: ScanResult, input: "camera" | "photo") => any;
33
+ submit: (value: string) => any;
34
34
  }, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
35
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
36
35
  onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
37
- onSubmit?: ((value: string) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
38
37
  onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
38
+ onSubmit?: ((value: string) => any) | undefined;
39
39
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
40
40
  declare const _default: typeof __VLS_export;
41
41
  //#endregion
@@ -27,15 +27,15 @@ interface ScanInputEmits {
27
27
  //#endregion
28
28
  //#region src/components/C_ScanInput/index.vue.d.ts
29
29
  declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
30
- "update:modelValue": (value: string) => any;
31
30
  error: (error: unknown, input: "camera" | "photo") => any;
32
- submit: (value: string) => any;
31
+ "update:modelValue": (value: string) => any;
33
32
  scan: (result: ScanResult, input: "camera" | "photo") => any;
33
+ submit: (value: string) => any;
34
34
  }, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
35
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
36
35
  onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
37
- onSubmit?: ((value: string) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
38
37
  onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
38
+ onSubmit?: ((value: string) => any) | undefined;
39
39
  }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
40
40
  declare const _default: typeof __VLS_export;
41
41
  //#endregion
@@ -2,27 +2,36 @@ import { n as ComponentLocale } from "./contracts.cjs";
2
2
  import * as vue from "vue";
3
3
 
4
4
  //#region src/components/C_SectionNav/types.d.ts
5
- interface SectionNavItem {
6
- key: string;
5
+ interface SectionNavItem<K extends string = string> {
6
+ key: K;
7
7
  label: string;
8
8
  errorCount?: number;
9
9
  disabled?: boolean;
10
10
  }
11
- interface SectionNavProps {
12
- items: readonly SectionNavItem[];
11
+ interface SectionNavProps<K extends string = string> {
12
+ items: readonly SectionNavItem<K>[];
13
+ /** Controlled input can still use a broad string. Events infer their key from items. */
13
14
  modelValue?: string;
14
15
  ariaLabel?: string;
15
16
  locale?: ComponentLocale;
16
17
  }
17
18
  //#endregion
18
19
  //#region src/components/C_SectionNav/index.vue.d.ts
19
- declare const __VLS_export: vue.DefineComponent<SectionNavProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
- select: (key: string) => any;
21
- "update:modelValue": (key: string) => any;
22
- }, string, vue.PublicProps, Readonly<SectionNavProps> & Readonly<{
23
- onSelect?: ((key: string) => any) | undefined;
24
- "onUpdate:modelValue"?: ((key: string) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: <K extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
21
+ props: vue.PublicProps & __VLS_PrettifyLocal<SectionNavProps<K> & {
22
+ onSelect?: ((key: K) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((key: K) => any) | undefined;
24
+ }> & (typeof globalThis extends {
25
+ __VLS_PROPS_FALLBACK: infer P;
26
+ } ? P : {});
27
+ expose: (exposed: {}) => void;
28
+ attrs: any;
29
+ slots: {};
30
+ emit: ((evt: "select", key: K) => void) & ((evt: "update:modelValue", key: K) => void);
31
+ }>) => vue.VNode & {
32
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
33
+ };
26
34
  declare const _default: typeof __VLS_export;
35
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
27
36
  //#endregion
28
37
  export { SectionNavItem as n, SectionNavProps as r, _default as t };