@vinicunca/taman-ui 0.1.2 → 0.1.4

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 (238) 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 +1 -2
  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/icon.mjs +1 -2
  26. package/dist/components/icon/icon.vue.d.ts +0 -2
  27. package/dist/components/index.mjs +10 -10
  28. package/dist/components/input/password-strength.d.ts +1 -3
  29. package/dist/components/input/password-strength.mjs +1 -2
  30. package/dist/components/input/taman-input-currency.mjs +1 -2
  31. package/dist/components/input/taman-input-currency.types.d.ts +1 -3
  32. package/dist/components/input/taman-input-currency.vue.d.ts +0 -2
  33. package/dist/components/input/taman-input-password.mjs +1 -2
  34. package/dist/components/input/taman-input-password.vue.d.ts +0 -2
  35. package/dist/components/input-date/format-calendar-input-value.mjs +1 -2
  36. package/dist/components/input-date/taman-input-date.mjs +1 -2
  37. package/dist/components/input-date/taman-input-date.types.d.ts +1 -3
  38. package/dist/components/input-date/taman-input-date.vue.d.ts +0 -2
  39. package/dist/components/loading/index.d.ts +1 -1
  40. package/dist/components/loading/taman-loading.mjs +1 -2
  41. package/dist/components/loading/taman-loading.vue.d.ts +5 -5
  42. package/dist/components/loading/types.d.ts +1 -3
  43. package/dist/components/logo/taman-logo.mjs +1 -2
  44. package/dist/components/logo/taman-logo.vue.d.ts +5 -5
  45. package/dist/components/render-content/render-content.mjs +1 -2
  46. package/dist/components/render-content/render-content.vue.d.ts +0 -2
  47. package/dist/components/scrollbar/scrollbar.mjs +4 -5
  48. package/dist/components/scrollbar/scrollbar.vue.d.ts +5 -5
  49. package/dist/form/components/form-actions.mjs +1 -2
  50. package/dist/form/components/form-field-array.mjs +3 -4
  51. package/dist/form/components/form-field-array.types.d.ts +1 -3
  52. package/dist/form/form-render/form-render-field-collapsible.mjs +1 -2
  53. package/dist/form/form-render/form-render-field-control.mjs +1 -2
  54. package/dist/form/form-render/form-render-form-field.mjs +1 -2
  55. package/dist/form/form-render/form-render-form-label.mjs +1 -2
  56. package/dist/form/form-render/form-render-form.mjs +4 -5
  57. package/dist/form/form-render/form-render-group.mjs +1 -2
  58. package/dist/form/form-render/form-render.context.mjs +1 -2
  59. package/dist/form/form-render/form-render.dependencies.mjs +1 -2
  60. package/dist/form/form-render/form-render.helper.mjs +1 -2
  61. package/dist/form/form-render/form-render.schema.mjs +1 -2
  62. package/dist/form/form-render/index.mjs +1 -1
  63. package/dist/form/form.api.d.ts +0 -2
  64. package/dist/form/form.api.mjs +2 -3
  65. package/dist/form/form.built-ins.d.ts +1 -3
  66. package/dist/form/form.built-ins.mjs +1 -2
  67. package/dist/form/form.codec.d.ts +0 -2
  68. package/dist/form/form.codec.mjs +1 -2
  69. package/dist/form/form.config.d.ts +1 -3
  70. package/dist/form/form.config.mjs +2 -3
  71. package/dist/form/form.empty-value.d.ts +1 -3
  72. package/dist/form/form.empty-value.mjs +1 -2
  73. package/dist/form/form.field-name.mjs +1 -2
  74. package/dist/form/form.rule-registry.mjs +1 -2
  75. package/dist/form/form.runtime-field.mjs +1 -2
  76. package/dist/form/form.runtime.mjs +1 -2
  77. package/dist/form/form.schema-defaults.mjs +1 -2
  78. package/dist/form/form.types.d.ts +0 -2
  79. package/dist/form/form.use-delayed-flag.mjs +1 -2
  80. package/dist/form/form.use-form-context.mjs +1 -2
  81. package/dist/form/form.use-taman-form.d.ts +0 -2
  82. package/dist/form/form.use-taman-form.mjs +1 -2
  83. package/dist/form/index.d.ts +1 -1
  84. package/dist/form/index.mjs +1 -1
  85. package/dist/form/taman-use-form.mjs +4 -5
  86. package/dist/index.mjs +2 -2
  87. package/dist/layout/components/taman-core-button-collapse.mjs +1 -2
  88. package/dist/layout/components/taman-core-button-fixed.mjs +1 -2
  89. package/dist/layout/components/taman-core-layout-content.mjs +1 -2
  90. package/dist/layout/components/taman-core-layout-footer.mjs +1 -2
  91. package/dist/layout/components/taman-core-layout-header.mjs +1 -2
  92. package/dist/layout/components/taman-core-layout-sidebar.mjs +1 -2
  93. package/dist/layout/components/taman-core-layout-tabbar.mjs +1 -2
  94. package/dist/layout/composables/use-layout.mjs +1 -2
  95. package/dist/layout/composables/use-sidebar-drag.mjs +1 -2
  96. package/dist/layout/header-scroll-state.mjs +1 -2
  97. package/dist/layout/taman-core-layout.d.ts +0 -2
  98. package/dist/layout/taman-core-layout.mjs +1 -2
  99. package/dist/layout/taman-core-layout.vue.d.ts +32 -27
  100. package/dist/menu/components/collapse-transition.mjs +1 -2
  101. package/dist/menu/components/index.mjs +3 -3
  102. package/dist/menu/components/normal-menu/normal-menu.d.ts +0 -2
  103. package/dist/menu/components/normal-menu/normal-menu.mjs +1 -2
  104. package/dist/menu/components/normal-menu/normal-menu.vue.d.ts +0 -2
  105. package/dist/menu/components/taman-menu-badge-dot.mjs +1 -2
  106. package/dist/menu/components/taman-menu-badge.mjs +1 -2
  107. package/dist/menu/components/taman-menu-badge.vue.d.ts +0 -2
  108. package/dist/menu/components/taman-menu-item.mjs +3 -4
  109. package/dist/menu/components/taman-menu-root.mjs +5 -6
  110. package/dist/menu/components/taman-menu-sub-menu-content.mjs +1 -2
  111. package/dist/menu/components/taman-menu-sub-menu.mjs +3 -4
  112. package/dist/menu/composables/use-menu-context.mjs +1 -2
  113. package/dist/menu/composables/use-menu-scroll.mjs +1 -2
  114. package/dist/menu/composables/use-menu.mjs +1 -2
  115. package/dist/menu/menu.constants.mjs +1 -2
  116. package/dist/menu/menu.types.d.ts +0 -2
  117. package/dist/menu/menu.utils.mjs +1 -2
  118. package/dist/menu/taman-menu.mjs +1 -2
  119. package/dist/menu/taman-menu.vue.d.ts +0 -2
  120. package/dist/menu/taman-sub-menu.mjs +1 -2
  121. package/dist/popup/alert/alert-builder.d.ts +1 -3
  122. package/dist/popup/alert/alert-builder.mjs +1 -2
  123. package/dist/popup/alert/alert-overlay.mjs +1 -2
  124. package/dist/popup/alert/alert.d.ts +1 -3
  125. package/dist/popup/alert/alert.mjs +1 -2
  126. package/dist/popup/alert/alert.vue.d.ts +0 -2
  127. package/dist/popup/alert/alert2.mjs +1 -2
  128. package/dist/popup/alert/index.mjs +1 -1
  129. package/dist/popup/dialog/dialog.api.d.ts +1 -3
  130. package/dist/popup/dialog/dialog.api.mjs +1 -2
  131. package/dist/popup/dialog/dialog.mjs +26 -16
  132. package/dist/popup/dialog/dialog.types.d.ts +0 -2
  133. package/dist/popup/dialog/dialog.vue.d.ts +25 -25
  134. package/dist/popup/dialog/use-dialog-draggable.mjs +1 -2
  135. package/dist/popup/dialog/use-taman-dialog.d.ts +0 -2
  136. package/dist/popup/dialog/use-taman-dialog.mjs +2 -3
  137. package/dist/popup/drawer/drawer.api.d.ts +1 -3
  138. package/dist/popup/drawer/drawer.api.mjs +1 -2
  139. package/dist/popup/drawer/drawer.mjs +29 -14
  140. package/dist/popup/drawer/drawer.types.d.ts +0 -2
  141. package/dist/popup/drawer/drawer.vue.d.ts +28 -28
  142. package/dist/popup/drawer/use-taman-drawer.d.ts +0 -2
  143. package/dist/popup/drawer/use-taman-drawer.mjs +2 -3
  144. package/dist/tabs/components/taman-tabs.mjs +1 -2
  145. package/dist/tabs/components/widgets/tool-more.mjs +1 -2
  146. package/dist/tabs/components/widgets/tool-more.vue.d.ts +0 -2
  147. package/dist/tabs/components/widgets/tool-refresh.mjs +1 -2
  148. package/dist/tabs/components/widgets/tool-refresh.vue.d.ts +0 -2
  149. package/dist/tabs/components/widgets/tool-screen.mjs +1 -2
  150. package/dist/tabs/components/widgets/tool-screen.vue.d.ts +0 -2
  151. package/dist/tabs/strict-context-menu.d.ts +0 -2
  152. package/dist/tabs/tabs.types.d.ts +1 -3
  153. package/dist/tabs/taman-tabs-view.mjs +1 -2
  154. package/dist/tabs/taman-tabs-view.vue.d.ts +0 -2
  155. package/dist/tabs/use-tabs-drag.mjs +1 -2
  156. package/dist/tabs/use-tabs-view-scroll.mjs +1 -2
  157. package/dist/ui/alert-dialog/alert-dialog-action.mjs +1 -2
  158. package/dist/ui/alert-dialog/alert-dialog-action.vue.d.ts +5 -5
  159. package/dist/ui/alert-dialog/alert-dialog-cancel.mjs +1 -2
  160. package/dist/ui/alert-dialog/alert-dialog-cancel.vue.d.ts +5 -5
  161. package/dist/ui/alert-dialog/alert-dialog-content.mjs +1 -2
  162. package/dist/ui/alert-dialog/alert-dialog-content.vue.d.ts +5 -5
  163. package/dist/ui/alert-dialog/alert-dialog-description.mjs +1 -2
  164. package/dist/ui/alert-dialog/alert-dialog-description.vue.d.ts +5 -5
  165. package/dist/ui/alert-dialog/alert-dialog-footer.mjs +1 -2
  166. package/dist/ui/alert-dialog/alert-dialog-footer.vue.d.ts +5 -5
  167. package/dist/ui/alert-dialog/alert-dialog-header.mjs +1 -2
  168. package/dist/ui/alert-dialog/alert-dialog-header.vue.d.ts +5 -5
  169. package/dist/ui/alert-dialog/alert-dialog-overlay.mjs +1 -2
  170. package/dist/ui/alert-dialog/alert-dialog-root.mjs +1 -2
  171. package/dist/ui/alert-dialog/alert-dialog-root.vue.d.ts +8 -8
  172. package/dist/ui/alert-dialog/alert-dialog-title.mjs +1 -2
  173. package/dist/ui/alert-dialog/alert-dialog-title.vue.d.ts +5 -5
  174. package/dist/ui/alert-dialog/alert-dialog-trigger.mjs +1 -2
  175. package/dist/ui/alert-dialog/alert-dialog-trigger.vue.d.ts +5 -5
  176. package/dist/ui/dialog/dialog-close.mjs +1 -2
  177. package/dist/ui/dialog/dialog-close.vue.d.ts +5 -5
  178. package/dist/ui/dialog/dialog-content.mjs +10 -6
  179. package/dist/ui/dialog/dialog-content.vue.d.ts +7 -5
  180. package/dist/ui/dialog/dialog-description.mjs +1 -2
  181. package/dist/ui/dialog/dialog-description.vue.d.ts +5 -5
  182. package/dist/ui/dialog/dialog-footer.mjs +1 -2
  183. package/dist/ui/dialog/dialog-footer.vue.d.ts +5 -5
  184. package/dist/ui/dialog/dialog-header.mjs +1 -2
  185. package/dist/ui/dialog/dialog-header.vue.d.ts +5 -5
  186. package/dist/ui/dialog/dialog-overlay.mjs +1 -2
  187. package/dist/ui/dialog/dialog-overlay.vue.d.ts +0 -2
  188. package/dist/ui/dialog/dialog-root.mjs +1 -2
  189. package/dist/ui/dialog/dialog-root.vue.d.ts +8 -8
  190. package/dist/ui/dialog/dialog-title.mjs +1 -2
  191. package/dist/ui/dialog/dialog-title.vue.d.ts +5 -5
  192. package/dist/ui/dialog/dialog-trigger.mjs +1 -2
  193. package/dist/ui/dialog/dialog-trigger.vue.d.ts +5 -5
  194. package/dist/ui/dialog/index.mjs +4 -4
  195. package/dist/ui/dialog/use-dialog-state-events.mjs +1 -2
  196. package/dist/ui/form/form-control.mjs +1 -2
  197. package/dist/ui/form/form-control.vue.d.ts +5 -5
  198. package/dist/ui/form/form-description.mjs +1 -2
  199. package/dist/ui/form/form-description.vue.d.ts +5 -5
  200. package/dist/ui/form/form-field.mjs +1 -2
  201. package/dist/ui/form/form-field.vue.d.ts +5 -5
  202. package/dist/ui/form/form-item.mjs +1 -2
  203. package/dist/ui/form/form-item.vue.d.ts +5 -5
  204. package/dist/ui/form/form-label.mjs +3 -4
  205. package/dist/ui/form/form-label.vue.d.ts +5 -5
  206. package/dist/ui/form/form-message.mjs +1 -2
  207. package/dist/ui/form/form-message.vue.d.ts +0 -2
  208. package/dist/ui/form/injection-keys.d.ts +1 -3
  209. package/dist/ui/form/injection-keys.mjs +1 -2
  210. package/dist/ui/form/use-form-field.mjs +1 -2
  211. package/dist/ui/index.mjs +2 -2
  212. package/dist/ui/label/label.mjs +1 -2
  213. package/dist/ui/label/label.vue.d.ts +5 -5
  214. package/dist/ui/scroll-area/index.mjs +3 -3
  215. package/dist/ui/scroll-area/scroll-area.mjs +1 -2
  216. package/dist/ui/scroll-area/scroll-area.vue.d.ts +5 -5
  217. package/dist/ui/scroll-area/scroll-bar.mjs +1 -2
  218. package/dist/ui/scroll-area/scroll-bar.vue.d.ts +0 -2
  219. package/dist/ui/sheet/sheet-close.mjs +1 -2
  220. package/dist/ui/sheet/sheet-close.vue.d.ts +5 -5
  221. package/dist/ui/sheet/sheet-content.mjs +9 -5
  222. package/dist/ui/sheet/sheet-content.vue.d.ts +7 -5
  223. package/dist/ui/sheet/sheet-description.mjs +1 -2
  224. package/dist/ui/sheet/sheet-description.vue.d.ts +5 -5
  225. package/dist/ui/sheet/sheet-footer.mjs +1 -2
  226. package/dist/ui/sheet/sheet-footer.vue.d.ts +5 -5
  227. package/dist/ui/sheet/sheet-header.mjs +1 -2
  228. package/dist/ui/sheet/sheet-header.vue.d.ts +5 -5
  229. package/dist/ui/sheet/sheet-overlay.mjs +1 -2
  230. package/dist/ui/sheet/sheet-root.mjs +1 -2
  231. package/dist/ui/sheet/sheet-root.vue.d.ts +8 -8
  232. package/dist/ui/sheet/sheet-title.mjs +1 -2
  233. package/dist/ui/sheet/sheet-title.vue.d.ts +5 -5
  234. package/dist/ui/sheet/sheet.variants.d.ts +1 -3
  235. package/dist/ui/sheet/sheet.variants.mjs +1 -2
  236. package/dist/unocss/content.d.ts +1 -3
  237. package/dist/unocss/content.mjs +1 -2
  238. package/package.json +8 -8
@@ -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.mjs CHANGED
@@ -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
1
  import _sfc_main$1 from "../../../components/icon/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
1
  import _sfc_main$1 from "../../components/icon/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,14 @@
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";
5
1
  import "../composables/index.mjs";
6
2
  import { useMenuScroll } from "../composables/use-menu-scroll.mjs";
3
+ import { useMenuStyle } from "../composables/use-menu.mjs";
4
+ import { createMenuContext, createSubMenuContext } from "../composables/use-menu-context.mjs";
5
+ import { TAMAN_MENU_ROOT_NAME } from "../menu.constants.mjs";
6
+ import { flattedChildren } from "../menu.utils.mjs";
7
7
  import _sfc_main$1 from "./taman-menu-sub-menu.mjs";
8
8
  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
9
  import { useResizeObserver } from "@vueuse/core";
10
10
  import PIcon from "pohon-ui/components/Icon.vue";
11
- //#region src/menu/components/taman-menu-root.vue
11
+ // src/menu/components/taman-menu-root.vue
12
12
  const _sfc_main = /*@__PURE__*/ defineComponent({
13
13
  name: TAMAN_MENU_ROOT_NAME,
14
14
  __name: "taman-menu-root",
@@ -246,5 +246,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
246
246
  };
247
247
  }
248
248
  });
249
- //#endregion
250
249
  export { _sfc_main as default };
@@ -3,7 +3,7 @@ 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 };
@@ -1,12 +1,12 @@
1
- import { TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME } from "../menu.constants.mjs";
1
+ import "../composables/index.mjs";
2
2
  import { useMenu, useMenuStyle } from "../composables/use-menu.mjs";
3
3
  import { createSubMenuContext, useMenuContext, useSubMenuContext } from "../composables/use-menu-context.mjs";
4
- import "../composables/index.mjs";
4
+ import { TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME } from "../menu.constants.mjs";
5
5
  import _sfc_main$1 from "./collapse-transition.mjs";
6
6
  import _sfc_main$2 from "./taman-menu-sub-menu-content.mjs";
7
7
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, reactive, ref, renderSlot, unref, vShow, withCtx, withDirectives, withModifiers } from "vue";
8
8
  import PPopover from "pohon-ui/components/Popover.vue";
9
- //#region src/menu/components/taman-menu-sub-menu.vue
9
+ // src/menu/components/taman-menu-sub-menu.vue
10
10
  const _sfc_main = /*@__PURE__*/ defineComponent({
11
11
  name: TAMAN_MENU_SUB_MENU_NAME,
12
12
  __name: "taman-menu-sub-menu",
@@ -212,5 +212,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
212
212
  };
213
213
  }
214
214
  });
215
- //#endregion
216
215
  export { _sfc_main as default };
@@ -1,7 +1,7 @@
1
1
  import { TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME } from "../menu.constants.mjs";
2
2
  import { findComponentUpward } from "../menu.utils.mjs";
3
3
  import { getCurrentInstance, inject, provide } from "vue";
4
- //#region src/menu/composables/use-menu-context.ts
4
+ // src/menu/composables/use-menu-context.ts
5
5
  const menuContextKey = Symbol("menuContext");
6
6
  /**
7
7
  * Provide menu context
@@ -32,5 +32,4 @@ function useSubMenuContext() {
32
32
  const parentMenu = findComponentUpward(instance, [TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME]);
33
33
  return inject(`subMenu:${parentMenu?.uid}`);
34
34
  }
35
- //#endregion
36
35
  export { createMenuContext, createSubMenuContext, useMenuContext, useSubMenuContext };
@@ -1,6 +1,6 @@
1
1
  import { watch } from "vue";
2
2
  import { useDebounceFn } from "@vueuse/core";
3
- //#region src/menu/composables/use-menu-scroll.ts
3
+ // src/menu/composables/use-menu-scroll.ts
4
4
  function useMenuScroll(activePath, options = {}) {
5
5
  const { enable = true, delay = 320 } = options;
6
6
  function scrollToActiveItem() {
@@ -19,5 +19,4 @@ function useMenuScroll(activePath, options = {}) {
19
19
  });
20
20
  return { scrollToActiveItem };
21
21
  }
22
- //#endregion
23
22
  export { useMenuScroll };
@@ -1,7 +1,7 @@
1
1
  import { TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME } from "../menu.constants.mjs";
2
2
  import { findComponentUpward } from "../menu.utils.mjs";
3
3
  import { computed, getCurrentInstance } from "vue";
4
- //#region src/menu/composables/use-menu.ts
4
+ // src/menu/composables/use-menu.ts
5
5
  function useMenu() {
6
6
  const instance = getCurrentInstance();
7
7
  if (!instance) throw new Error("instance is required");
@@ -29,5 +29,4 @@ function useMenuStyle(menu) {
29
29
  return { "--menu-level": menu ? menu?.level ?? 1 : 0 };
30
30
  });
31
31
  }
32
- //#endregion
33
32
  export { useMenu, useMenuStyle };
@@ -1,5 +1,4 @@
1
- //#region src/menu/menu.constants.ts
1
+ // src/menu/menu.constants.ts
2
2
  const TAMAN_MENU_ROOT_NAME = "TamanMenuRoot";
3
3
  const TAMAN_MENU_SUB_MENU_NAME = "TamanMenuSubMenu";
4
- //#endregion
5
4
  export { TAMAN_MENU_ROOT_NAME, TAMAN_MENU_SUB_MENU_NAME };
@@ -1,6 +1,5 @@
1
1
  import { Component, Ref } from "vue";
2
2
  import { Recordable, TamanMenuRecordBadgeRaw, TamanThemeModeType } from "@vinicunca/taman-core/typings";
3
- //#region src/menu/menu.types.d.ts
4
3
  interface MenuProps {
5
4
  accordion?: boolean;
6
5
  collapse?: boolean;
@@ -59,5 +58,4 @@ interface SubMenuProvider {
59
58
  mouseInChild: Ref<boolean>;
60
59
  removeSubMenu: (item: MenuItemRegistered) => void;
61
60
  }
62
- //#endregion
63
61
  export type { MenuItemClicked, MenuItemProps, MenuItemRegistered, MenuProps, MenuProvider, SubMenuProps, SubMenuProvider };
@@ -1,5 +1,5 @@
1
1
  import { isVNode } from "vue";
2
- //#region src/menu/menu.utils.ts
2
+ // src/menu/menu.utils.ts
3
3
  /**
4
4
  * Find the parent component upward
5
5
  * @param instance
@@ -23,5 +23,4 @@ function flattedChildren(children) {
23
23
  });
24
24
  return result;
25
25
  }
26
- //#endregion
27
26
  export { findComponentUpward, flattedChildren };
@@ -3,7 +3,7 @@ import "./components/index.mjs";
3
3
  import _sfc_main$2 from "./taman-sub-menu.mjs";
4
4
  import { Fragment, createBlock, createElementBlock, defineComponent, guardReactiveProps, normalizeProps, openBlock, renderList, unref, withCtx } from "vue";
5
5
  import { useForwardProps } from "@vinicunca/taman-core/composables";
6
- //#region src/menu/taman-menu.vue
6
+ // src/menu/taman-menu.vue
7
7
  const _sfc_main = /*@__PURE__*/ defineComponent({
8
8
  name: "TamanMenu",
9
9
  __name: "taman-menu",
@@ -37,5 +37,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
37
37
  };
38
38
  }
39
39
  });
40
- //#endregion
41
40
  export { _sfc_main as default };
@@ -1,6 +1,5 @@
1
1
  import { MenuProps } from "./menu.types.js";
2
2
  import { TamanMenuRecordRaw } from "@vinicunca/taman-core/typings";
3
- //#region src/menu/taman-menu.vue.d.ts
4
3
  interface Props extends MenuProps {
5
4
  menus: Array<TamanMenuRecordRaw>;
6
5
  }
@@ -8,5 +7,4 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
8
7
  collapse: boolean;
9
8
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
9
  declare const _default: typeof __VLS_export;
11
- //#endregion
12
10
  export { _default as default };
@@ -4,7 +4,7 @@ import _sfc_main$3 from "./components/taman-menu-sub-menu.mjs";
4
4
  import "./components/index.mjs";
5
5
  import "./taman-sub-menu.mjs";
6
6
  import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
7
- //#region src/menu/taman-sub-menu.vue
7
+ // src/menu/taman-sub-menu.vue
8
8
  const _sfc_main = /*@__PURE__*/ defineComponent({
9
9
  name: "TamanSubMenu",
10
10
  __name: "taman-sub-menu",
@@ -71,5 +71,4 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
71
71
  };
72
72
  }
73
73
  });
74
- //#endregion
75
74
  export { _sfc_main as default };