@vinicunca/taman-ui 0.1.3 → 0.2.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 (242) hide show
  1. package/dist/_virtual/_/plugin-vue/export-helper.mjs +1 -2
  2. package/dist/components/auth/taman-auth-form.mjs +1 -2
  3. package/dist/components/auth/taman-auth-form.vue.d.ts +0 -2
  4. package/dist/components/back-to-top/taman-back-to-top.mjs +1 -2
  5. package/dist/components/back-to-top/taman-back-to-top.vue.d.ts +0 -2
  6. package/dist/components/button/check-group-selection.mjs +1 -2
  7. package/dist/components/button/taman-button-check-group.mjs +1 -2
  8. package/dist/components/button/taman-button-check-group.types.d.ts +1 -3
  9. package/dist/components/button/taman-button-check-group.vue.d.ts +0 -2
  10. package/dist/components/button/taman-button-icon.mjs +1 -2
  11. package/dist/components/button/taman-button-icon.vue.d.ts +0 -2
  12. package/dist/components/descriptions/taman-description-cell.mjs +1 -2
  13. package/dist/components/descriptions/taman-description-item.mjs +1 -2
  14. package/dist/components/descriptions/taman-description-item.vue.d.ts +0 -2
  15. package/dist/components/descriptions/taman-description-row.mjs +1 -2
  16. package/dist/components/descriptions/taman-description.mjs +1 -2
  17. package/dist/components/descriptions/taman-description.types.d.ts +1 -3
  18. package/dist/components/descriptions/taman-description.vue.d.ts +7 -7
  19. package/dist/components/descriptions/use-taman-description.mjs +1 -2
  20. package/dist/components/file-upload/taman-file-upload.mjs +2 -3
  21. package/dist/components/file-upload/taman-file-upload.types.d.ts +1 -3
  22. package/dist/components/file-upload/taman-file-upload.vue.d.ts +0 -2
  23. package/dist/components/full-screen/full-screen.mjs +1 -2
  24. package/dist/components/full-screen/full-screen.vue.d.ts +0 -2
  25. package/dist/components/icon/index.d.ts +1 -1
  26. package/dist/components/icon/index.mjs +1 -1
  27. package/dist/components/icon/{icon.mjs → taman-icon.mjs} +2 -3
  28. package/dist/components/icon/{icon.vue.d.ts → taman-icon.vue.d.ts} +0 -2
  29. package/dist/components/index.d.ts +1 -1
  30. package/dist/components/index.mjs +10 -10
  31. package/dist/components/input/password-strength.d.ts +1 -3
  32. package/dist/components/input/password-strength.mjs +1 -2
  33. package/dist/components/input/taman-input-currency.mjs +1 -2
  34. package/dist/components/input/taman-input-currency.types.d.ts +1 -3
  35. package/dist/components/input/taman-input-currency.vue.d.ts +0 -2
  36. package/dist/components/input/taman-input-password.mjs +1 -2
  37. package/dist/components/input/taman-input-password.vue.d.ts +0 -2
  38. package/dist/components/input-date/format-calendar-input-value.mjs +1 -2
  39. package/dist/components/input-date/taman-input-date.mjs +1 -2
  40. package/dist/components/input-date/taman-input-date.types.d.ts +1 -3
  41. package/dist/components/input-date/taman-input-date.vue.d.ts +0 -2
  42. package/dist/components/loading/index.d.ts +1 -1
  43. package/dist/components/loading/taman-loading.mjs +1 -2
  44. package/dist/components/loading/taman-loading.vue.d.ts +5 -5
  45. package/dist/components/loading/types.d.ts +1 -3
  46. package/dist/components/logo/taman-logo.mjs +1 -2
  47. package/dist/components/logo/taman-logo.vue.d.ts +5 -5
  48. package/dist/components/render-content/render-content.mjs +1 -2
  49. package/dist/components/render-content/render-content.vue.d.ts +0 -2
  50. package/dist/components/scrollbar/scrollbar.mjs +1 -2
  51. package/dist/components/scrollbar/scrollbar.vue.d.ts +5 -5
  52. package/dist/form/components/form-actions.mjs +5 -5
  53. package/dist/form/components/form-field-array.mjs +3 -4
  54. package/dist/form/components/form-field-array.types.d.ts +1 -3
  55. package/dist/form/form-render/form-render-field-collapsible.mjs +1 -2
  56. package/dist/form/form-render/form-render-field-control.mjs +1 -2
  57. package/dist/form/form-render/form-render-form-field.mjs +1 -2
  58. package/dist/form/form-render/form-render-form-label.mjs +5 -6
  59. package/dist/form/form-render/form-render-form.mjs +4 -5
  60. package/dist/form/form-render/form-render-group.mjs +4 -5
  61. package/dist/form/form-render/form-render.context.mjs +1 -2
  62. package/dist/form/form-render/form-render.dependencies.mjs +1 -2
  63. package/dist/form/form-render/form-render.helper.mjs +1 -2
  64. package/dist/form/form-render/form-render.schema.mjs +1 -2
  65. package/dist/form/form-render/index.mjs +1 -1
  66. package/dist/form/form.api.d.ts +0 -2
  67. package/dist/form/form.api.mjs +2 -3
  68. package/dist/form/form.built-ins.d.ts +1 -3
  69. package/dist/form/form.built-ins.mjs +1 -2
  70. package/dist/form/form.codec.d.ts +0 -2
  71. package/dist/form/form.codec.mjs +1 -2
  72. package/dist/form/form.config.d.ts +1 -3
  73. package/dist/form/form.config.mjs +2 -3
  74. package/dist/form/form.empty-value.d.ts +1 -3
  75. package/dist/form/form.empty-value.mjs +1 -2
  76. package/dist/form/form.field-name.mjs +1 -2
  77. package/dist/form/form.rule-registry.mjs +1 -2
  78. package/dist/form/form.runtime-field.mjs +3 -4
  79. package/dist/form/form.runtime.mjs +1 -2
  80. package/dist/form/form.schema-defaults.mjs +1 -2
  81. package/dist/form/form.types.d.ts +0 -2
  82. package/dist/form/form.use-delayed-flag.mjs +1 -2
  83. package/dist/form/form.use-form-context.mjs +1 -2
  84. package/dist/form/form.use-taman-form.d.ts +0 -2
  85. package/dist/form/form.use-taman-form.mjs +1 -2
  86. package/dist/form/index.d.ts +1 -1
  87. package/dist/form/index.mjs +1 -1
  88. package/dist/form/taman-use-form.mjs +4 -5
  89. package/dist/index.d.ts +1 -1
  90. package/dist/index.mjs +3 -3
  91. package/dist/layout/components/taman-core-button-collapse.mjs +1 -2
  92. package/dist/layout/components/taman-core-button-fixed.mjs +1 -2
  93. package/dist/layout/components/taman-core-layout-content.mjs +1 -2
  94. package/dist/layout/components/taman-core-layout-footer.mjs +1 -2
  95. package/dist/layout/components/taman-core-layout-header.mjs +1 -2
  96. package/dist/layout/components/taman-core-layout-sidebar.mjs +1 -2
  97. package/dist/layout/components/taman-core-layout-tabbar.mjs +1 -2
  98. package/dist/layout/composables/use-layout.mjs +1 -2
  99. package/dist/layout/composables/use-sidebar-drag.mjs +1 -2
  100. package/dist/layout/header-scroll-state.mjs +1 -2
  101. package/dist/layout/taman-core-layout.d.ts +0 -2
  102. package/dist/layout/taman-core-layout.mjs +1 -2
  103. package/dist/layout/taman-core-layout.vue.d.ts +32 -27
  104. package/dist/menu/components/collapse-transition.mjs +1 -2
  105. package/dist/menu/components/index.mjs +3 -3
  106. package/dist/menu/components/normal-menu/normal-menu.d.ts +0 -2
  107. package/dist/menu/components/normal-menu/normal-menu.mjs +2 -3
  108. package/dist/menu/components/normal-menu/normal-menu.vue.d.ts +0 -2
  109. package/dist/menu/components/taman-menu-badge-dot.mjs +1 -2
  110. package/dist/menu/components/taman-menu-badge.mjs +1 -2
  111. package/dist/menu/components/taman-menu-badge.vue.d.ts +0 -2
  112. package/dist/menu/components/taman-menu-item.mjs +4 -5
  113. package/dist/menu/components/taman-menu-root.mjs +10 -10
  114. package/dist/menu/components/taman-menu-sub-menu-content.mjs +2 -3
  115. package/dist/menu/components/taman-menu-sub-menu.mjs +3 -4
  116. package/dist/menu/composables/use-menu-context.mjs +1 -2
  117. package/dist/menu/composables/use-menu-scroll.mjs +1 -2
  118. package/dist/menu/composables/use-menu.mjs +1 -2
  119. package/dist/menu/menu.constants.mjs +1 -2
  120. package/dist/menu/menu.types.d.ts +0 -2
  121. package/dist/menu/menu.utils.mjs +1 -2
  122. package/dist/menu/taman-menu.mjs +1 -2
  123. package/dist/menu/taman-menu.vue.d.ts +0 -2
  124. package/dist/menu/taman-sub-menu.mjs +1 -2
  125. package/dist/popup/alert/alert-builder.d.ts +1 -3
  126. package/dist/popup/alert/alert-builder.mjs +1 -2
  127. package/dist/popup/alert/alert-overlay.mjs +6 -4
  128. package/dist/popup/alert/alert.d.ts +1 -3
  129. package/dist/popup/alert/alert.mjs +1 -2
  130. package/dist/popup/alert/alert.vue.d.ts +0 -2
  131. package/dist/popup/alert/alert2.mjs +54 -61
  132. package/dist/popup/alert/index.mjs +1 -1
  133. package/dist/popup/dialog/dialog.api.d.ts +1 -3
  134. package/dist/popup/dialog/dialog.api.mjs +1 -2
  135. package/dist/popup/dialog/dialog.mjs +43 -33
  136. package/dist/popup/dialog/dialog.types.d.ts +0 -2
  137. package/dist/popup/dialog/dialog.vue.d.ts +25 -25
  138. package/dist/popup/dialog/use-dialog-draggable.mjs +1 -2
  139. package/dist/popup/dialog/use-taman-dialog.d.ts +0 -2
  140. package/dist/popup/dialog/use-taman-dialog.mjs +2 -3
  141. package/dist/popup/drawer/drawer.api.d.ts +1 -3
  142. package/dist/popup/drawer/drawer.api.mjs +1 -2
  143. package/dist/popup/drawer/drawer.mjs +47 -32
  144. package/dist/popup/drawer/drawer.types.d.ts +0 -2
  145. package/dist/popup/drawer/drawer.vue.d.ts +27 -27
  146. package/dist/popup/drawer/use-taman-drawer.d.ts +0 -2
  147. package/dist/popup/drawer/use-taman-drawer.mjs +2 -3
  148. package/dist/tabs/components/taman-tabs.mjs +2 -3
  149. package/dist/tabs/components/widgets/tool-more.mjs +1 -2
  150. package/dist/tabs/components/widgets/tool-more.vue.d.ts +0 -2
  151. package/dist/tabs/components/widgets/tool-refresh.mjs +1 -2
  152. package/dist/tabs/components/widgets/tool-refresh.vue.d.ts +0 -2
  153. package/dist/tabs/components/widgets/tool-screen.mjs +1 -2
  154. package/dist/tabs/components/widgets/tool-screen.vue.d.ts +0 -2
  155. package/dist/tabs/strict-context-menu.d.ts +0 -2
  156. package/dist/tabs/tabs.types.d.ts +1 -3
  157. package/dist/tabs/taman-tabs-view.mjs +1 -2
  158. package/dist/tabs/taman-tabs-view.vue.d.ts +0 -2
  159. package/dist/tabs/use-tabs-drag.mjs +1 -2
  160. package/dist/tabs/use-tabs-view-scroll.mjs +1 -2
  161. package/dist/ui/alert-dialog/alert-dialog-action.mjs +1 -2
  162. package/dist/ui/alert-dialog/alert-dialog-action.vue.d.ts +5 -5
  163. package/dist/ui/alert-dialog/alert-dialog-cancel.mjs +1 -2
  164. package/dist/ui/alert-dialog/alert-dialog-cancel.vue.d.ts +5 -5
  165. package/dist/ui/alert-dialog/alert-dialog-content.mjs +1 -2
  166. package/dist/ui/alert-dialog/alert-dialog-content.vue.d.ts +5 -5
  167. package/dist/ui/alert-dialog/alert-dialog-description.mjs +1 -2
  168. package/dist/ui/alert-dialog/alert-dialog-description.vue.d.ts +5 -5
  169. package/dist/ui/alert-dialog/alert-dialog-footer.mjs +1 -2
  170. package/dist/ui/alert-dialog/alert-dialog-footer.vue.d.ts +5 -5
  171. package/dist/ui/alert-dialog/alert-dialog-header.mjs +1 -2
  172. package/dist/ui/alert-dialog/alert-dialog-header.vue.d.ts +5 -5
  173. package/dist/ui/alert-dialog/alert-dialog-overlay.mjs +1 -2
  174. package/dist/ui/alert-dialog/alert-dialog-root.mjs +1 -2
  175. package/dist/ui/alert-dialog/alert-dialog-root.vue.d.ts +8 -8
  176. package/dist/ui/alert-dialog/alert-dialog-title.mjs +1 -2
  177. package/dist/ui/alert-dialog/alert-dialog-title.vue.d.ts +5 -5
  178. package/dist/ui/alert-dialog/alert-dialog-trigger.mjs +1 -2
  179. package/dist/ui/alert-dialog/alert-dialog-trigger.vue.d.ts +5 -5
  180. package/dist/ui/dialog/dialog-close.mjs +1 -2
  181. package/dist/ui/dialog/dialog-close.vue.d.ts +5 -5
  182. package/dist/ui/dialog/dialog-content.mjs +10 -6
  183. package/dist/ui/dialog/dialog-content.vue.d.ts +7 -5
  184. package/dist/ui/dialog/dialog-description.mjs +1 -2
  185. package/dist/ui/dialog/dialog-description.vue.d.ts +5 -5
  186. package/dist/ui/dialog/dialog-footer.mjs +1 -2
  187. package/dist/ui/dialog/dialog-footer.vue.d.ts +5 -5
  188. package/dist/ui/dialog/dialog-header.mjs +1 -2
  189. package/dist/ui/dialog/dialog-header.vue.d.ts +5 -5
  190. package/dist/ui/dialog/dialog-overlay.mjs +1 -2
  191. package/dist/ui/dialog/dialog-overlay.vue.d.ts +0 -2
  192. package/dist/ui/dialog/dialog-root.mjs +1 -2
  193. package/dist/ui/dialog/dialog-root.vue.d.ts +8 -8
  194. package/dist/ui/dialog/dialog-title.mjs +1 -2
  195. package/dist/ui/dialog/dialog-title.vue.d.ts +5 -5
  196. package/dist/ui/dialog/dialog-trigger.mjs +1 -2
  197. package/dist/ui/dialog/dialog-trigger.vue.d.ts +5 -5
  198. package/dist/ui/dialog/index.mjs +4 -4
  199. package/dist/ui/dialog/use-dialog-state-events.mjs +1 -2
  200. package/dist/ui/form/form-control.mjs +1 -2
  201. package/dist/ui/form/form-control.vue.d.ts +5 -5
  202. package/dist/ui/form/form-description.mjs +1 -2
  203. package/dist/ui/form/form-description.vue.d.ts +5 -5
  204. package/dist/ui/form/form-field.mjs +1 -2
  205. package/dist/ui/form/form-field.vue.d.ts +5 -5
  206. package/dist/ui/form/form-item.mjs +1 -2
  207. package/dist/ui/form/form-item.vue.d.ts +5 -5
  208. package/dist/ui/form/form-label.mjs +3 -4
  209. package/dist/ui/form/form-label.vue.d.ts +5 -5
  210. package/dist/ui/form/form-message.mjs +1 -2
  211. package/dist/ui/form/form-message.vue.d.ts +0 -2
  212. package/dist/ui/form/injection-keys.d.ts +1 -3
  213. package/dist/ui/form/injection-keys.mjs +1 -2
  214. package/dist/ui/form/use-form-field.mjs +1 -2
  215. package/dist/ui/index.mjs +2 -2
  216. package/dist/ui/label/label.mjs +1 -2
  217. package/dist/ui/label/label.vue.d.ts +5 -5
  218. package/dist/ui/scroll-area/index.mjs +3 -3
  219. package/dist/ui/scroll-area/scroll-area.mjs +1 -2
  220. package/dist/ui/scroll-area/scroll-area.vue.d.ts +5 -5
  221. package/dist/ui/scroll-area/scroll-bar.mjs +1 -2
  222. package/dist/ui/scroll-area/scroll-bar.vue.d.ts +0 -2
  223. package/dist/ui/sheet/sheet-close.mjs +1 -2
  224. package/dist/ui/sheet/sheet-close.vue.d.ts +5 -5
  225. package/dist/ui/sheet/sheet-content.mjs +9 -5
  226. package/dist/ui/sheet/sheet-content.vue.d.ts +7 -5
  227. package/dist/ui/sheet/sheet-description.mjs +1 -2
  228. package/dist/ui/sheet/sheet-description.vue.d.ts +5 -5
  229. package/dist/ui/sheet/sheet-footer.mjs +1 -2
  230. package/dist/ui/sheet/sheet-footer.vue.d.ts +5 -5
  231. package/dist/ui/sheet/sheet-header.mjs +1 -2
  232. package/dist/ui/sheet/sheet-header.vue.d.ts +5 -5
  233. package/dist/ui/sheet/sheet-overlay.mjs +1 -2
  234. package/dist/ui/sheet/sheet-root.mjs +1 -2
  235. package/dist/ui/sheet/sheet-root.vue.d.ts +8 -8
  236. package/dist/ui/sheet/sheet-title.mjs +1 -2
  237. package/dist/ui/sheet/sheet-title.vue.d.ts +5 -5
  238. package/dist/ui/sheet/sheet.variants.d.ts +1 -3
  239. package/dist/ui/sheet/sheet.variants.mjs +1 -2
  240. package/dist/unocss/content.d.ts +1 -3
  241. package/dist/unocss/content.mjs +1 -2
  242. package/package.json +8 -8
@@ -1,7 +1,7 @@
1
1
  import { toRaw } from "vue";
2
2
  import { ZodIntersection, ZodNumber, ZodObject, ZodString, ZodStringFormat, object, string } from "zod";
3
3
  import { getDefaultsForSchema } from "zod-defaults";
4
- //#region src/form/form.schema-defaults.ts
4
+ // src/form/form.schema-defaults.ts
5
5
  function getCustomDefaultValue(rule) {
6
6
  rule = toRaw(rule);
7
7
  if (rule instanceof ZodString || rule instanceof ZodStringFormat) return "";
@@ -32,5 +32,4 @@ function normalizeSchemaForDefaults(rule) {
32
32
  if (rawRule.constructor.name === "ZodPipe") return normalizeSchemaForDefaults(rawRule.in).pipe(rawRule.out);
33
33
  return rawRule;
34
34
  }
35
- //#endregion
36
35
  export { getCustomDefaultValue, normalizeSchemaForDefaults };
@@ -5,7 +5,6 @@ import { ZodType } from "zod";
5
5
  import { AnyFieldApi } from "@tanstack/vue-form";
6
6
  import { MaybeComputedRef } from "@vinicunca/taman-core/typings";
7
7
  import { ButtonProps } from "pohon-ui";
8
- //#region src/form/form.types.d.ts
9
8
  export type FormValues = Record<string, any>;
10
9
  export type FormValuePatch<T> = T extends ((...args: Array<any>) => unknown) | Date | ReadonlyArray<unknown> ? T : T extends object ? { [K in keyof T]?: FormValuePatch<T[K]>; } : T;
11
10
  export interface FormCodec<TFormValues extends FormValues = FormValues, TSubmitValues extends FormValues = TFormValues> {
@@ -311,5 +310,4 @@ export interface FormRuleContext {
311
310
  name: string;
312
311
  }
313
312
  export type FormRuleValidator = (value: any, params: any, context: FormRuleContext) => boolean | string;
314
- //#endregion
315
313
  export type { BuiltInFormComponentPropsMap, BuiltInFormComponentType };
@@ -1,5 +1,5 @@
1
1
  import { computed, onScopeDispose, ref, watch } from "vue";
2
- //#region src/form/form.use-delayed-flag.ts
2
+ // src/form/form.use-delayed-flag.ts
3
3
  /**
4
4
  * Mirrors `source`, but only flips to `true` once it has stayed truthy for
5
5
  * `delayMs`. Falls back to `false` immediately.
@@ -31,5 +31,4 @@ function useDelayedFlag(source, delayMs) {
31
31
  onScopeDispose(clear);
32
32
  return computed(() => settled.value);
33
33
  }
34
- //#endregion
35
34
  export { useDelayedFlag };
@@ -6,7 +6,7 @@ import { computed, toRaw, unref, useSlots } from "vue";
6
6
  import { isString, mergeWithArrayOverride, set } from "@vinicunca/taman-core/utils";
7
7
  import { object } from "zod";
8
8
  import { getDefaultsForSchema } from "zod-defaults";
9
- //#region src/form/form.use-form-context.ts
9
+ // src/form/form.use-form-context.ts
10
10
  const [injectFormProps, provideFormProps] = createContext("TamanFormProps");
11
11
  const [injectComponentRefMap, provideComponentRefMap] = createContext("ComponentRefMap");
12
12
  function useFormInitial(props) {
@@ -40,5 +40,4 @@ function useFormInitial(props) {
40
40
  form
41
41
  };
42
42
  }
43
- //#endregion
44
43
  export { injectComponentRefMap, injectFormProps, provideComponentRefMap, provideFormProps, useFormInitial };
@@ -1,7 +1,5 @@
1
1
  import { ExtendedFormApi, FormBaseComponentType, FormValues, TamanFormComponent, TamanFormProps } from "./form.types.js";
2
- //#region src/form/form.use-taman-form.d.ts
3
2
  type UseTamanFormReturn<TValues extends FormValues, T extends FormBaseComponentType, P extends Record<string, any>, TSubmitValues extends FormValues = TValues> = readonly [TamanFormComponent<TValues, T, P, TSubmitValues>, ExtendedFormApi<TValues, T, P, TSubmitValues>];
4
3
  export declare function useTamanForm<T extends FormBaseComponentType = FormBaseComponentType, P extends Record<string, any> = Record<never, never>>(options: TamanFormProps<T, P>): UseTamanFormReturn<FormValues, T, P>;
5
4
  export declare function useTamanForm<TValues extends FormValues, T extends FormBaseComponentType = FormBaseComponentType, P extends Record<string, any> = Record<never, never>, TSubmitValues extends FormValues = TValues>(options: TamanFormProps<T, P, TValues, TSubmitValues>): UseTamanFormReturn<TValues, T, P, TSubmitValues>;
6
- //#endregion
7
5
  export {};
@@ -2,7 +2,7 @@ import { FormApi } from "./form.api.mjs";
2
2
  import _sfc_main from "./taman-use-form.mjs";
3
3
  import { defineComponent, h, isReactive, onBeforeUnmount, watch } from "vue";
4
4
  import { useSelector } from "@vinicunca/taman-core/store";
5
- //#region src/form/form.use-taman-form.ts
5
+ // src/form/form.use-taman-form.ts
6
6
  function useTamanForm(options) {
7
7
  const IS_REACTIVE = isReactive(options);
8
8
  const api = new FormApi(options);
@@ -32,5 +32,4 @@ function useTamanForm(options) {
32
32
  }, { immediate: true });
33
33
  return [Form, extendedApi];
34
34
  }
35
- //#endregion
36
35
  export { useTamanForm };
@@ -1,8 +1,8 @@
1
1
  import { BuiltInFormComponentPropsMap, BuiltInFormComponentType } from "./form.built-ins.js";
2
- import { ExtendedFormApi, FormActions, FormBaseComponentType, FormCodec, FormFieldSchema, FormGroupSchema, FormSchema, FormSchemaContext, FormValueSnapshot, FormValues, TamanFormActionSlotProps, TamanFormComponent, TamanFormDefaultSlotProps, TamanFormFieldArrayProps, TamanFormFieldSlotProps, TamanFormProps, TamanFormResolvedComponentProps, TamanFormSlots } from "./form.types.js";
3
2
  import { CalendarDateCodecOptions, FormCodecError, FormCodecPhase, calendarDateCodec, calendarDateTimeCodec, createCalendarDateCodec, createCalendarDateTimeCodec, createTimeCodec, timeCodec } from "./form.codec.js";
4
3
  import { setupTamanForm } from "./form.config.js";
5
4
  import { isEmptyFormValue } from "./form.empty-value.js";
5
+ import { ExtendedFormApi, FormActions, FormBaseComponentType, FormCodec, FormFieldSchema, FormGroupSchema, FormSchema, FormSchemaContext, FormValueSnapshot, FormValues, TamanFormActionSlotProps, TamanFormComponent, TamanFormDefaultSlotProps, TamanFormFieldArrayProps, TamanFormFieldSlotProps, TamanFormProps, TamanFormResolvedComponentProps, TamanFormSlots } from "./form.types.js";
6
6
  import { useTamanForm } from "./form.use-taman-form.js";
7
7
  import * as z from "zod";
8
8
  export { type BuiltInFormComponentPropsMap, type BuiltInFormComponentType, type CalendarDateCodecOptions, type ExtendedFormApi, type FormActions, type FormBaseComponentType, type FormCodec, FormCodecError, type FormCodecPhase, type FormGroupSchema, type FormSchemaContext, type FormValueSnapshot, type FormValues, type TamanFormActionSlotProps, type TamanFormComponent, type TamanFormDefaultSlotProps, type TamanFormFieldArrayProps, type FormFieldSchema as TamanFormFieldSchema, type TamanFormFieldSlotProps, type FormGroupSchema as TamanFormGroupSchema, type TamanFormProps, type TamanFormResolvedComponentProps, type FormSchema as TamanFormSchema, type TamanFormSlots, calendarDateCodec, calendarDateTimeCodec, createCalendarDateCodec, createCalendarDateTimeCodec, createTimeCodec, isEmptyFormValue, setupTamanForm, timeCodec, useTamanForm, z };
@@ -1,6 +1,6 @@
1
1
  import { FormCodecError, calendarDateCodec, calendarDateTimeCodec, createCalendarDateCodec, createCalendarDateTimeCodec, createTimeCodec, timeCodec } from "./form.codec.mjs";
2
- import { isEmptyFormValue } from "./form.empty-value.mjs";
3
2
  import { setupTamanForm } from "./form.config.mjs";
3
+ import { isEmptyFormValue } from "./form.empty-value.mjs";
4
4
  import { useTamanForm } from "./form.use-taman-form.mjs";
5
5
  import * as z from "zod";
6
6
  export { FormCodecError, calendarDateCodec, calendarDateTimeCodec, createCalendarDateCodec, createCalendarDateTimeCodec, createTimeCodec, isEmptyFormValue, setupTamanForm, timeCodec, useTamanForm, z };
@@ -1,14 +1,14 @@
1
+ import _sfc_main$1 from "./components/form-actions.mjs";
2
+ import "./form-render/index.mjs";
1
3
  import { getFormFieldSchemas } from "./form-render/form-render.schema.mjs";
2
- import { provideComponentRefMap, provideFormProps, useFormInitial } from "./form.use-form-context.mjs";
3
4
  import { DEFAULT_FORM_COMMON_CONFIG, getFormComponentMap } from "./form.config.mjs";
4
- import _sfc_main$1 from "./components/form-actions.mjs";
5
5
  import _sfc_main$2 from "./form-render/form-render-form.mjs";
6
- import "./form-render/index.mjs";
6
+ import { provideComponentRefMap, provideFormProps, useFormInitial } from "./form.use-form-context.mjs";
7
7
  import { createBlock, createCommentVNode, createSlots, defineComponent, mergeProps, nextTick, onMounted, openBlock, readonly, renderList, renderSlot, unref, watch, withCtx, withKeys } from "vue";
8
8
  import { useDebounceFn } from "@vueuse/core";
9
9
  import { get, isDeepEqual } from "@vinicunca/taman-core/utils";
10
10
  import { useForwardPriorityValues } from "@vinicunca/taman-core/composables";
11
- //#region src/form/taman-use-form.vue
11
+ // src/form/taman-use-form.vue
12
12
  const _sfc_main = /*@__PURE__*/ defineComponent({
13
13
  __name: "taman-use-form",
14
14
  props: {
@@ -142,5 +142,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
142
142
  };
143
143
  }
144
144
  });
145
- //#endregion
146
145
  export { _sfc_main as default };
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import _default$38 from "./components/descriptions/taman-description.vue.js";
9
9
  import { TamanFileUploadProps } from "./components/file-upload/taman-file-upload.types.js";
10
10
  import _default$40 from "./components/file-upload/taman-file-upload.vue.js";
11
11
  import _default$41 from "./components/full-screen/full-screen.vue.js";
12
- import _default$42 from "./components/icon/icon.vue.js";
12
+ import _default$42 from "./components/icon/taman-icon.vue.js";
13
13
  import { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, isPasswordStrong, passwordStrengthScore } from "./components/input/password-strength.js";
14
14
  import { TamanInputCurrencyProps } from "./components/input/taman-input-currency.types.js";
15
15
  import _default$43 from "./components/input/taman-input-currency.vue.js";
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import taman_description_item_default from "./components/descriptions/taman-desc
7
7
  import _sfc_main$32 from "./components/descriptions/taman-description.mjs";
8
8
  import _sfc_main$33 from "./components/file-upload/taman-file-upload.mjs";
9
9
  import _sfc_main$34 from "./components/full-screen/full-screen.mjs";
10
- import _sfc_main$35 from "./components/icon/icon.mjs";
10
+ import _sfc_main$35 from "./components/icon/taman-icon.mjs";
11
11
  import { PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, isPasswordStrong, passwordStrengthScore } from "./components/input/password-strength.mjs";
12
12
  import _sfc_main$36 from "./components/input/taman-input-currency.mjs";
13
13
  import _sfc_main$38 from "./components/input/taman-input-password.mjs";
@@ -49,8 +49,8 @@ import sheet_footer_default from "./ui/sheet/sheet-footer.mjs";
49
49
  import sheet_header_default from "./ui/sheet/sheet-header.mjs";
50
50
  import _sfc_main$26 from "./ui/sheet/sheet-root.mjs";
51
51
  import _sfc_main$27 from "./ui/sheet/sheet-title.mjs";
52
- import "./ui/index.mjs";
53
- import _sfc_main$42 from "./components/scrollbar/scrollbar.mjs";
54
52
  import "./components/index.mjs";
53
+ import _sfc_main$42 from "./components/scrollbar/scrollbar.mjs";
54
+ import "./ui/index.mjs";
55
55
  import { Slot, VisuallyHidden, createContext } from "akar";
56
56
  export { _sfc_main as AScrollArea, _sfc_main$1 as AScrollBar, _sfc_main$2 as AlertDialog, _sfc_main$3 as AlertDialogAction, _sfc_main$4 as AlertDialogCancel, _sfc_main$5 as AlertDialogContent, _sfc_main$6 as AlertDialogDescription, alert_dialog_footer_default as AlertDialogFooter, alert_dialog_header_default as AlertDialogHeader, _sfc_main$7 as AlertDialogTitle, _sfc_main$8 as AlertDialogTrigger, _sfc_main$9 as DialogClose, _sfc_main$10 as DialogContent, _sfc_main$11 as DialogDescription, dialog_footer_default as DialogFooter, dialog_header_default as DialogHeader, _sfc_main$12 as DialogOverlay, _sfc_main$13 as DialogRoot, _sfc_main$14 as DialogTitle, _sfc_main$15 as DialogTrigger, FORM_FIELD_INJECTION_KEY, FORM_ITEM_INJECTION_KEY, _sfc_main$16 as FormControl, _sfc_main$17 as FormDescription, _sfc_main$18 as FormField, _sfc_main$19 as FormItem, _sfc_main$20 as FormLabel, _sfc_main$21 as FormMessage, _sfc_main$22 as Label, PASSWORD_STRENGTH_CHECKS, PASSWORD_STRENGTH_MAX, _sfc_main$23 as SheetClose, _sfc_main$24 as SheetContent, _sfc_main$25 as SheetDescription, sheet_footer_default as SheetFooter, sheet_header_default as SheetHeader, _sfc_main$26 as SheetRoot, _sfc_main$27 as SheetTitle, Slot, _sfc_main$28 as TamanAuthForm, _sfc_main$29 as TamanBackToTop, _sfc_main$30 as TamanButtonCheckGroup, _sfc_main$31 as TamanButtonIcon, _sfc_main$32 as TamanDescription, taman_description_item_default as TamanDescriptionItem, _sfc_main$33 as TamanFileUpload, _sfc_main$34 as TamanFullScreen, _sfc_main$35 as TamanIcon, _sfc_main$36 as TamanInputCurrency, _sfc_main$37 as TamanInputDate, _sfc_main$38 as TamanInputPassword, _sfc_main$39 as TamanLoading, _sfc_main$40 as TamanLogo, _sfc_main$41 as TamanRenderContent, _sfc_main$42 as TamanScrollbar, VisuallyHidden, createContext, isPasswordStrong, passwordStrengthScore };
@@ -1,7 +1,7 @@
1
1
  import { createBlock, defineComponent, openBlock, unref, useModel, withModifiers } from "vue";
2
2
  import PButton from "pohon-ui/components/Button.vue";
3
3
  import { useSimpleLocale } from "@vinicunca/taman-core/composables";
4
- //#region src/layout/components/taman-core-button-collapse.vue
4
+ // src/layout/components/taman-core-button-collapse.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "taman-core-button-collapse",
7
7
  props: {
@@ -34,5 +34,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
34
34
  };
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { _sfc_main as default };
@@ -1,6 +1,6 @@
1
1
  import { createBlock, defineComponent, openBlock, useModel, withModifiers } from "vue";
2
2
  import PButton from "pohon-ui/components/Button.vue";
3
- //#region src/layout/components/taman-core-button-fixed.vue
3
+ // src/layout/components/taman-core-button-fixed.vue
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
5
5
  __name: "taman-core-button-fixed",
6
6
  props: {
@@ -42,5 +42,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
42
42
  };
43
43
  }
44
44
  });
45
- //#endregion
46
45
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeStyle, openBlock, renderSlot } from "vue";
2
- //#region src/layout/components/taman-core-layout-content.vue
2
+ // src/layout/components/taman-core-layout-content.vue
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  "data-layout-region": "content-overlay",
@@ -46,5 +46,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
46
46
  };
47
47
  }
48
48
  });
49
- //#endregion
50
49
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import { computed, createElementBlock, defineComponent, normalizeStyle, openBlock, renderSlot } from "vue";
2
- //#region src/layout/components/taman-core-layout-footer.vue
2
+ // src/layout/components/taman-core-layout-footer.vue
3
3
  const _sfc_main = /*@__PURE__*/ defineComponent({
4
4
  __name: "taman-core-layout-footer",
5
5
  props: {
@@ -34,5 +34,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
34
34
  };
35
35
  }
36
36
  });
37
- //#endregion
38
37
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import { computed, createCommentVNode, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, unref, useSlots } from "vue";
2
- //#region src/layout/components/taman-core-layout-header.vue
2
+ // src/layout/components/taman-core-layout-header.vue
3
3
  const _sfc_main = /*@__PURE__*/ defineComponent({
4
4
  __name: "taman-core-layout-header",
5
5
  props: {
@@ -44,5 +44,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
44
44
  };
45
45
  }
46
46
  });
47
- //#endregion
48
47
  export { _sfc_main as default };
@@ -5,7 +5,7 @@ import _sfc_main$2 from "./taman-core-button-collapse.mjs";
5
5
  import _sfc_main$3 from "./taman-core-button-fixed.mjs";
6
6
  import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, onUnmounted, openBlock, renderSlot, shallowRef, unref, useModel, useSlots, withCtx } from "vue";
7
7
  import { useScrollLock } from "@vueuse/core";
8
- //#region src/layout/components/taman-core-layout-sidebar.vue
8
+ // src/layout/components/taman-core-layout-sidebar.vue
9
9
  const _hoisted_1 = ["inert"];
10
10
  const _sfc_main = /*@__PURE__*/ defineComponent({
11
11
  __name: "taman-core-layout-sidebar",
@@ -347,5 +347,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
347
347
  };
348
348
  }
349
349
  });
350
- //#endregion
351
350
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import { computed, createElementBlock, defineComponent, normalizeStyle, openBlock, renderSlot } from "vue";
2
- //#region src/layout/components/taman-core-layout-tabbar.vue
2
+ // src/layout/components/taman-core-layout-tabbar.vue
3
3
  const _sfc_main = /*@__PURE__*/ defineComponent({
4
4
  __name: "taman-core-layout-tabbar",
5
5
  props: { height: {} },
@@ -17,5 +17,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
17
17
  };
18
18
  }
19
19
  });
20
- //#endregion
21
20
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import { computed } from "vue";
2
- //#region src/layout/composables/use-layout.ts
2
+ // src/layout/composables/use-layout.ts
3
3
  function useLayout(props) {
4
4
  const currentLayout = computed(() => props.isMobile ? "sidebar-nav" : props.layout);
5
5
  /**
@@ -27,5 +27,4 @@ function useLayout(props) {
27
27
  isSidebarMixedNav
28
28
  };
29
29
  }
30
- //#endregion
31
30
  export { useLayout };
@@ -1,5 +1,5 @@
1
1
  import { ref } from "vue";
2
- //#region src/layout/composables/use-sidebar-drag.ts
2
+ // src/layout/composables/use-sidebar-drag.ts
3
3
  function useSidebarDrag() {
4
4
  const isDragging = ref(false);
5
5
  let cleanup = null;
@@ -99,5 +99,4 @@ function useSidebarDrag() {
99
99
  }
100
100
  };
101
101
  }
102
- //#endregion
103
102
  export { useSidebarDrag };
@@ -1,9 +1,8 @@
1
- //#region src/layout/header-scroll-state.ts
1
+ // src/layout/header-scroll-state.ts
2
2
  function resolveHeaderHiddenOnScroll({ arrivedTop, currentHidden, directionDown, directionUp, headerHeight, scrollTop }) {
3
3
  if (arrivedTop || scrollTop < headerHeight) return false;
4
4
  if (directionUp) return false;
5
5
  if (directionDown) return true;
6
6
  return currentHidden;
7
7
  }
8
- //#endregion
9
8
  export { resolveHeaderHiddenOnScroll };
@@ -1,5 +1,4 @@
1
1
  import { TamanContentCompactType, TamanLayoutHeaderModeType, TamanLayoutType, TamanThemeModeType } from "@vinicunca/taman-core/typings";
2
- //#region src/layout/taman-core-layout.d.ts
3
2
  interface TamanLayoutProps {
4
3
  contentCompact?: TamanContentCompactType;
5
4
  contentCompactWidth?: number;
@@ -37,5 +36,4 @@ interface TamanLayoutProps {
37
36
  tabbarHeight?: number;
38
37
  zIndex?: number;
39
38
  }
40
- //#endregion
41
39
  export type { TamanLayoutProps };
@@ -12,7 +12,7 @@ import { Teleport, Transition, computed, createBlock, createCommentVNode, create
12
12
  import { useEventListener, useScroll } from "@vueuse/core";
13
13
  import { SCROLL_FIXED_CLASS, useLayoutFooterStyle, useLayoutHeaderStyle, useLayoutViewportHeight } from "@vinicunca/taman-core/composables";
14
14
  import { ELEMENT_ID_LAYOUT_SCROLL, ELEMENT_ID_MAIN_CONTENT } from "@vinicunca/taman-core/constants";
15
- //#region src/layout/taman-core-layout.vue
15
+ // src/layout/taman-core-layout.vue
16
16
  const _hoisted_1 = [
17
17
  "data-layout",
18
18
  "data-mobile",
@@ -599,5 +599,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
599
599
  };
600
600
  }
601
601
  });
602
- //#endregion
603
602
  export { _sfc_main as default };
@@ -1,5 +1,4 @@
1
1
  import { TamanLayoutProps } from "./taman-core-layout.js";
2
- //#region src/layout/taman-core-layout.vue.d.ts
3
2
  type __VLS_Props = TamanLayoutProps;
4
3
  type __VLS_ModelProps = {
5
4
  'sidebarDraggable'?: boolean;
@@ -10,32 +9,39 @@ type __VLS_ModelProps = {
10
9
  'sidebarEnable'?: boolean;
11
10
  };
12
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
- declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_18: {}, __VLS_21: {}, __VLS_36: {}, __VLS_46: {}, __VLS_54: {}, __VLS_62: {}, __VLS_65: {}, __VLS_73: {}, __VLS_75: {};
14
- type __VLS_Slots = {} & {
15
- logo?: (props: typeof __VLS_11) => any;
16
- } & {
17
- 'mixed-menu'?: (props: typeof __VLS_13) => any;
18
- } & {
19
- menu?: (props: typeof __VLS_15) => any;
20
- } & {
21
- 'side-extra'?: (props: typeof __VLS_18) => any;
22
- } & {
23
- 'side-extra-title'?: (props: typeof __VLS_21) => any;
24
- } & {
25
- logo?: (props: typeof __VLS_36) => any;
26
- } & {
27
- header?: (props: typeof __VLS_46) => any;
28
- } & {
29
- tabbar?: (props: typeof __VLS_54) => any;
30
- } & {
31
- content?: (props: typeof __VLS_62) => any;
32
- } & {
33
- 'content-overlay'?: (props: typeof __VLS_65) => any;
34
- } & {
35
- footer?: (props: typeof __VLS_73) => any;
36
- } & {
37
- extra?: (props: typeof __VLS_75) => any;
12
+ declare const __VLS_template: () => {
13
+ __VLS_Slots: {
14
+ logo?: (props: {}) => any;
15
+ } & {
16
+ 'mixed-menu'?: (props: {}) => any;
17
+ } & {
18
+ menu?: (props: {}) => any;
19
+ } & {
20
+ 'side-extra'?: (props: {}) => any;
21
+ } & {
22
+ 'side-extra-title'?: (props: {}) => any;
23
+ } & {
24
+ logo?: (props: {}) => any;
25
+ } & {
26
+ header?: (props: {}) => any;
27
+ } & {
28
+ tabbar?: (props: {}) => any;
29
+ } & {
30
+ content?: (props: {}) => any;
31
+ } & {
32
+ 'content-overlay'?: (props: {}) => any;
33
+ } & {
34
+ footer?: (props: {}) => any;
35
+ } & {
36
+ extra?: (props: {}) => any;
37
+ };
38
+ __VLS_TemplateRefs: {
39
+ mainRef: __VLS_Elements["div"];
40
+ } & {
41
+ contentRef: __VLS_Elements["div"];
42
+ };
38
43
  };
44
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
39
45
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
46
  "update:sidebarDraggable": (value: boolean) => any;
41
47
  "update:sidebarCollapse": (value: boolean) => any;
@@ -95,5 +101,4 @@ type __VLS_WithSlots<T, S> = T & {
95
101
  $slots: S;
96
102
  };
97
103
  };
98
- //#endregion
99
104
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import { Transition, createBlock, defineComponent, mergeProps, openBlock, renderSlot, toHandlers, withCtx } from "vue";
2
- //#region src/menu/components/collapse-transition.vue
2
+ // src/menu/components/collapse-transition.vue
3
3
  const _sfc_main = /*@__PURE__*/ defineComponent({
4
4
  name: "CollapseTransition",
5
5
  __name: "collapse-transition",
@@ -78,5 +78,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
78
78
  };
79
79
  }
80
80
  });
81
- //#endregion
82
81
  export { _sfc_main as default };
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from "./taman-menu-badge.mjs";
2
2
  import _sfc_main$1 from "./taman-menu-item.mjs";
3
- import _sfc_main$2 from "./taman-menu-sub-menu.mjs";
4
- import _sfc_main$3 from "./taman-menu-root.mjs";
5
- export { _sfc_main as TamanMenuBadge, _sfc_main$1 as TamanMenuItem, _sfc_main$3 as TamanMenuRoot, _sfc_main$2 as TamanMenuSubMenu };
3
+ import _sfc_main$2 from "./taman-menu-root.mjs";
4
+ import _sfc_main$3 from "./taman-menu-sub-menu.mjs";
5
+ export { _sfc_main as TamanMenuBadge, _sfc_main$1 as TamanMenuItem, _sfc_main$2 as TamanMenuRoot, _sfc_main$3 as TamanMenuSubMenu };
@@ -1,5 +1,4 @@
1
1
  import { TamanMenuRecordRaw } from "@vinicunca/taman-core/typings";
2
- //#region src/menu/components/normal-menu/normal-menu.d.ts
3
2
  interface NormalMenuProps {
4
3
  activePath?: string;
5
4
  collapse?: boolean;
@@ -7,5 +6,4 @@ interface NormalMenuProps {
7
6
  rounded?: boolean;
8
7
  theme?: 'dark' | 'light';
9
8
  }
10
- //#endregion
11
9
  export type { NormalMenuProps };
@@ -1,7 +1,7 @@
1
- import _sfc_main$1 from "../../../components/icon/icon.mjs";
1
+ import _sfc_main$1 from "../../../components/icon/taman-icon.mjs";
2
2
  import "../../../index.mjs";
3
3
  import { Fragment, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderList, toDisplayString, unref } from "vue";
4
- //#region src/menu/components/normal-menu/normal-menu.vue
4
+ // src/menu/components/normal-menu/normal-menu.vue
5
5
  const _hoisted_1 = ["onClick", "onMouseenter"];
6
6
  const _hoisted_2 = { class: "taman-normal-menu__name truncate" };
7
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
@@ -46,5 +46,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
46
46
  };
47
47
  }
48
48
  });
49
- //#endregion
50
49
  export { _sfc_main as default };
@@ -1,6 +1,5 @@
1
1
  import { NormalMenuProps } from "./normal-menu.js";
2
2
  import { TamanMenuRecordRaw } from "@vinicunca/taman-core/typings";
3
- //#region src/menu/components/normal-menu/normal-menu.vue.d.ts
4
3
  interface Props extends NormalMenuProps {}
5
4
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
5
  select: (args_0: TamanMenuRecordRaw) => any;
@@ -15,5 +14,4 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
15
14
  activePath: string;
16
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
16
  declare const _default: typeof __VLS_export;
18
- //#endregion
19
17
  export { _default as default };
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, openBlock } from "vue";
2
- //#region src/menu/components/taman-menu-badge-dot.vue
2
+ // src/menu/components/taman-menu-badge-dot.vue
3
3
  const _hoisted_1 = { class: "mr-1 flex size-1.5 relative" };
4
4
  const _sfc_main = /*@__PURE__*/ defineComponent({
5
5
  __name: "taman-menu-badge-dot",
@@ -19,5 +19,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
19
19
  };
20
20
  }
21
21
  });
22
- //#endregion
23
22
  export { _sfc_main as default };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main$1 from "./taman-menu-badge-dot.mjs";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, toDisplayString } from "vue";
3
3
  import { isValidColor } from "@vinicunca/taman-core/color";
4
- //#region src/menu/components/taman-menu-badge.vue
4
+ // src/menu/components/taman-menu-badge.vue
5
5
  const _sfc_main = /*@__PURE__*/ defineComponent({
6
6
  __name: "taman-menu-badge",
7
7
  props: {
@@ -45,5 +45,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
45
45
  };
46
46
  }
47
47
  });
48
- //#endregion
49
48
  export { _sfc_main as default };
@@ -1,9 +1,7 @@
1
1
  import { TamanMenuRecordBadgeRaw } from "@vinicunca/taman-core/typings";
2
- //#region src/menu/components/taman-menu-badge.vue.d.ts
3
2
  interface Props extends TamanMenuRecordBadgeRaw {
4
3
  hasChildren?: boolean;
5
4
  }
6
5
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
6
  declare const _default: typeof __VLS_export;
8
- //#endregion
9
7
  export { _default as default };
@@ -1,16 +1,16 @@
1
- import _sfc_main$1 from "../../components/icon/icon.mjs";
1
+ import _sfc_main$1 from "../../components/icon/taman-icon.mjs";
2
2
  import "../../index.mjs";
3
3
  import _sfc_main$2 from "./taman-menu-badge.mjs";
4
- import { TAMAN_MENU_ROOT_NAME } from "../menu.constants.mjs";
4
+ import "./index.mjs";
5
5
  import { useMenu } from "../composables/use-menu.mjs";
6
6
  import { useMenuContext, useSubMenuContext } from "../composables/use-menu-context.mjs";
7
7
  import "../composables/index.mjs";
8
- import "./index.mjs";
8
+ import { TAMAN_MENU_ROOT_NAME } from "../menu.constants.mjs";
9
9
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, onBeforeUnmount, onMounted, openBlock, reactive, renderSlot, resolveComponent, unref, useSlots, vShow, withCtx, withDirectives, withModifiers } from "vue";
10
10
  import { isHttpUrl } from "@vinicunca/taman-core/utils";
11
11
  import PTooltip from "pohon-ui/components/Tooltip.vue";
12
12
  import qs from "qs";
13
- //#region src/menu/components/taman-menu-item.vue
13
+ // src/menu/components/taman-menu-item.vue
14
14
  const _hoisted_1 = ["href"];
15
15
  const _hoisted_2 = { class: "taman-menu-tooltip__trigger" };
16
16
  const _hoisted_3 = {
@@ -120,5 +120,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
120
120
  };
121
121
  }
122
122
  });
123
- //#endregion
124
123
  export { _sfc_main as default };
@@ -1,14 +1,15 @@
1
- import { TAMAN_MENU_ROOT_NAME } from "../menu.constants.mjs";
2
- import { flattedChildren } from "../menu.utils.mjs";
3
- import { useMenuStyle } from "../composables/use-menu.mjs";
4
- import { createMenuContext, createSubMenuContext } from "../composables/use-menu-context.mjs";
1
+ import _sfc_main$1 from "../../components/icon/taman-icon.mjs";
2
+ import "../../components/index.mjs";
5
3
  import "../composables/index.mjs";
6
4
  import { useMenuScroll } from "../composables/use-menu-scroll.mjs";
7
- import _sfc_main$1 from "./taman-menu-sub-menu.mjs";
5
+ import { useMenuStyle } from "../composables/use-menu.mjs";
6
+ import { createMenuContext, createSubMenuContext } from "../composables/use-menu-context.mjs";
7
+ import { TAMAN_MENU_ROOT_NAME } from "../menu.constants.mjs";
8
+ import { flattedChildren } from "../menu.utils.mjs";
9
+ import _sfc_main$2 from "./taman-menu-sub-menu.mjs";
8
10
  import { Fragment, computed, createBlock, createElementBlock, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, toRef, unref, useSlots, watch, watchEffect, withCtx } from "vue";
9
11
  import { useResizeObserver } from "@vueuse/core";
10
- import PIcon from "pohon-ui/components/Icon.vue";
11
- //#region src/menu/components/taman-menu-root.vue
12
+ // src/menu/components/taman-menu-root.vue
12
13
  const _sfc_main = /*@__PURE__*/ defineComponent({
13
14
  name: TAMAN_MENU_ROOT_NAME,
14
15
  __name: "taman-menu-root",
@@ -233,11 +234,11 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
233
234
  role: "menu"
234
235
  }, [__props.mode === "horizontal" && getSlot.value.showSlotMore ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [(openBlock(true), createElementBlock(Fragment, null, renderList(getSlot.value.slotDefault, (item, index) => {
235
236
  return openBlock(), createBlock(resolveDynamicComponent(item), { key: index });
236
- }), 128)), createVNode(_sfc_main$1, {
237
+ }), 128)), createVNode(_sfc_main$2, {
237
238
  "is-sub-menu-more": "",
238
239
  path: "sub-menu-more"
239
240
  }, {
240
- title: withCtx(() => [createVNode(PIcon, { name: "lucide:ellipsis" })]),
241
+ title: withCtx(() => [createVNode(unref(_sfc_main$1), { icon: "lucide:ellipsis" })]),
241
242
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(getSlot.value.slotMore, (item, index) => {
242
243
  return openBlock(), createBlock(resolveDynamicComponent(item), { key: index });
243
244
  }), 128))]),
@@ -246,5 +247,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
246
247
  };
247
248
  }
248
249
  });
249
- //#endregion
250
250
  export { _sfc_main as default };
@@ -1,9 +1,9 @@
1
- import _sfc_main$1 from "../../components/icon/icon.mjs";
1
+ import _sfc_main$1 from "../../components/icon/taman-icon.mjs";
2
2
  import "../../index.mjs";
3
3
  import { useMenuContext } from "../composables/use-menu-context.mjs";
4
4
  import "../composables/index.mjs";
5
5
  import { computed, createBlock, createCommentVNode, createElementBlock, defineComponent, normalizeClass, normalizeStyle, openBlock, renderSlot, unref, vShow, withDirectives } from "vue";
6
- //#region src/menu/components/taman-menu-sub-menu-content.vue
6
+ // src/menu/components/taman-menu-sub-menu-content.vue
7
7
  const _hoisted_1 = {
8
8
  key: 1,
9
9
  class: "taman-sub-menu-content__title"
@@ -79,5 +79,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
79
79
  };
80
80
  }
81
81
  });
82
- //#endregion
83
82
  export { _sfc_main as default };