@hexclave/tanstack-start 1.0.22 → 1.0.24

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 (102) hide show
  1. package/dist/clickmap/clickmap-core.js +1 -1
  2. package/dist/clickmap/index.js +2 -2
  3. package/dist/components/api-key-dialogs.js +2 -2
  4. package/dist/components/credential-sign-in.js +1 -1
  5. package/dist/components/credential-sign-up.js +1 -1
  6. package/dist/components/elements/sidebar-layout.js +1 -1
  7. package/dist/components/magic-link-sign-in.js +1 -1
  8. package/dist/components/team-switcher.js +1 -1
  9. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  10. package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  11. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  12. package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
  13. package/dist/components-page/account-settings/profile-page/profile-page.js +1 -1
  14. package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
  15. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  16. package/dist/components-page/auth-page.js +1 -1
  17. package/dist/components-page/cli-auth-confirm.js +1 -1
  18. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  19. package/dist/components-page/forgot-password.js +1 -1
  20. package/dist/components-page/oauth-callback.js +1 -1
  21. package/dist/components-page/onboarding.js +1 -1
  22. package/dist/components-page/password-reset.js +1 -1
  23. package/dist/components-page/team-creation.js +1 -1
  24. package/dist/dev-tool/dev-tool-core.js +1 -1
  25. package/dist/dev-tool/index.d.ts +6 -5
  26. package/dist/dev-tool/index.d.ts.map +1 -1
  27. package/dist/dev-tool/index.js +17 -7
  28. package/dist/dev-tool/index.js.map +1 -1
  29. package/dist/esm/clickmap/clickmap-core.js +1 -1
  30. package/dist/esm/clickmap/index.js +2 -2
  31. package/dist/esm/components/api-key-dialogs.js +2 -2
  32. package/dist/esm/components/credential-sign-in.js +1 -1
  33. package/dist/esm/components/credential-sign-up.js +1 -1
  34. package/dist/esm/components/elements/sidebar-layout.js +1 -1
  35. package/dist/esm/components/magic-link-sign-in.js +1 -1
  36. package/dist/esm/components/team-switcher.js +1 -1
  37. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  38. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  39. package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  40. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
  41. package/dist/esm/components-page/account-settings/profile-page/profile-page.js +1 -1
  42. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
  43. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  44. package/dist/esm/components-page/auth-page.js +1 -1
  45. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  46. package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
  47. package/dist/esm/components-page/forgot-password.js +1 -1
  48. package/dist/esm/components-page/oauth-callback.js +1 -1
  49. package/dist/esm/components-page/onboarding.js +1 -1
  50. package/dist/esm/components-page/password-reset.js +1 -1
  51. package/dist/esm/components-page/team-creation.js +1 -1
  52. package/dist/esm/dev-tool/dev-tool-core.js +1 -1
  53. package/dist/esm/dev-tool/index.d.ts +6 -5
  54. package/dist/esm/dev-tool/index.d.ts.map +1 -1
  55. package/dist/esm/dev-tool/index.js +17 -7
  56. package/dist/esm/dev-tool/index.js.map +1 -1
  57. package/dist/esm/generated/env.js +20 -20
  58. package/dist/esm/generated/env.js.map +1 -1
  59. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  60. package/dist/esm/lib/auth.js +3 -3
  61. package/dist/esm/lib/auth.js.map +1 -1
  62. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +3 -3
  63. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  64. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  65. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +3 -3
  66. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  67. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
  68. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  69. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  70. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  71. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.d.ts +5 -3
  72. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.d.ts.map +1 -1
  73. package/dist/esm/lib/hexclave-app/apps/interfaces/client-app.js.map +1 -1
  74. package/dist/esm/lib/hexclave-app/url-targets.test.js +7 -7
  75. package/dist/esm/lib/hexclave-app/url-targets.test.js.map +1 -1
  76. package/dist/esm/providers/theme-provider.js +1 -1
  77. package/dist/generated/env.js +20 -20
  78. package/dist/generated/env.js.map +1 -1
  79. package/dist/generated/quetzal-translations.d.ts +2 -2
  80. package/dist/lib/auth.js +3 -3
  81. package/dist/lib/auth.js.map +1 -1
  82. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +2 -2
  83. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  84. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  85. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +3 -3
  86. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  87. package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
  88. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  89. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  90. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  91. package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts +5 -3
  92. package/dist/lib/hexclave-app/apps/interfaces/client-app.d.ts.map +1 -1
  93. package/dist/lib/hexclave-app/apps/interfaces/client-app.js.map +1 -1
  94. package/dist/lib/hexclave-app/url-targets.test.js +7 -7
  95. package/dist/lib/hexclave-app/url-targets.test.js.map +1 -1
  96. package/dist/providers/theme-provider.js +1 -1
  97. package/package.json +3 -3
  98. package/src/dev-tool/index.ts +27 -6
  99. package/src/lib/auth.ts +2 -2
  100. package/src/lib/hexclave-app/apps/implementations/client-app-impl.ts +1 -1
  101. package/src/lib/hexclave-app/apps/interfaces/client-app.ts +5 -3
  102. package/src/lib/hexclave-app/url-targets.test.ts +7 -7
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
3
  let _hexclave_shared_dist_interface_admin_metrics = require("@hexclave/shared/dist/interface/admin-metrics");
5
4
  let _hexclave_shared_dist_utils_analytics_clickmap_overlay = require("@hexclave/shared/dist/utils/analytics-clickmap-overlay");
6
5
  let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
7
6
  let _hexclave_shared_dist_utils_dom = require("@hexclave/shared/dist/utils/dom");
8
7
  let _hexclave_shared_dist_utils_elements_chain = require("@hexclave/shared/dist/utils/elements-chain");
8
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
9
9
  let _hexclave_shared_dist_utils_strings = require("@hexclave/shared/dist/utils/strings");
10
10
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
11
11
  let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
3
  let _hexclave_shared_dist_utils_analytics_clickmap_overlay = require("@hexclave/shared/dist/utils/analytics-clickmap-overlay");
4
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
5
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
6
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
7
7
 
8
8
  //#region src/clickmap/index.ts
9
9
  function consumeResumeSentinel() {
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
5
7
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
8
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
8
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
9
9
  let _hexclave_ui = require("@hexclave/ui");
10
10
  let react = require("react");
11
11
  let react_hook_form = require("react-hook-form");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  react = require_chunk.__toESM(react);
@@ -7,8 +7,8 @@ let react = require("react");
7
7
  react = require_chunk.__toESM(react);
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let lucide_react = require("lucide-react");
10
- let _hexclave_shared_dist_hooks_use_hash = require("@hexclave/shared/dist/hooks/use-hash");
11
10
  let ______index_js = require("../../index.js");
11
+ let _hexclave_shared_dist_hooks_use_hash = require("@hexclave/shared/dist/hooks/use-hash");
12
12
 
13
13
  //#region src/components/elements/sidebar-layout.tsx
14
14
  function SidebarLayout(props) {
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
5
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
7
7
  let _hexclave_ui = require("@hexclave/ui");
8
8
  let react = require("react");
9
9
  let ___index_js = require("../index.js");
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
5
5
  let _hexclave_ui = require("@hexclave/ui");
6
6
  let react = require("react");
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
3
4
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
4
5
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
5
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
6
  let _hexclave_ui = require("@hexclave/ui");
7
7
  let react = require("react");
8
8
  let react_hook_form = require("react-hook-form");
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
5
5
  let _hexclave_ui = require("@hexclave/ui");
6
6
  let react = require("react");
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
3
4
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
4
5
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
5
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
6
  let _hexclave_ui = require("@hexclave/ui");
7
7
  let react = require("react");
8
8
  let react_hook_form = require("react-hook-form");
@@ -5,8 +5,8 @@ let _________lib_hooks_js = require("../../../lib/hooks.js");
5
5
  let _________lib_translations_js = require("../../../lib/translations.js");
6
6
  let ___page_layout_js = require("../page-layout.js");
7
7
  let ___section_js = require("../section.js");
8
- let ___editable_text_js = require("../editable-text.js");
9
8
  let _________components_profile_image_editor_js = require("../../../components/profile-image-editor.js");
9
+ let ___editable_text_js = require("../editable-text.js");
10
10
 
11
11
  //#region src/components-page/account-settings/profile-page/profile-page.tsx
12
12
  function ProfilePage(props) {
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
3
4
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
4
5
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
5
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
6
  let _hexclave_ui = require("@hexclave/ui");
7
7
  let react = require("react");
8
8
  let react_hook_form = require("react-hook-form");
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../../../chunk-BE-pF4vm.js');
3
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
3
4
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
4
5
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
5
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
6
  let _hexclave_ui = require("@hexclave/ui");
7
7
  let react = require("react");
8
8
  let react_hook_form = require("react-hook-form");
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
5
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
7
7
  let _hexclave_ui = require("@hexclave/ui");
8
8
  let react = require("react");
9
9
  let ___index_js = require("../index.js");
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
5
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
+ let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
6
7
  let _hexclave_ui = require("@hexclave/ui");
7
8
  let react = require("react");
8
9
  let ___lib_translations_js = require("../lib/translations.js");
9
10
  let react_jsx_runtime = require("react/jsx-runtime");
10
11
  let ___lib_hooks_js = require("../lib/hooks.js");
11
- let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
12
12
  let ___components_message_cards_message_card_js = require("../components/message-cards/message-card.js");
13
13
 
14
14
  //#region src/components-page/cli-auth-confirm.tsx
@@ -1,9 +1,9 @@
1
1
  const require_chunk = require('../chunk-BE-pF4vm.js');
2
2
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
3
+ let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
3
4
  let react = require("react");
4
5
  react = require_chunk.__toESM(react);
5
6
  let react_jsx_runtime = require("react/jsx-runtime");
6
- let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
7
7
  let react_dom_client = require("react-dom/client");
8
8
  let vitest = require("vitest");
9
9
  let ___providers_hexclave_context_js = require("../providers/hexclave-context.js");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
5
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
6
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
7
7
  let _hexclave_ui = require("@hexclave/ui");
8
8
  let react = require("react");
9
9
  let ___index_js = require("../index.js");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
  const require_chunk = require('../chunk-BE-pF4vm.js');
5
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
6
  let _hookform_resolvers_yup = require("@hookform/resolvers/yup");
6
7
  let _hexclave_shared_dist_schema_fields = require("@hexclave/shared/dist/schema-fields");
7
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
8
8
  let _hexclave_ui = require("@hexclave/ui");
9
9
  let react = require("react");
10
10
  let react_hook_form = require("react-hook-form");
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
4
3
  let _hexclave_shared_dist_utils_dev_tool = require("@hexclave/shared/dist/utils/dev-tool");
4
+ let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
5
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
6
6
  let ___lib_hexclave_app_common_js = require("../lib/hexclave-app/common.js");
7
7
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
@@ -4,16 +4,17 @@ import { StackClientApp } from "../lib/hexclave-app/apps/interfaces/client-app.j
4
4
  /**
5
5
  * Mounts the Hexclave dev tool on the page.
6
6
  *
7
- * - Only renders on localhost (or when overridden via console)
8
- * - Lazily loads the dev tool UI via dynamic import
9
- * - Returns a cleanup function to unmount
7
+ * Visibility is determined by the `devTool` option:
8
+ * - `true`: always show
9
+ * - `false`: never show (caller gates this — mountDevTool won't be called)
10
+ * - `"auto"` / `undefined`: show based on NODE_ENV or localhost/file: heuristics
10
11
  *
11
12
  * Console commands (also work in production):
12
13
  * HexclaveDevTool.enable() — force-show the dev tool
13
14
  * HexclaveDevTool.disable() — force-hide the dev tool
14
- * HexclaveDevTool.reset() — revert to default (localhost-only)
15
+ * HexclaveDevTool.reset() — revert to auto behavior
15
16
  */
16
- declare function mountDevTool(app: StackClientApp<true>): () => void;
17
+ declare function mountDevTool(app: StackClientApp<true>, devToolOption?: boolean | "auto"): () => void;
17
18
  //#endregion
18
19
  export { mountDevTool };
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/dev-tool/index.ts"],"mappings":";;;;;AAkFA;;;;;;;;;;iBAAgB,YAAA,CAAa,GAAA,EAAK,cAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/dev-tool/index.ts"],"mappings":";;;;;AAsGA;;;;;;;;;;;iBAAgB,YAAA,CAAa,GAAA,EAAK,cAAA,QAAsB,aAAA"}
@@ -1,9 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-BE-pF4vm.js');
3
- let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
4
3
  let _hexclave_shared_dist_utils_promises = require("@hexclave/shared/dist/utils/promises");
5
4
  let ___in_page_ui_dom_js = require("../in-page-ui/dom.js");
5
+ let _hexclave_shared_dist_utils_errors = require("@hexclave/shared/dist/utils/errors");
6
6
  let _hexclave_shared_dist_utils_urls = require("@hexclave/shared/dist/utils/urls");
7
+ let ___generated_env_js = require("../generated/env.js");
7
8
 
8
9
  //#region src/dev-tool/index.ts
9
10
  const OVERRIDE_KEY = "__hexclave-dev-tool-override";
@@ -15,10 +16,17 @@ function getOverride() {
15
16
  } catch {}
16
17
  return null;
17
18
  }
19
+ let activeDevToolOption = void 0;
18
20
  function shouldShow() {
19
21
  const override = getOverride();
20
22
  if (override !== null) return override;
21
23
  if (!(0, ___in_page_ui_dom_js.canMountIntoDom)()) return false;
24
+ if (activeDevToolOption === true) return true;
25
+ const nodeEnv = ___generated_env_js.envVars.NODE_ENV;
26
+ if (nodeEnv !== void 0) return nodeEnv === "development";
27
+ try {
28
+ if (new URL(window.location.href).protocol === "file:") return true;
29
+ } catch {}
22
30
  return (0, _hexclave_shared_dist_utils_urls.isLocalhost)(window.location.href);
23
31
  }
24
32
  let activeCleanup = null;
@@ -55,17 +63,19 @@ function tryMount() {
55
63
  /**
56
64
  * Mounts the Hexclave dev tool on the page.
57
65
  *
58
- * - Only renders on localhost (or when overridden via console)
59
- * - Lazily loads the dev tool UI via dynamic import
60
- * - Returns a cleanup function to unmount
66
+ * Visibility is determined by the `devTool` option:
67
+ * - `true`: always show
68
+ * - `false`: never show (caller gates this — mountDevTool won't be called)
69
+ * - `"auto"` / `undefined`: show based on NODE_ENV or localhost/file: heuristics
61
70
  *
62
71
  * Console commands (also work in production):
63
72
  * HexclaveDevTool.enable() — force-show the dev tool
64
73
  * HexclaveDevTool.disable() — force-hide the dev tool
65
- * HexclaveDevTool.reset() — revert to default (localhost-only)
74
+ * HexclaveDevTool.reset() — revert to auto behavior
66
75
  */
67
- function mountDevTool(app) {
76
+ function mountDevTool(app, devToolOption) {
68
77
  activeApp = app;
78
+ activeDevToolOption = devToolOption === false ? void 0 : devToolOption ?? void 0;
69
79
  tryMount();
70
80
  const myCleanup = activeCleanup;
71
81
  return () => {
@@ -103,7 +113,7 @@ if (typeof window !== "undefined") window.HexclaveDevTool = window.HexclaveDevTo
103
113
  activeCleanup();
104
114
  activeCleanup = null;
105
115
  }
106
- console.log("[Stack DevTool] Reset to default (visible on localhost only).");
116
+ console.log("[Stack DevTool] Reset to default (auto-detect based on NODE_ENV or localhost/file: origin).");
107
117
  }
108
118
  };
109
119
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/dev-tool/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n\nimport type { StackClientApp } from \"../lib/hexclave-app\";\nimport { captureError } from \"@hexclave/shared/dist/utils/errors\";\nimport { runAsynchronously } from \"@hexclave/shared/dist/utils/promises\";\nimport { isLocalhost } from \"@hexclave/shared/dist/utils/urls\";\nimport { canMountIntoDom } from \"../in-page-ui/dom\";\nimport type { createDevTool as CreateDevToolFn } from \"./dev-tool-core\";\n\n// Hexclave rebrand: UI-only local pref — straight rename (one-time reset is harmless)\nconst OVERRIDE_KEY = '__hexclave-dev-tool-override';\n\nfunction getOverride(): boolean | null {\n try {\n const val = localStorage.getItem(OVERRIDE_KEY);\n if (val === 'true') return true;\n if (val === 'false') return false;\n } catch {}\n return null;\n}\n\nfunction shouldShow(): boolean {\n const override = getOverride();\n if (override !== null) return override;\n if (!canMountIntoDom()) return false;\n return isLocalhost(window.location.href);\n}\n\nlet activeCleanup: (() => void) | null = null;\nlet activeApp: StackClientApp<true> | null = null;\nlet mountGeneration = 0;\n\nlet createDevToolPromise: Promise<typeof CreateDevToolFn> | null = null;\nfunction loadCreateDevTool(): Promise<typeof CreateDevToolFn> {\n if (!createDevToolPromise) {\n createDevToolPromise = import(\"./dev-tool-core\").then(m => m.createDevTool).catch((err) => {\n createDevToolPromise = null;\n throw err;\n });\n }\n return createDevToolPromise;\n}\n\nfunction tryMount() {\n if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n\n if (!shouldShow() || !activeApp || !canMountIntoDom()) return;\n\n const generation = ++mountGeneration;\n const app = activeApp;\n\n runAsynchronously(async () => {\n const createDevTool = await loadCreateDevTool();\n if (generation !== mountGeneration) return;\n if (!shouldShow() || activeApp !== app || !canMountIntoDom()) return;\n activeCleanup = createDevTool(app);\n }, {\n noErrorLogging: true,\n onError: (error) => {\n captureError(\"dev-tool-mount\", error);\n },\n });\n}\n\n/**\n * Mounts the Hexclave dev tool on the page.\n *\n * - Only renders on localhost (or when overridden via console)\n * - Lazily loads the dev tool UI via dynamic import\n * - Returns a cleanup function to unmount\n *\n * Console commands (also work in production):\n * HexclaveDevTool.enable() — force-show the dev tool\n * HexclaveDevTool.disable() — force-hide the dev tool\n * HexclaveDevTool.reset() — revert to default (localhost-only)\n */\nexport function mountDevTool(app: StackClientApp<true>): () => void {\n activeApp = app;\n tryMount();\n\n // Capture the cleanup created by THIS specific mount call so that React\n // StrictMode's double-invoke doesn't let the first effect's cleanup tear\n // down the second mount (which would cause the tool to disappear silently).\n const myCleanup = activeCleanup;\n\n return () => {\n activeApp = null;\n if (activeCleanup === myCleanup && myCleanup != null) {\n activeCleanup = null;\n myCleanup();\n }\n };\n}\n\n// Expose console commands: HexclaveDevTool.enable() / .disable() / .reset()\nif (typeof window !== 'undefined') {\n // Hexclave rebrand: expose under both the legacy and new global names.\n (window as any).HexclaveDevTool = (window as any).HexclaveDevTool = {\n enable() {\n try {\n localStorage.setItem(OVERRIDE_KEY, 'true');\n } catch {}\n tryMount();\n console.log('[Stack DevTool] Enabled. Refresh if the panel does not appear.');\n },\n disable() {\n try {\n localStorage.setItem(OVERRIDE_KEY, 'false');\n } catch {}\n if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n console.log('[Stack DevTool] Disabled.');\n },\n reset() {\n try {\n localStorage.removeItem(OVERRIDE_KEY);\n } catch {}\n if (shouldShow()) {\n tryMount();\n } else if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n console.log('[Stack DevTool] Reset to default (visible on localhost only).');\n },\n };\n}\n\n"],"mappings":";;;;;;;;AAaA,MAAM,eAAe;AAErB,SAAS,cAA8B;AACrC,KAAI;EACF,MAAM,MAAM,aAAa,QAAQ,aAAa;AAC9C,MAAI,QAAQ,OAAQ,QAAO;AAC3B,MAAI,QAAQ,QAAS,QAAO;SACtB;AACR,QAAO;;AAGT,SAAS,aAAsB;CAC7B,MAAM,WAAW,aAAa;AAC9B,KAAI,aAAa,KAAM,QAAO;AAC9B,KAAI,4CAAkB,CAAE,QAAO;AAC/B,0DAAmB,OAAO,SAAS,KAAK;;AAG1C,IAAI,gBAAqC;AACzC,IAAI,YAAyC;AAC7C,IAAI,kBAAkB;AAEtB,IAAI,uBAA+D;AACnE,SAAS,oBAAqD;AAC5D,KAAI,CAAC,qBACH,wBAAuB,OAAO,sBAAmB,MAAK,MAAK,EAAE,cAAc,CAAC,OAAO,QAAQ;AACzF,yBAAuB;AACvB,QAAM;GACN;AAEJ,QAAO;;AAGT,SAAS,WAAW;AAClB,KAAI,eAAe;AACjB,iBAAe;AACf,kBAAgB;;AAGlB,KAAI,CAAC,YAAY,IAAI,CAAC,aAAa,4CAAkB,CAAE;CAEvD,MAAM,aAAa,EAAE;CACrB,MAAM,MAAM;AAEZ,6DAAkB,YAAY;EAC5B,MAAM,gBAAgB,MAAM,mBAAmB;AAC/C,MAAI,eAAe,gBAAiB;AACpC,MAAI,CAAC,YAAY,IAAI,cAAc,OAAO,4CAAkB,CAAE;AAC9D,kBAAgB,cAAc,IAAI;IACjC;EACD,gBAAgB;EAChB,UAAU,UAAU;AAClB,wDAAa,kBAAkB,MAAM;;EAExC,CAAC;;;;;;;;;;;;;;AAeJ,SAAgB,aAAa,KAAuC;AAClE,aAAY;AACZ,WAAU;CAKV,MAAM,YAAY;AAElB,cAAa;AACX,cAAY;AACZ,MAAI,kBAAkB,aAAa,aAAa,MAAM;AACpD,mBAAgB;AAChB,cAAW;;;;AAMjB,IAAI,OAAO,WAAW,YAEpB,CAAC,OAAe,kBAAkB,AAAC,OAAe,kBAAkB;CAClE,SAAS;AACP,MAAI;AACF,gBAAa,QAAQ,cAAc,OAAO;UACpC;AACR,YAAU;AACV,UAAQ,IAAI,iEAAiE;;CAE/E,UAAU;AACR,MAAI;AACF,gBAAa,QAAQ,cAAc,QAAQ;UACrC;AACR,MAAI,eAAe;AACjB,kBAAe;AACf,mBAAgB;;AAElB,UAAQ,IAAI,4BAA4B;;CAE1C,QAAQ;AACN,MAAI;AACF,gBAAa,WAAW,aAAa;UAC/B;AACR,MAAI,YAAY,CACd,WAAU;WACD,eAAe;AACxB,kBAAe;AACf,mBAAgB;;AAElB,UAAQ,IAAI,gEAAgE;;CAE/E"}
1
+ {"version":3,"file":"index.js","names":["envVars"],"sources":["../../src/dev-tool/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n\nimport type { StackClientApp } from \"../lib/hexclave-app\";\nimport { captureError } from \"@hexclave/shared/dist/utils/errors\";\nimport { runAsynchronously } from \"@hexclave/shared/dist/utils/promises\";\nimport { isLocalhost } from \"@hexclave/shared/dist/utils/urls\";\nimport { canMountIntoDom } from \"../in-page-ui/dom\";\nimport { envVars } from \"../generated/env\";\nimport type { createDevTool as CreateDevToolFn } from \"./dev-tool-core\";\n\n// Hexclave rebrand: UI-only local pref — straight rename (one-time reset is harmless)\nconst OVERRIDE_KEY = '__hexclave-dev-tool-override';\n\nfunction getOverride(): boolean | null {\n try {\n const val = localStorage.getItem(OVERRIDE_KEY);\n if (val === 'true') return true;\n if (val === 'false') return false;\n } catch {}\n return null;\n}\n\nlet activeDevToolOption: true | \"auto\" | undefined = undefined;\n\nfunction shouldShow(): boolean {\n const override = getOverride();\n if (override !== null) return override;\n if (!canMountIntoDom()) return false;\n\n // If devTool was explicitly set to true, always show\n if (activeDevToolOption === true) return true;\n\n // \"auto\" behavior (the default):\n const nodeEnv = envVars.NODE_ENV;\n if (nodeEnv !== undefined) {\n // NODE_ENV is available (bundler/process env exists) — only show in development\n return nodeEnv === \"development\";\n }\n\n // NODE_ENV not found (no process.env/import.meta) — show on localhost or file: protocol\n try {\n const url = new URL(window.location.href);\n if (url.protocol === \"file:\") return true;\n } catch {}\n return isLocalhost(window.location.href);\n}\n\nlet activeCleanup: (() => void) | null = null;\nlet activeApp: StackClientApp<true> | null = null;\nlet mountGeneration = 0;\n\nlet createDevToolPromise: Promise<typeof CreateDevToolFn> | null = null;\nfunction loadCreateDevTool(): Promise<typeof CreateDevToolFn> {\n if (!createDevToolPromise) {\n createDevToolPromise = import(\"./dev-tool-core\").then(m => m.createDevTool).catch((err) => {\n createDevToolPromise = null;\n throw err;\n });\n }\n return createDevToolPromise;\n}\n\nfunction tryMount() {\n if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n\n if (!shouldShow() || !activeApp || !canMountIntoDom()) return;\n\n const generation = ++mountGeneration;\n const app = activeApp;\n\n runAsynchronously(async () => {\n const createDevTool = await loadCreateDevTool();\n if (generation !== mountGeneration) return;\n if (!shouldShow() || activeApp !== app || !canMountIntoDom()) return;\n activeCleanup = createDevTool(app);\n }, {\n noErrorLogging: true,\n onError: (error) => {\n captureError(\"dev-tool-mount\", error);\n },\n });\n}\n\n/**\n * Mounts the Hexclave dev tool on the page.\n *\n * Visibility is determined by the `devTool` option:\n * - `true`: always show\n * - `false`: never show (caller gates this mountDevTool won't be called)\n * - `\"auto\"` / `undefined`: show based on NODE_ENV or localhost/file: heuristics\n *\n * Console commands (also work in production):\n * HexclaveDevTool.enable() — force-show the dev tool\n * HexclaveDevTool.disable() — force-hide the dev tool\n * HexclaveDevTool.reset() — revert to auto behavior\n */\nexport function mountDevTool(app: StackClientApp<true>, devToolOption?: boolean | \"auto\"): () => void {\n activeApp = app;\n activeDevToolOption = devToolOption === false ? undefined : devToolOption ?? undefined;\n tryMount();\n\n // Capture the cleanup created by THIS specific mount call so that React\n // StrictMode's double-invoke doesn't let the first effect's cleanup tear\n // down the second mount (which would cause the tool to disappear silently).\n const myCleanup = activeCleanup;\n\n return () => {\n activeApp = null;\n if (activeCleanup === myCleanup && myCleanup != null) {\n activeCleanup = null;\n myCleanup();\n }\n };\n}\n\n// Expose console commands: HexclaveDevTool.enable() / .disable() / .reset()\nif (typeof window !== 'undefined') {\n // Hexclave rebrand: expose under both the legacy and new global names.\n (window as any).HexclaveDevTool = (window as any).HexclaveDevTool = {\n enable() {\n try {\n localStorage.setItem(OVERRIDE_KEY, 'true');\n } catch {}\n tryMount();\n console.log('[Stack DevTool] Enabled. Refresh if the panel does not appear.');\n },\n disable() {\n try {\n localStorage.setItem(OVERRIDE_KEY, 'false');\n } catch {}\n if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n console.log('[Stack DevTool] Disabled.');\n },\n reset() {\n try {\n localStorage.removeItem(OVERRIDE_KEY);\n } catch {}\n if (shouldShow()) {\n tryMount();\n } else if (activeCleanup) {\n activeCleanup();\n activeCleanup = null;\n }\n console.log('[Stack DevTool] Reset to default (auto-detect based on NODE_ENV or localhost/file: origin).');\n },\n };\n}\n\n"],"mappings":";;;;;;;;;AAcA,MAAM,eAAe;AAErB,SAAS,cAA8B;AACrC,KAAI;EACF,MAAM,MAAM,aAAa,QAAQ,aAAa;AAC9C,MAAI,QAAQ,OAAQ,QAAO;AAC3B,MAAI,QAAQ,QAAS,QAAO;SACtB;AACR,QAAO;;AAGT,IAAI,sBAAiD;AAErD,SAAS,aAAsB;CAC7B,MAAM,WAAW,aAAa;AAC9B,KAAI,aAAa,KAAM,QAAO;AAC9B,KAAI,4CAAkB,CAAE,QAAO;AAG/B,KAAI,wBAAwB,KAAM,QAAO;CAGzC,MAAM,UAAUA,4BAAQ;AACxB,KAAI,YAAY,OAEd,QAAO,YAAY;AAIrB,KAAI;AAEF,MADY,IAAI,IAAI,OAAO,SAAS,KAAK,CACjC,aAAa,QAAS,QAAO;SAC/B;AACR,0DAAmB,OAAO,SAAS,KAAK;;AAG1C,IAAI,gBAAqC;AACzC,IAAI,YAAyC;AAC7C,IAAI,kBAAkB;AAEtB,IAAI,uBAA+D;AACnE,SAAS,oBAAqD;AAC5D,KAAI,CAAC,qBACH,wBAAuB,OAAO,sBAAmB,MAAK,MAAK,EAAE,cAAc,CAAC,OAAO,QAAQ;AACzF,yBAAuB;AACvB,QAAM;GACN;AAEJ,QAAO;;AAGT,SAAS,WAAW;AAClB,KAAI,eAAe;AACjB,iBAAe;AACf,kBAAgB;;AAGlB,KAAI,CAAC,YAAY,IAAI,CAAC,aAAa,4CAAkB,CAAE;CAEvD,MAAM,aAAa,EAAE;CACrB,MAAM,MAAM;AAEZ,6DAAkB,YAAY;EAC5B,MAAM,gBAAgB,MAAM,mBAAmB;AAC/C,MAAI,eAAe,gBAAiB;AACpC,MAAI,CAAC,YAAY,IAAI,cAAc,OAAO,4CAAkB,CAAE;AAC9D,kBAAgB,cAAc,IAAI;IACjC;EACD,gBAAgB;EAChB,UAAU,UAAU;AAClB,wDAAa,kBAAkB,MAAM;;EAExC,CAAC;;;;;;;;;;;;;;;AAgBJ,SAAgB,aAAa,KAA2B,eAA8C;AACpG,aAAY;AACZ,uBAAsB,kBAAkB,QAAQ,SAAY,iBAAiB;AAC7E,WAAU;CAKV,MAAM,YAAY;AAElB,cAAa;AACX,cAAY;AACZ,MAAI,kBAAkB,aAAa,aAAa,MAAM;AACpD,mBAAgB;AAChB,cAAW;;;;AAMjB,IAAI,OAAO,WAAW,YAEpB,CAAC,OAAe,kBAAkB,AAAC,OAAe,kBAAkB;CAClE,SAAS;AACP,MAAI;AACF,gBAAa,QAAQ,cAAc,OAAO;UACpC;AACR,YAAU;AACV,UAAQ,IAAI,iEAAiE;;CAE/E,UAAU;AACR,MAAI;AACF,gBAAa,QAAQ,cAAc,QAAQ;UACrC;AACR,MAAI,eAAe;AACjB,kBAAe;AACf,mBAAgB;;AAElB,UAAQ,IAAI,4BAA4B;;CAE1C,QAAQ;AACN,MAAI;AACF,gBAAa,WAAW,aAAa;UAC/B;AACR,MAAI,YAAY,CACd,WAAU;WACD,eAAe;AACxB,kBAAe;AACf,mBAAgB;;AAElB,UAAQ,IAAI,8FAA8F;;CAE7G"}
@@ -1,9 +1,9 @@
1
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
1
  import { AnalyticsClickmapResponseBodySchema } from "@hexclave/shared/dist/interface/admin-metrics";
3
2
  import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
4
3
  import { CLICKMAP_ROOT_ID, DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
5
4
  import { cssEscapeIdent } from "@hexclave/shared/dist/utils/dom";
6
5
  import { buildElementsChain, parseElementsChain } from "@hexclave/shared/dist/utils/elements-chain";
6
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
7
7
  import { stringCompare } from "@hexclave/shared/dist/utils/strings";
8
8
  import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
9
9
  import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
@@ -1,7 +1,7 @@
1
- import { captureError } from "@hexclave/shared/dist/utils/errors";
2
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
1
  import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
3
  import { canMountIntoDom } from "../in-page-ui/dom.js";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
5
5
 
6
6
  //#region src/clickmap/index.ts
7
7
  function consumeResumeSentinel() {
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
3
5
  import { yupResolver } from "@hookform/resolvers/yup";
4
6
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
5
- import { captureError } from "@hexclave/shared/dist/utils/errors";
6
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
7
7
  import { ActionDialog, Button, CopyField, Input, Label, Typography } from "@hexclave/ui";
8
8
  import { useState } from "react";
9
9
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
4
  import { yupResolver } from "@hookform/resolvers/yup";
4
5
  import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
7
7
  import { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
4
  import { yupResolver } from "@hookform/resolvers/yup";
4
5
  import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
7
7
  import React, { useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -4,8 +4,8 @@ import { Button, Typography, cn } from "@hexclave/ui";
4
4
  import React from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { XIcon } from "lucide-react";
7
- import { useHash } from "@hexclave/shared/dist/hooks/use-hash";
8
7
  import { useStackApp } from "../../index.js";
8
+ import { useHash } from "@hexclave/shared/dist/hooks/use-hash";
9
9
 
10
10
  //#region src/components/elements/sidebar-layout.tsx
11
11
  function SidebarLayout(props) {
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
4
  import { yupResolver } from "@hookform/resolvers/yup";
4
5
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
5
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
6
6
  import { Button, Input, InputOTP, InputOTPGroup, InputOTPSlot, Label, Typography } from "@hexclave/ui";
7
7
  import { useEffect, useState } from "react";
8
8
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
4
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
5
5
  import { Button, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Typography, cn } from "@hexclave/ui";
6
6
  import { Suspense, useMemo } from "react";
7
7
  import { useStackApp, useUser } from "../index.js";
@@ -1,5 +1,5 @@
1
- import { captureError } from "@hexclave/shared/dist/utils/errors";
2
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
3
3
  import { ActionCell, Badge, Button, Skeleton, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
4
  import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,5 +1,5 @@
1
- import { throwErr } from "@hexclave/shared/dist/utils/errors";
2
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
+ import { throwErr } from "@hexclave/shared/dist/utils/errors";
3
3
  import { Button, Input, Typography } from "@hexclave/ui";
4
4
  import { useEffect, useState } from "react";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -3,8 +3,8 @@ import { useUser } from "../../../lib/hooks.js";
3
3
  import { useTranslation } from "../../../lib/translations.js";
4
4
  import { PageLayout } from "../page-layout.js";
5
5
  import { Section } from "../section.js";
6
- import { EditableText } from "../editable-text.js";
7
6
  import { ProfileImageEditor } from "../../../components/profile-image-editor.js";
7
+ import { EditableText } from "../editable-text.js";
8
8
 
9
9
  //#region src/components-page/account-settings/profile-page/profile-page.tsx
10
10
  function ProfilePage(props) {
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import { captureError } from "@hexclave/shared/dist/utils/errors";
4
3
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
5
5
  import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
6
6
  import { Suspense, useMemo } from "react";
7
7
  import { useStackApp, useUser } from "../index.js";
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
4
5
  import { Typography } from "@hexclave/ui";
5
6
  import { useCallback, useEffect, useRef, useState } from "react";
6
7
  import { useTranslation } from "../lib/translations.js";
7
8
  import { jsx, jsxs } from "react/jsx-runtime";
8
9
  import { useStackApp } from "../lib/hooks.js";
9
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
10
  import { MessageCard } from "../components/message-cards/message-card.js";
11
11
 
12
12
  //#region src/components-page/cli-auth-confirm.tsx