primitive-app 2.0.0 → 2.1.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 (147) hide show
  1. package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +2 -2
  2. package/dist/components/ui/native-select/NativeSelect.vue.d.ts.map +1 -1
  3. package/dist/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +6 -6
  4. package/dist/components/ui/native-select/NativeSelectOption.vue.d.ts +6 -6
  5. package/dist/components/ui/tabs/Tabs.vue.d.ts +25 -0
  6. package/dist/components/ui/tabs/Tabs.vue.d.ts.map +1 -0
  7. package/dist/components/ui/tabs/TabsContent.vue.d.ts +19 -0
  8. package/dist/components/ui/tabs/TabsContent.vue.d.ts.map +1 -0
  9. package/dist/components/ui/tabs/TabsList.vue.d.ts +19 -0
  10. package/dist/components/ui/tabs/TabsList.vue.d.ts.map +1 -0
  11. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +19 -0
  12. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts.map +1 -0
  13. package/dist/components/ui/tabs/index.d.ts +5 -0
  14. package/dist/components/ui/tabs/index.d.ts.map +1 -0
  15. package/dist/{components/debug-suite/pages/DebuggingSuiteTests.vue.d.ts → dev-tools/document-explorer/DocumentExplorerIndex.vue.d.ts} +1 -1
  16. package/dist/dev-tools/document-explorer/DocumentExplorerIndex.vue.d.ts.map +1 -0
  17. package/dist/dev-tools/document-explorer/DocumentExplorerModel.vue.d.ts +11 -0
  18. package/dist/dev-tools/document-explorer/DocumentExplorerModel.vue.d.ts.map +1 -0
  19. package/dist/{components/debug-suite/document-debugger → dev-tools/document-explorer}/DocumentSidebar.vue.d.ts +4 -3
  20. package/dist/dev-tools/document-explorer/DocumentSidebar.vue.d.ts.map +1 -0
  21. package/dist/{components/debug-suite/document-debugger → dev-tools/document-explorer}/dialogs/MassDeleteDocsDialog.vue.d.ts +1 -0
  22. package/dist/dev-tools/document-explorer/dialogs/MassDeleteDocsDialog.vue.d.ts.map +1 -0
  23. package/dist/dev-tools/document-explorer/dialogs/MassDeleteRecordsDialog.vue.d.ts.map +1 -0
  24. package/dist/{stores/documentDebuggerStore.d.ts → dev-tools/document-explorer/documentExplorerStore.d.ts} +6 -5
  25. package/dist/dev-tools/document-explorer/documentExplorerStore.d.ts.map +1 -0
  26. package/dist/dev-tools/document-explorer/index.d.ts +12 -0
  27. package/dist/dev-tools/document-explorer/index.d.ts.map +1 -0
  28. package/dist/dev-tools/document-explorer/types.d.ts.map +1 -0
  29. package/dist/{components/debug-suite/document-debugger → dev-tools/document-explorer}/utils.d.ts +1 -1
  30. package/dist/dev-tools/document-explorer/utils.d.ts.map +1 -0
  31. package/dist/dev-tools/index.d.ts +20 -0
  32. package/dist/dev-tools/index.d.ts.map +1 -0
  33. package/dist/{components/debug-suite/pages/DebugSuiteLayout.vue.d.ts → dev-tools/test-harness/TestRunner.vue.d.ts} +6 -6
  34. package/dist/dev-tools/test-harness/TestRunner.vue.d.ts.map +1 -0
  35. package/dist/dev-tools/test-harness/index.d.ts +7 -0
  36. package/dist/dev-tools/test-harness/index.d.ts.map +1 -0
  37. package/dist/dev-tools/test-harness/lib.d.ts +29 -0
  38. package/dist/dev-tools/test-harness/lib.d.ts.map +1 -0
  39. package/dist/dev-tools/test-harness/types.d.ts +42 -0
  40. package/dist/dev-tools/test-harness/types.d.ts.map +1 -0
  41. package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts +11 -0
  42. package/dist/dev-tools/vite-plugin/DevToolsFloatingButton.vue.d.ts.map +1 -0
  43. package/dist/dev-tools/vite-plugin/DevToolsOverlay.vue.d.ts +13 -0
  44. package/dist/dev-tools/vite-plugin/DevToolsOverlay.vue.d.ts.map +1 -0
  45. package/dist/{components/debug-suite/PrimitiveDebuggingSuite.vue.d.ts → dev-tools/vite-plugin/DevToolsRoot.vue.d.ts} +4 -10
  46. package/dist/dev-tools/vite-plugin/DevToolsRoot.vue.d.ts.map +1 -0
  47. package/dist/dev-tools/vite-plugin/index.cjs +60 -0
  48. package/dist/dev-tools/vite-plugin/index.d.ts +11 -0
  49. package/dist/dev-tools/vite-plugin/index.d.ts.map +1 -0
  50. package/dist/dev-tools/vite-plugin/index.js +116 -0
  51. package/dist/dev-tools/vite-plugin/plugin.d.ts +22 -0
  52. package/dist/dev-tools/vite-plugin/plugin.d.ts.map +1 -0
  53. package/dist/dev-tools/vite-plugin/test-discovery.d.ts +6 -0
  54. package/dist/dev-tools/vite-plugin/test-discovery.d.ts.map +1 -0
  55. package/dist/index.cjs +8 -0
  56. package/dist/index.d.ts +5 -39
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +11501 -19246
  59. package/dist/lib/logger.d.ts +5 -0
  60. package/dist/lib/logger.d.ts.map +1 -1
  61. package/dist/services/JsBaoClientService.d.ts +15 -34
  62. package/dist/services/JsBaoClientService.d.ts.map +1 -1
  63. package/package.json +8 -2
  64. package/dist/components/auth/EditProfile.vue.d.ts +0 -34
  65. package/dist/components/auth/EditProfile.vue.d.ts.map +0 -1
  66. package/dist/components/auth/PasskeyManagement.vue.d.ts +0 -16
  67. package/dist/components/auth/PasskeyManagement.vue.d.ts.map +0 -1
  68. package/dist/components/auth/PrimitiveLogin.vue.d.ts +0 -81
  69. package/dist/components/auth/PrimitiveLogin.vue.d.ts.map +0 -1
  70. package/dist/components/auth/PrimitiveLogout.vue.d.ts +0 -32
  71. package/dist/components/auth/PrimitiveLogout.vue.d.ts.map +0 -1
  72. package/dist/components/auth/PrimitiveOauthCallback.vue.d.ts +0 -63
  73. package/dist/components/auth/PrimitiveOauthCallback.vue.d.ts.map +0 -1
  74. package/dist/components/debug-suite/EphemeralDocService.d.ts +0 -46
  75. package/dist/components/debug-suite/EphemeralDocService.d.ts.map +0 -1
  76. package/dist/components/debug-suite/PrimitiveDebuggingSuite.vue.d.ts.map +0 -1
  77. package/dist/components/debug-suite/PrimitiveTestRunner.vue.d.ts +0 -19
  78. package/dist/components/debug-suite/PrimitiveTestRunner.vue.d.ts.map +0 -1
  79. package/dist/components/debug-suite/document-debugger/DocumentDebuggerIndex.vue.d.ts +0 -4
  80. package/dist/components/debug-suite/document-debugger/DocumentDebuggerIndex.vue.d.ts.map +0 -1
  81. package/dist/components/debug-suite/document-debugger/DocumentDebuggerModel.vue.d.ts +0 -4
  82. package/dist/components/debug-suite/document-debugger/DocumentDebuggerModel.vue.d.ts.map +0 -1
  83. package/dist/components/debug-suite/document-debugger/DocumentSidebar.vue.d.ts.map +0 -1
  84. package/dist/components/debug-suite/document-debugger/dialogs/MassDeleteDocsDialog.vue.d.ts.map +0 -1
  85. package/dist/components/debug-suite/document-debugger/dialogs/MassDeleteRecordsDialog.vue.d.ts.map +0 -1
  86. package/dist/components/debug-suite/document-debugger/types.d.ts.map +0 -1
  87. package/dist/components/debug-suite/document-debugger/utils.d.ts.map +0 -1
  88. package/dist/components/debug-suite/pages/DebugSuiteLayout.vue.d.ts.map +0 -1
  89. package/dist/components/debug-suite/pages/DebuggingSuiteDocuments.vue.d.ts +0 -4
  90. package/dist/components/debug-suite/pages/DebuggingSuiteDocuments.vue.d.ts.map +0 -1
  91. package/dist/components/debug-suite/pages/DebuggingSuiteDocumentsModel.vue.d.ts +0 -4
  92. package/dist/components/debug-suite/pages/DebuggingSuiteDocumentsModel.vue.d.ts.map +0 -1
  93. package/dist/components/debug-suite/pages/DebuggingSuiteHome.vue.d.ts +0 -4
  94. package/dist/components/debug-suite/pages/DebuggingSuiteHome.vue.d.ts.map +0 -1
  95. package/dist/components/debug-suite/pages/DebuggingSuiteTests.vue.d.ts.map +0 -1
  96. package/dist/components/debug-suite/testTypes.d.ts +0 -18
  97. package/dist/components/debug-suite/testTypes.d.ts.map +0 -1
  98. package/dist/components/documents/PrimitiveDocumentList.vue.d.ts +0 -36
  99. package/dist/components/documents/PrimitiveDocumentList.vue.d.ts.map +0 -1
  100. package/dist/components/documents/PrimitiveDocumentSwitcher.vue.d.ts +0 -44
  101. package/dist/components/documents/PrimitiveDocumentSwitcher.vue.d.ts.map +0 -1
  102. package/dist/components/documents/PrimitiveShareDocumentDialog.vue.d.ts +0 -33
  103. package/dist/components/documents/PrimitiveShareDocumentDialog.vue.d.ts.map +0 -1
  104. package/dist/components/shared/PrimitiveMobileTabBar.vue.d.ts +0 -40
  105. package/dist/components/shared/PrimitiveMobileTabBar.vue.d.ts.map +0 -1
  106. package/dist/components/shared/PrimitiveUserMenu.vue.d.ts +0 -38
  107. package/dist/components/shared/PrimitiveUserMenu.vue.d.ts.map +0 -1
  108. package/dist/components/shared/PrimitiveUserTabItem.vue.d.ts +0 -41
  109. package/dist/components/shared/PrimitiveUserTabItem.vue.d.ts.map +0 -1
  110. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -15
  111. package/dist/components/ui/carousel/CarouselContent.vue.d.ts.map +0 -1
  112. package/dist/components/ui/carousel/CarouselItem.vue.d.ts +0 -15
  113. package/dist/components/ui/carousel/CarouselItem.vue.d.ts.map +0 -1
  114. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -23
  115. package/dist/components/ui/carousel/CarouselNext.vue.d.ts.map +0 -1
  116. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -23
  117. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts.map +0 -1
  118. package/dist/components/ui/carousel/index.d.ts +0 -8
  119. package/dist/components/ui/carousel/index.d.ts.map +0 -1
  120. package/dist/components/ui/carousel/interface.d.ts +0 -31
  121. package/dist/components/ui/carousel/interface.d.ts.map +0 -1
  122. package/dist/components/ui/carousel/useCarousel.d.ts +0 -5
  123. package/dist/components/ui/carousel/useCarousel.d.ts.map +0 -1
  124. package/dist/composables/useTheme.d.ts +0 -34
  125. package/dist/composables/useTheme.d.ts.map +0 -1
  126. package/dist/createPrimitiveApp.d.ts +0 -57
  127. package/dist/createPrimitiveApp.d.ts.map +0 -1
  128. package/dist/index.umd.cjs +0 -9
  129. package/dist/lib/routeOrUrl.d.ts +0 -25
  130. package/dist/lib/routeOrUrl.d.ts.map +0 -1
  131. package/dist/models/UserPref.d.ts +0 -10
  132. package/dist/models/UserPref.d.ts.map +0 -1
  133. package/dist/models/generated/index.d.ts +0 -3
  134. package/dist/models/generated/index.d.ts.map +0 -1
  135. package/dist/models/generated/relationships.d.ts +0 -2
  136. package/dist/models/generated/relationships.d.ts.map +0 -1
  137. package/dist/pages/PrimitiveNotFound.vue.d.ts +0 -18
  138. package/dist/pages/PrimitiveNotFound.vue.d.ts.map +0 -1
  139. package/dist/router/primitiveRouter.d.ts +0 -77
  140. package/dist/router/primitiveRouter.d.ts.map +0 -1
  141. package/dist/stores/documentDebuggerStore.d.ts.map +0 -1
  142. package/dist/stores/userStore.d.ts +0 -413
  143. package/dist/stores/userStore.d.ts.map +0 -1
  144. package/dist/types/router.d.ts +0 -14
  145. package/dist/types/router.d.ts.map +0 -1
  146. /package/dist/{components/debug-suite/document-debugger → dev-tools/document-explorer}/dialogs/MassDeleteRecordsDialog.vue.d.ts +0 -0
  147. /package/dist/{components/debug-suite/document-debugger → dev-tools/document-explorer}/types.d.ts +0 -0
@@ -1,44 +0,0 @@
1
- import type { Component } from "vue";
2
- interface Props {
3
- /**
4
- * Label text displayed in the header (e.g., app name or current context).
5
- */
6
- label: string;
7
- /**
8
- * Icon component to display in the header.
9
- */
10
- icon?: Component;
11
- /**
12
- * ID of the currently active document (used to highlight in the menu).
13
- */
14
- currentDocumentId?: string | null;
15
- /**
16
- * Plural name for documents (e.g., "Projects", "Workspaces").
17
- * Used in "Manage [Documents]" label.
18
- */
19
- documentNamePlural?: string;
20
- /**
21
- * Route path for the manage documents page.
22
- * If not provided, the manage link is hidden.
23
- */
24
- manageDocumentsPath?: string;
25
- /**
26
- * Whether the component is rendered in mobile mode.
27
- * Affects dropdown menu positioning.
28
- */
29
- mobile?: boolean;
30
- }
31
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
32
- navigate: () => any;
33
- "switch-document": (documentId: string, title: string) => any;
34
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
35
- onNavigate?: (() => any) | undefined;
36
- "onSwitch-document"?: ((documentId: string, title: string) => any) | undefined;
37
- }>, {
38
- currentDocumentId: string | null;
39
- documentNamePlural: string;
40
- mobile: boolean;
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
- declare const _default: typeof __VLS_export;
43
- export default _default;
44
- //# sourceMappingURL=PrimitiveDocumentSwitcher.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveDocumentSwitcher.vue.d.ts","sourceRoot":"","sources":["../../../src/components/documents/PrimitiveDocumentSwitcher.vue"],"names":[],"mappings":"AAiWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AA+BrC,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA0cD,QAAA,MAAM,YAAY;;;;;;;uBA1dI,MAAM,GAAG,IAAI;wBAKZ,MAAM;YAUlB,OAAO;6EA+chB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,33 +0,0 @@
1
- interface Props {
2
- /**
3
- * Whether the dialog is open.
4
- */
5
- isOpen: boolean;
6
- /**
7
- * Document identifier to load permissions for. When `null`, the dialog renders
8
- * but will not load data.
9
- */
10
- documentId: string | null;
11
- /**
12
- * Human-readable label used in the dialog title/copy (e.g. "Document", "Workspace").
13
- * @default "Document"
14
- */
15
- documentLabel?: string;
16
- /**
17
- * URL template for invitation links. Use `{documentId}` as a placeholder that will
18
- * be replaced with the actual document ID. If not provided, no documentUrl will be
19
- * included in the invitation.
20
- * @example "https://example.com/documents/{documentId}"
21
- */
22
- inviteUrlTemplate?: string;
23
- }
24
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
25
- close: () => any;
26
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
27
- onClose?: (() => any) | undefined;
28
- }>, {
29
- documentLabel: string;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
- declare const _default: typeof __VLS_export;
32
- export default _default;
33
- //# sourceMappingURL=PrimitiveShareDocumentDialog.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveShareDocumentDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/documents/PrimitiveShareDocumentDialog.vue"],"names":[],"mappings":"AAu7BA,UAAU,KAAK;IACb;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAgwDD,QAAA,MAAM,YAAY;;;;;mBAxwDA,MAAM;6EA4wDtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,40 +0,0 @@
1
- /**
2
- * Mobile bottom navigation tab bar.
3
- *
4
- * Fixed to the bottom of the viewport, provides icon + label navigation
5
- * links with active state highlighting.
6
- */
7
- import type { Component } from "vue";
8
- /**
9
- * Navigation item configuration for the tab bar.
10
- */
11
- export interface TabBarItem {
12
- /** Unique identifier for the item */
13
- name: string;
14
- /** Display label shown below the icon */
15
- label: string;
16
- /** Lucide icon component */
17
- icon: Component;
18
- /** Route path to navigate to */
19
- path: string;
20
- }
21
- interface Props {
22
- /**
23
- * Navigation items to display in the tab bar.
24
- */
25
- items: TabBarItem[];
26
- }
27
- declare var __VLS_12: {};
28
- type __VLS_Slots = {} & {
29
- trailing?: (props: typeof __VLS_12) => any;
30
- };
31
- declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
- declare const _default: typeof __VLS_export;
34
- export default _default;
35
- type __VLS_WithSlots<T, S> = T & {
36
- new (): {
37
- $slots: S;
38
- };
39
- };
40
- //# sourceMappingURL=PrimitiveMobileTabBar.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveMobileTabBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/PrimitiveMobileTabBar.vue"],"names":[],"mappings":"AA4EA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAIrC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAkHD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKjD,QAAA,MAAM,UAAU,sRAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,38 +0,0 @@
1
- import type { Component } from "vue";
2
- export interface UserMenuUserInfo {
3
- name: string;
4
- email: string;
5
- avatarUrl?: string;
6
- }
7
- export interface UserMenuItem {
8
- /** Unique identifier for the menu item */
9
- id: string;
10
- /** Display label */
11
- label: string;
12
- /** Lucide icon component */
13
- icon: Component;
14
- /** If provided, renders as a RouterLink to this path */
15
- to?: string;
16
- }
17
- interface Props {
18
- /** User information to display */
19
- user: UserMenuUserInfo;
20
- /** Whether the user is online */
21
- isOnline?: boolean;
22
- /** Menu items to display in the dropdown */
23
- menuItems?: UserMenuItem[];
24
- /** Side to display the dropdown menu (for sidebar context) */
25
- menuSide?: "top" | "bottom" | "left" | "right";
26
- }
27
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
- "menu-item-click": (itemId: string) => any;
29
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
30
- "onMenu-item-click"?: ((itemId: string) => any) | undefined;
31
- }>, {
32
- isOnline: boolean;
33
- menuItems: UserMenuItem[];
34
- menuSide: "top" | "bottom" | "left" | "right";
35
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
- declare const _default: typeof __VLS_export;
37
- export default _default;
38
- //# sourceMappingURL=PrimitiveUserMenu.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveUserMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/PrimitiveUserMenu.vue"],"names":[],"mappings":"AAkLA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,0CAA0C;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,wDAAwD;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,UAAU,KAAK;IACb,kCAAkC;IAClC,IAAI,EAAE,gBAAgB,CAAC;IACvB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAChD;AAsaD,QAAA,MAAM,YAAY;;;;;cA3aL,OAAO;eAEN,YAAY,EAAE;cAEf,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;6EA2a9C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,41 +0,0 @@
1
- import type { Component } from "vue";
2
- /**
3
- * User information to display.
4
- */
5
- export interface UserTabUserInfo {
6
- name: string;
7
- email: string;
8
- avatarUrl?: string;
9
- }
10
- /**
11
- * Menu item configuration.
12
- */
13
- export interface UserTabMenuItem {
14
- /** Unique identifier for the menu item */
15
- id: string;
16
- /** Display label */
17
- label: string;
18
- /** Lucide icon component */
19
- icon: Component;
20
- /** If provided, renders as a RouterLink to this path */
21
- to?: string;
22
- }
23
- interface Props {
24
- /** User information to display */
25
- user: UserTabUserInfo;
26
- /** Whether the user is online */
27
- isOnline?: boolean;
28
- /** Menu items to display in the sheet */
29
- menuItems?: UserTabMenuItem[];
30
- }
31
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
32
- "menu-item-click": (itemId: string) => any;
33
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
34
- "onMenu-item-click"?: ((itemId: string) => any) | undefined;
35
- }>, {
36
- isOnline: boolean;
37
- menuItems: UserTabMenuItem[];
38
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
- declare const _default: typeof __VLS_export;
40
- export default _default;
41
- //# sourceMappingURL=PrimitiveUserTabItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimitiveUserTabItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/PrimitiveUserTabItem.vue"],"names":[],"mappings":"AAgMA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAIrC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,wDAAwD;IACxD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,UAAU,KAAK;IACb,kCAAkC;IAClC,IAAI,EAAE,eAAe,CAAC;IACtB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;CAC/B;AAkYD,QAAA,MAAM,YAAY;;;;;cArYL,OAAO;eAEN,eAAe,EAAE;6EAuY7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,15 +0,0 @@
1
- import type { WithClassAsProps } from "./interface";
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<WithClassAsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WithClassAsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
- declare const _default: typeof __VLS_export;
9
- export default _default;
10
- type __VLS_WithSlots<T, S> = T & {
11
- new (): {
12
- $slots: S;
13
- };
14
- };
15
- //# sourceMappingURL=CarouselContent.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/CarouselContent.vue"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAkDpD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU,4SAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,15 +0,0 @@
1
- import type { WithClassAsProps } from "./interface";
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<WithClassAsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WithClassAsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
- declare const _default: typeof __VLS_export;
9
- export default _default;
10
- type __VLS_WithSlots<T, S> = T & {
11
- new (): {
12
- $slots: S;
13
- };
14
- };
15
- //# sourceMappingURL=CarouselItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/CarouselItem.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA0CpD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,4SAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { WithClassAsProps } from "./interface";
2
- import type { ButtonVariants } from "@/components/ui/button";
3
- type __VLS_Props = {
4
- variant?: ButtonVariants["variant"];
5
- size?: ButtonVariants["size"];
6
- } & WithClassAsProps;
7
- declare var __VLS_10: {};
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_10) => any;
10
- };
11
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
- size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
13
- variant: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
- declare const _default: typeof __VLS_export;
17
- export default _default;
18
- type __VLS_WithSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
23
- //# sourceMappingURL=CarouselNext.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselNext.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/CarouselNext.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAM7D,KAAK,WAAW,GAAG;IACb,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;CAC/B,GAAG,gBAAgB,CAAC;AAoGzB,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { WithClassAsProps } from "./interface";
2
- import type { ButtonVariants } from "@/components/ui/button";
3
- type __VLS_Props = {
4
- variant?: ButtonVariants["variant"];
5
- size?: ButtonVariants["size"];
6
- } & WithClassAsProps;
7
- declare var __VLS_10: {};
8
- type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_10) => any;
10
- };
11
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
- size: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null;
13
- variant: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
- declare const _default: typeof __VLS_export;
17
- export default _default;
18
- type __VLS_WithSlots<T, S> = T & {
19
- new (): {
20
- $slots: S;
21
- };
22
- };
23
- //# sourceMappingURL=CarouselPrevious.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselPrevious.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/CarouselPrevious.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAM7D,KAAK,WAAW,GAAG;IACb,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC;CAC/B,GAAG,gBAAgB,CAAC;AAoGzB,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;6EAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,8 +0,0 @@
1
- export { default as Carousel } from "./Carousel.vue";
2
- export { default as CarouselContent } from "./CarouselContent.vue";
3
- export { default as CarouselItem } from "./CarouselItem.vue";
4
- export { default as CarouselNext } from "./CarouselNext.vue";
5
- export { default as CarouselPrevious } from "./CarouselPrevious.vue";
6
- export type { UnwrapRefCarouselApi as CarouselApi } from "./interface";
7
- export { useCarousel } from "./useCarousel";
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,YAAY,EAAE,oBAAoB,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1,31 +0,0 @@
1
- import type useEmblaCarousel from "embla-carousel-vue";
2
- import type { EmblaCarouselVueType } from "embla-carousel-vue";
3
- import type { HTMLAttributes, Ref, UnwrapRef } from "vue";
4
- type CarouselApi = EmblaCarouselVueType[1];
5
- type CarouselRef = EmblaCarouselVueType[0];
6
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
7
- type CarouselOptions = UseCarouselParameters[0];
8
- type CarouselPlugin = UseCarouselParameters[1];
9
- export type UnwrapRefCarouselApi = UnwrapRef<CarouselApi>;
10
- export interface CarouselProps {
11
- opts?: CarouselOptions;
12
- plugins?: CarouselPlugin;
13
- orientation?: "horizontal" | "vertical";
14
- }
15
- export interface CarouselEmits {
16
- (e: "init-api", payload: UnwrapRefCarouselApi): void;
17
- }
18
- export interface WithClassAsProps {
19
- class?: HTMLAttributes["class"];
20
- }
21
- export interface CarouselState {
22
- carouselRef: CarouselRef;
23
- carouselApi: CarouselApi;
24
- canScrollPrev: Ref<boolean>;
25
- canScrollNext: Ref<boolean>;
26
- scrollPrev: () => void;
27
- scrollNext: () => void;
28
- orientation: "horizontal" | "vertical" | undefined;
29
- }
30
- export {};
31
- //# sourceMappingURL=interface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAE1D,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAChD,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACtD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC5B,aAAa,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC5B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,CAAC;CACpD"}
@@ -1,5 +0,0 @@
1
- import type { CarouselEmits, CarouselProps, CarouselState } from "./interface";
2
- declare const useProvideCarousel: (args_0: CarouselProps, emits: CarouselEmits) => CarouselState;
3
- declare function useCarousel(): CarouselState;
4
- export { useCarousel, useProvideCarousel };
5
- //# sourceMappingURL=useCarousel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCarousel.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/carousel/useCarousel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,aAAa,EACb,aAAa,EACd,MAAM,aAAa,CAAC;AAKrB,QAAA,MAAO,kBAAkB,gEAgDxB,CAAC;AAEF,iBAAS,WAAW,IAAI,aAAa,CAOpC;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,34 +0,0 @@
1
- import { type Ref } from "vue";
2
- export interface SetThemeClassOptions {
3
- /**
4
- * Prefix used to identify existing theme classes on <html>. Any class that
5
- * starts with this prefix will be removed before applying the new one.
6
- *
7
- * Defaults to "theme-".
8
- */
9
- prefix?: string;
10
- }
11
- export interface ClearThemeOptions {
12
- /**
13
- * Prefix used to identify theme classes to remove. Defaults to "theme-".
14
- */
15
- prefix?: string;
16
- /**
17
- * Whether to also remove the "dark" class. Defaults to true.
18
- */
19
- clearDarkMode?: boolean;
20
- }
21
- /**
22
- * Theme helper composable for applying global theme and dark mode classes.
23
- *
24
- * This composable mutates the `<html>` element's class list (e.g. `theme-foo`,
25
- * `dark`) and provides small utilities to bind reactive state to those classes.
26
- */
27
- export declare function useTheme(): {
28
- setThemeClass: (className: string | null, options?: SetThemeClassOptions) => void;
29
- setThemeDarkMode: (enabled: boolean) => void;
30
- clearTheme: (options?: ClearThemeOptions) => void;
31
- bindThemeClass: (source: Ref<string | null>, options?: SetThemeClassOptions) => void;
32
- bindThemeDarkMode: (source: Ref<boolean | string | null>) => void;
33
- };
34
- //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/composables/useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,GAAG,EAAE,MAAM,KAAK,CAAC;AAOtC,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ;+BAUT,MAAM,GAAG,IAAI,YACd,oBAAoB,KAC7B,IAAI;gCA8B4B,OAAO,KAAG,IAAI;2BA4BnB,iBAAiB,KAAG,IAAI;6BA4B5C,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,YAChB,oBAAoB,KAC7B,IAAI;gCAgB4B,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,KAAG,IAAI;EAmBvE"}
@@ -1,57 +0,0 @@
1
- import { type Pinia } from "pinia";
2
- import type { Component } from "vue";
3
- import { type App as VueApp } from "vue";
4
- import type { Router } from "vue-router";
5
- import type { LogLevel } from "./lib/logger";
6
- import { initializeJsBao } from "./services/JsBaoClientService";
7
- type JsBaoConfig = Parameters<typeof initializeJsBao>[0];
8
- export interface PrimitiveAppBootstrapOptions {
9
- /**
10
- * Root component for the main application (app shell).
11
- */
12
- mainComponent: Component;
13
- /**
14
- * The vue-router instance used by the main application.
15
- */
16
- router: Router;
17
- /**
18
- * js-bao client configuration.
19
- */
20
- jsBaoConfig: JsBaoConfig;
21
- /**
22
- * Optional global log level applied to the shared logger infrastructure.
23
- * When provided, this overrides any environment-derived defaults inside
24
- * the primitive-app library so consumer apps can control logging behavior
25
- * using their own runtime environment.
26
- */
27
- logLevel?: LogLevel;
28
- /**
29
- * Selector or element to mount the app into. Defaults to "#app".
30
- */
31
- mountTarget?: string | Element;
32
- }
33
- export interface PrimitiveAppBootstrapResult {
34
- app: VueApp<Element>;
35
- pinia: Pinia;
36
- router: Router;
37
- }
38
- /**
39
- * High-level bootstrap helper that wires a Vue 3 + Pinia + vue-router app
40
- * into primitive-app and js-bao.
41
- *
42
- * This function:
43
- * 1. Creates and installs Pinia
44
- * 2. Initializes the js-bao client
45
- * 3. Initializes the user store (auth state)
46
- * 4. Installs the router
47
- * 5. Mounts the app
48
- *
49
- * Apps are responsible for:
50
- * - Creating the router with createPrimitiveRouter()
51
- * - Handling sign-out events (watch userStore.isAuthenticated)
52
- * - Initializing document stores if needed
53
- * - Building their own layouts and navigation
54
- */
55
- export declare function createPrimitiveApp(options: PrimitiveAppBootstrapOptions): Promise<PrimitiveAppBootstrapResult>;
56
- export {};
57
- //# sourceMappingURL=createPrimitiveApp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPrimitiveApp.d.ts","sourceRoot":"","sources":["../src/createPrimitiveApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAa,KAAK,GAAG,IAAI,MAAM,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,KAAK,WAAW,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAEzD,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,aAAa,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IAEzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAChC;AAED,MAAM,WAAW,2BAA2B;IAC1C,GAAG,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,4BAA4B,GACpC,OAAO,CAAC,2BAA2B,CAAC,CA0BtC"}