@septkit/ui 0.0.41 → 0.0.43

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 (158) hide show
  1. package/dist/code/code-block.js +7 -0
  2. package/dist/code/code-block.vue_vue_type_script_setup_true_lang.js +63 -0
  3. package/dist/code/diff.js +35 -0
  4. package/dist/code/highlight.js +30 -0
  5. package/dist/code/index.js +5 -0
  6. package/dist/code/xml-diff.js +5 -0
  7. package/dist/code/xml-diff.vue_vue_type_script_setup_true_lang.js +33 -0
  8. package/dist/dialecte/composables/index.js +2 -1
  9. package/dist/dialecte/composables/use-active-document.js +24 -0
  10. package/dist/dialecte/create-document-store.js +3 -3
  11. package/dist/dialecte/index.js +2 -1
  12. package/dist/dialog/dialog-host.js +5 -0
  13. package/dist/dialog/dialog-host.vue_vue_type_script_setup_true_lang.js +33 -0
  14. package/dist/dialog/dialog.js +5 -0
  15. package/dist/dialog/dialog.vue_vue_type_script_setup_true_lang.js +72 -0
  16. package/dist/dialog/index.js +4 -0
  17. package/dist/dialog/use-dialog-host.js +32 -0
  18. package/dist/explorer/collect-expandable-node-ids.js +8 -0
  19. package/dist/explorer/explorer.js +1 -1
  20. package/dist/explorer/explorer.vue_vue_type_script_setup_true_lang.js +47 -33
  21. package/dist/explorer/index.js +3 -2
  22. package/dist/external/.pnpm/@dialecte_core@0.4.5/node_modules/@dialecte/core/dist/helpers.js +142 -0
  23. package/dist/external/.pnpm/@dialecte_core@0.4.5/node_modules/@dialecte/core/dist/index.js +3 -0
  24. package/dist/external/.pnpm/{@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/project-E32sEthh.js → @dialecte_core@0.4.5/node_modules/@dialecte/core/dist/project-wohrish5.js} +3352 -1170
  25. package/dist/external/.pnpm/{@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/utils-DgKwrT2n.js → @dialecte_core@0.4.5/node_modules/@dialecte/core/dist/utils-C5_11hqg.js} +73 -3
  26. package/dist/external/.pnpm/@dialecte_scl@0.3.3/node_modules/@dialecte/scl/dist/hooks-BTkrNj6r.js +25264 -0
  27. package/dist/external/.pnpm/@dialecte_scl@0.3.3/node_modules/@dialecte/scl/dist/v2019C1/index.js +3 -0
  28. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/arrow-right.js +11 -0
  29. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/copy.js +16 -0
  30. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/text-wrap.js +22 -0
  31. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/x.js +11 -0
  32. package/dist/external/.pnpm/@shikijs_core@3.23.0/node_modules/@shikijs/core/dist/index.js +1299 -0
  33. package/dist/external/.pnpm/@shikijs_engine-javascript@3.23.0/node_modules/@shikijs/engine-javascript/dist/engine-compile.js +34 -0
  34. package/dist/external/.pnpm/@shikijs_engine-javascript@3.23.0/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.js +66 -0
  35. package/dist/external/.pnpm/@shikijs_langs@3.23.0/node_modules/@shikijs/langs/dist/java.js +3 -0
  36. package/dist/external/.pnpm/@shikijs_langs@3.23.0/node_modules/@shikijs/langs/dist/xml.js +5 -0
  37. package/dist/external/.pnpm/@shikijs_themes@3.23.0/node_modules/@shikijs/themes/dist/github-dark.js +4 -0
  38. package/dist/external/.pnpm/@shikijs_types@3.23.0/node_modules/@shikijs/types/dist/index.js +8 -0
  39. package/dist/external/.pnpm/@shikijs_vscode-textmate@10.0.2/node_modules/@shikijs/vscode-textmate/dist/index.js +1576 -0
  40. package/dist/external/.pnpm/@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +126 -43
  41. package/dist/external/.pnpm/@vueuse_shared@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +84 -55
  42. package/dist/external/.pnpm/ccount@2.0.1/node_modules/ccount/index.js +10 -0
  43. package/dist/external/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js +257 -0
  44. package/dist/external/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js +4 -0
  45. package/dist/external/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js +7 -0
  46. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.js +11 -0
  47. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.js +6 -0
  48. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.js +49 -0
  49. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.js +28 -0
  50. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.js +7 -0
  51. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.js +6 -0
  52. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.js +8 -0
  53. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.js +48 -0
  54. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js +86 -0
  55. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.js +10 -0
  56. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js +39 -0
  57. package/dist/external/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.js +13 -0
  58. package/dist/external/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js +10 -0
  59. package/dist/external/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js +25 -0
  60. package/dist/external/.pnpm/oniguruma-parser@0.12.2/node_modules/oniguruma-parser/dist/parser/node-utils.js +23 -0
  61. package/dist/external/.pnpm/oniguruma-parser@0.12.2/node_modules/oniguruma-parser/dist/parser/parse.js +419 -0
  62. package/dist/external/.pnpm/oniguruma-parser@0.12.2/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +487 -0
  63. package/dist/external/.pnpm/oniguruma-parser@0.12.2/node_modules/oniguruma-parser/dist/traverser/traverse.js +84 -0
  64. package/dist/external/.pnpm/oniguruma-parser@0.12.2/node_modules/oniguruma-parser/dist/utils.js +30 -0
  65. package/dist/external/.pnpm/oniguruma-to-es@4.3.6/node_modules/oniguruma-to-es/dist/esm/index.js +970 -0
  66. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/index.js +25 -0
  67. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js +61 -0
  68. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/find.js +31 -0
  69. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js +326 -0
  70. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js +6 -0
  71. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/svg.js +564 -0
  72. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  73. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  74. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js +14 -0
  75. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js +18 -0
  76. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js +9 -0
  77. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js +9 -0
  78. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js +9 -0
  79. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js +16 -0
  80. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xlink.js +19 -0
  81. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xml.js +15 -0
  82. package/dist/external/.pnpm/property-information@7.2.0/node_modules/property-information/lib/xmlns.js +14 -0
  83. package/dist/external/.pnpm/regex-recursion@6.0.2/node_modules/regex-recursion/src/index.js +110 -0
  84. package/dist/external/.pnpm/regex-utilities@2.3.0/node_modules/regex-utilities/src/index.js +56 -0
  85. package/dist/external/.pnpm/regex@6.1.0/node_modules/regex/src/atomic.js +94 -0
  86. package/dist/external/.pnpm/regex@6.1.0/node_modules/regex/src/internals.js +2 -0
  87. package/dist/external/.pnpm/regex@6.1.0/node_modules/regex/src/utils-internals.js +10 -0
  88. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogContent.js +72 -0
  89. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogContentImpl.js +101 -0
  90. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogContentModal.js +83 -0
  91. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogContentNonModal.js +74 -0
  92. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogOverlay.js +48 -0
  93. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogOverlayImpl.js +47 -0
  94. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogPortal.js +33 -0
  95. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogRoot.js +61 -0
  96. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogTitle.js +28 -0
  97. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/utils.js +17 -0
  98. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Menu/utils.js +16 -0
  99. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Splitter/SplitterGroup.js +384 -0
  100. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Splitter/SplitterPanel.js +136 -0
  101. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Splitter/SplitterResizeHandle.js +119 -0
  102. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +27 -0
  103. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperItem.js +67 -0
  104. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperRoot.js +136 -0
  105. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTitle.js +28 -0
  106. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/composables/useWindowSplitterBehavior.js +37 -0
  107. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/composables/useWindowSplitterPanelGroupBehavior.js +82 -0
  108. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/arrays.js +7 -2
  109. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/browser.js +4 -0
  110. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/assert.js +6 -0
  111. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/calculate.js +73 -0
  112. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/callPanelCallbacks.js +19 -0
  113. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/compare.js +11 -0
  114. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/debounce.js +11 -0
  115. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/dom.js +20 -0
  116. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/events.js +33 -0
  117. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/layout.js +103 -0
  118. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/pivot.js +8 -0
  119. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/rects.js +6 -0
  120. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/registry.js +106 -0
  121. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/resizePanel.js +15 -0
  122. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/stackingOrder.js +57 -0
  123. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/storage.js +50 -0
  124. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/style.js +35 -0
  125. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/units.js +57 -0
  126. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/utils/validation.js +39 -0
  127. package/dist/external/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +6 -0
  128. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js +13 -0
  129. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js +23 -0
  130. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js +8 -0
  131. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js +14 -0
  132. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js +8 -0
  133. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js +8 -0
  134. package/dist/external/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js +17 -0
  135. package/dist/external/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js +16 -0
  136. package/dist/index.d.ts +422 -4
  137. package/dist/index.js +24 -7
  138. package/dist/merge/build-view-model.js +168 -0
  139. package/dist/merge/decision-toggle.js +5 -0
  140. package/dist/merge/decision-toggle.vue_vue_type_script_setup_true_lang.js +40 -0
  141. package/dist/merge/element-detail.js +5 -0
  142. package/dist/merge/element-detail.vue_vue_type_script_setup_true_lang.js +53 -0
  143. package/dist/merge/index.js +6 -0
  144. package/dist/merge/merge-progress.js +5 -0
  145. package/dist/merge/merge-progress.vue_vue_type_script_setup_true_lang.js +31 -0
  146. package/dist/merge/merge-review.js +5 -0
  147. package/dist/merge/merge-review.vue_vue_type_script_setup_true_lang.js +305 -0
  148. package/dist/merge/merge-summary.js +5 -0
  149. package/dist/merge/merge-summary.vue_vue_type_script_setup_true_lang.js +76 -0
  150. package/dist/merge/merge-tree.js +5 -0
  151. package/dist/merge/merge-tree.vue_vue_type_script_setup_true_lang.js +86 -0
  152. package/dist/merge/merge.service.js +69 -0
  153. package/dist/merge/use-document-progress.js +27 -0
  154. package/dist/merge/use-merge-session.js +151 -0
  155. package/dist/ui.css +1 -1
  156. package/package.json +4 -2
  157. package/dist/external/.pnpm/@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/helpers.js +0 -13
  158. package/dist/external/.pnpm/@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/index.js +0 -3
@@ -0,0 +1,7 @@
1
+ import e from "../_virtual/_plugin-vue_export-helper.js";
2
+ import t from "./code-block.vue_vue_type_script_setup_true_lang.js";
3
+ /* empty css */
4
+ //#region lib/code/code-block.vue
5
+ var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-642c3143"]]);
6
+ //#endregion
7
+ export { n as default };
@@ -0,0 +1,63 @@
1
+ import { useClipboard as e } from "../external/.pnpm/@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js";
2
+ import t from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/check.js";
3
+ import n from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/copy.js";
4
+ import r from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/text-wrap.js";
5
+ import { highlightCode as i } from "./highlight.js";
6
+ import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, ref as p, shallowRef as m, toDisplayString as h, unref as g, watch as _ } from "vue";
7
+ //#region lib/code/code-block.vue?vue&type=script&setup=true&lang.ts
8
+ var v = {
9
+ key: 0,
10
+ class: "toolbar flex items-center justify-end gap-1"
11
+ }, y = { class: "code-scroll min-h-0 flex-1 overflow-auto" }, b = ["innerHTML"], x = {
12
+ key: 1,
13
+ class: "grid h-full place-items-center p-4 text-sm opacity-60"
14
+ }, S = /*@__PURE__*/ u({
15
+ __name: "code-block",
16
+ props: {
17
+ code: {},
18
+ lang: {},
19
+ lineStatuses: {},
20
+ loading: { type: Boolean },
21
+ wrap: { type: Boolean }
22
+ },
23
+ setup(u) {
24
+ let S = u, C = m(), w = p(S.wrap ?? !1), { copy: T, copied: E, isSupported: D } = e({ legacy: !0 });
25
+ return _(() => [
26
+ S.code,
27
+ S.lang,
28
+ S.lineStatuses
29
+ ], async ([e, t, n]) => {
30
+ if (!e) {
31
+ C.value = void 0;
32
+ return;
33
+ }
34
+ C.value = await i(e, {
35
+ lang: t,
36
+ lineStatuses: n
37
+ });
38
+ }, { immediate: !0 }), (e, i) => (f(), s("div", { class: d(["code-block flex h-full w-full flex-col", { wrap: w.value }]) }, [C.value ? (f(), s("div", v, [c("button", {
39
+ type: "button",
40
+ class: d(["tool-btn", { active: w.value }]),
41
+ title: "Toggle word wrap",
42
+ onClick: i[0] ||= (e) => w.value = !w.value
43
+ }, [l(g(r), { size: 13 }), i[2] ||= c("span", null, "Wrap", -1)], 2), g(D) && u.code ? (f(), s("button", {
44
+ key: 0,
45
+ type: "button",
46
+ class: "tool-btn",
47
+ title: "Copy",
48
+ onClick: i[1] ||= (e) => g(T)(u.code)
49
+ }, [g(E) ? (f(), a(g(t), {
50
+ key: 0,
51
+ size: 13
52
+ })) : (f(), a(g(n), {
53
+ key: 1,
54
+ size: 13
55
+ })), c("span", null, h(g(E) ? "Copied" : "Copy"), 1)])) : o("", !0)])) : o("", !0), c("div", y, [C.value ? (f(), s("div", {
56
+ key: 0,
57
+ class: "shiki-host",
58
+ innerHTML: C.value
59
+ }, null, 8, b)) : (f(), s("div", x, h(u.loading ? "Rendering…" : "Nothing to show."), 1))])], 2));
60
+ }
61
+ });
62
+ //#endregion
63
+ export { S as default };
@@ -0,0 +1,35 @@
1
+ //#region lib/code/diff.ts
2
+ function e(e) {
3
+ if (e === "") return [];
4
+ let t = e.replace(/\r\n?/g, "\n").split("\n");
5
+ return t.length > 1 && t[t.length - 1] === "" && t.pop(), t;
6
+ }
7
+ function t(t, n) {
8
+ let r = e(t), i = e(n), a = Array.from({ length: r.length + 1 }, () => Array.from({ length: i.length + 1 }).fill(0));
9
+ for (let e = r.length - 1; e >= 0; e--) for (let t = i.length - 1; t >= 0; t--) a[e][t] = r[e] === i[t] ? a[e + 1][t + 1] + 1 : Math.max(a[e + 1][t], a[e][t + 1]);
10
+ let o = [], s = 0, c = 0;
11
+ for (; s < r.length && c < i.length;) r[s] === i[c] ? (o.push({
12
+ text: r[s],
13
+ status: "unchanged"
14
+ }), s++, c++) : a[s + 1][c] >= a[s][c + 1] ? (o.push({
15
+ text: r[s],
16
+ status: "removed"
17
+ }), s++) : (o.push({
18
+ text: i[c],
19
+ status: "added"
20
+ }), c++);
21
+ for (; s < r.length;) o.push({
22
+ text: r[s++],
23
+ status: "removed"
24
+ });
25
+ for (; c < i.length;) o.push({
26
+ text: i[c++],
27
+ status: "added"
28
+ });
29
+ return {
30
+ code: o.map((e) => e.text).join("\n"),
31
+ statuses: o.map((e) => e.status)
32
+ };
33
+ }
34
+ //#endregion
35
+ export { t as diffLines };
@@ -0,0 +1,30 @@
1
+ import { createHighlighterCore as e } from "../external/.pnpm/@shikijs_core@3.23.0/node_modules/@shikijs/core/dist/index.js";
2
+ import { createJavaScriptRegexEngine as t } from "../external/.pnpm/@shikijs_engine-javascript@3.23.0/node_modules/@shikijs/engine-javascript/dist/engine-compile.js";
3
+ import n from "../external/.pnpm/@shikijs_langs@3.23.0/node_modules/@shikijs/langs/dist/xml.js";
4
+ import r from "../external/.pnpm/@shikijs_themes@3.23.0/node_modules/@shikijs/themes/dist/github-dark.js";
5
+ //#region lib/code/highlight.ts
6
+ var i = "github-dark";
7
+ async function a(e, t) {
8
+ let n = await s(), r = t?.lineStatuses;
9
+ return n.codeToHtml(e, {
10
+ lang: t?.lang ?? "xml",
11
+ theme: i,
12
+ transformers: r ? [{
13
+ name: "diff-lines",
14
+ line(e, t) {
15
+ let n = r[t - 1];
16
+ n === "added" ? this.addClassToHast(e, "diff add") : n === "removed" && this.addClassToHast(e, "diff remove");
17
+ }
18
+ }] : void 0
19
+ });
20
+ }
21
+ var o = null;
22
+ function s() {
23
+ return o ||= e({
24
+ langs: [n],
25
+ themes: [r],
26
+ engine: t()
27
+ }), o;
28
+ }
29
+ //#endregion
30
+ export { a as highlightCode };
@@ -0,0 +1,5 @@
1
+ import { highlightCode as e } from "./highlight.js";
2
+ import t from "./code-block.js";
3
+ import { diffLines as n } from "./diff.js";
4
+ import r from "./xml-diff.js";
5
+ export { t as CodeBlock, r as XmlDiff, n as diffLines, e as highlightCode };
@@ -0,0 +1,5 @@
1
+ import e from "./xml-diff.vue_vue_type_script_setup_true_lang.js";
2
+ //#region lib/code/xml-diff.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,33 @@
1
+ import e from "./code-block.js";
2
+ import { diffLines as t } from "./diff.js";
3
+ import { computed as n, createBlock as r, defineComponent as i, openBlock as a } from "vue";
4
+ //#region lib/code/xml-diff.vue?vue&type=script&setup=true&lang.ts
5
+ var o = /*@__PURE__*/ i({
6
+ __name: "xml-diff",
7
+ props: {
8
+ before: {},
9
+ after: {},
10
+ loading: { type: Boolean }
11
+ },
12
+ setup(i) {
13
+ let o = i, s = n(() => o.after == null ? {
14
+ code: void 0,
15
+ statuses: void 0
16
+ } : o.before == null ? {
17
+ code: o.after,
18
+ statuses: void 0
19
+ } : t(o.before, o.after));
20
+ return (t, n) => (a(), r(e, {
21
+ code: s.value.code,
22
+ "line-statuses": s.value.statuses,
23
+ lang: "xml",
24
+ loading: i.loading
25
+ }, null, 8, [
26
+ "code",
27
+ "line-statuses",
28
+ "loading"
29
+ ]));
30
+ }
31
+ });
32
+ //#endregion
33
+ export { o as default };
@@ -1,3 +1,4 @@
1
1
  import { useDialecteChannel as e } from "./use-dialecte-channel.js";
2
2
  import { useLiveData as t, useProjectLiveData as n } from "./use-live-data.js";
3
- export { e as useDialecteChannel, t as useLiveData, n as useProjectLiveData };
3
+ import { useActiveDocument as r } from "./use-active-document.js";
4
+ export { r as useActiveDocument, e as useDialecteChannel, t as useLiveData, n as useProjectLiveData };
@@ -0,0 +1,24 @@
1
+ import { getCurrentScope as e, onScopeDispose as t, ref as n } from "vue";
2
+ //#region lib/dialecte/composables/use-active-document.ts
3
+ function r(r) {
4
+ let { project: i, activeDocumentId: a, hydrate: o, clear: s } = r, c = n(!1), l = n(a.value);
5
+ async function u(e) {
6
+ if (l.value = e, !e) {
7
+ c.value = !1, s();
8
+ return;
9
+ }
10
+ let { ready: t } = await i.getDocumentStatus(e);
11
+ a.value === e && (t ? (o(i.openDocument(e)), c.value = !0) : (c.value = !1, s()));
12
+ }
13
+ u(a.value);
14
+ let d = a.subscribe((e) => void u(e)), f = () => {
15
+ d(), s();
16
+ };
17
+ return e() && t(f), {
18
+ isReady: c,
19
+ activeDocumentId: l,
20
+ stop: f
21
+ };
22
+ }
23
+ //#endregion
24
+ export { r as useActiveDocument };
@@ -1,6 +1,6 @@
1
- import { r as e } from "../external/.pnpm/@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/utils-DgKwrT2n.js";
2
- import { ut as t } from "../external/.pnpm/@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/project-E32sEthh.js";
3
- import "../external/.pnpm/@dialecte_core@0.4.2/node_modules/@dialecte/core/dist/index.js";
1
+ import { r as e } from "../external/.pnpm/@dialecte_core@0.4.5/node_modules/@dialecte/core/dist/utils-C5_11hqg.js";
2
+ import { ut as t } from "../external/.pnpm/@dialecte_core@0.4.5/node_modules/@dialecte/core/dist/project-wohrish5.js";
3
+ import "../external/.pnpm/@dialecte_core@0.4.5/node_modules/@dialecte/core/dist/index.js";
4
4
  import { computed as n, shallowRef as r } from "vue";
5
5
  //#region lib/dialecte/create-document-store.ts
6
6
  function i(i) {
@@ -1,5 +1,6 @@
1
1
  import { createDocumentStore as e } from "./create-document-store.js";
2
2
  import { useDialecteChannel as t } from "./composables/use-dialecte-channel.js";
3
3
  import { useLiveData as n, useProjectLiveData as r } from "./composables/use-live-data.js";
4
+ import { useActiveDocument as i } from "./composables/use-active-document.js";
4
5
  import "./composables/index.js";
5
- export { e as createDocumentStore, t as useDialecteChannel, n as useLiveData, r as useProjectLiveData };
6
+ export { e as createDocumentStore, i as useActiveDocument, t as useDialecteChannel, n as useLiveData, r as useProjectLiveData };
@@ -0,0 +1,5 @@
1
+ import e from "./dialog-host.vue_vue_type_script_setup_true_lang.js";
2
+ //#region lib/dialog/dialog-host.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,33 @@
1
+ import e from "./dialog.js";
2
+ import { useDialog as t } from "./use-dialog-host.js";
3
+ import { createBlock as n, createCommentVNode as r, defineComponent as i, mergeProps as a, normalizeProps as o, openBlock as s, resolveDynamicComponent as c, unref as l, withCtx as u } from "vue";
4
+ //#region lib/dialog/dialog-host.vue?vue&type=script&setup=true&lang.ts
5
+ var d = /*@__PURE__*/ i({
6
+ __name: "dialog-host",
7
+ props: { host: {} },
8
+ setup(i) {
9
+ let d = i.host ?? t();
10
+ function f(e) {
11
+ e || d.close();
12
+ }
13
+ return (t, i) => (s(), n(e, {
14
+ open: l(d).open.value,
15
+ size: l(d).active.value?.options.size,
16
+ title: l(d).active.value?.options.title,
17
+ closable: l(d).active.value?.options.closable ?? !0,
18
+ scoped: l(d).active.value?.options.scoped,
19
+ "onUpdate:open": f
20
+ }, {
21
+ default: u(() => [l(d).active.value ? (s(), n(c(l(d).active.value.component), o(a({ key: 0 }, l(d).active.value.props)), null, 16)) : r("", !0)]),
22
+ _: 1
23
+ }, 8, [
24
+ "open",
25
+ "size",
26
+ "title",
27
+ "closable",
28
+ "scoped"
29
+ ]));
30
+ }
31
+ });
32
+ //#endregion
33
+ export { d as default };
@@ -0,0 +1,5 @@
1
+ import e from "./dialog.vue_vue_type_script_setup_true_lang.js";
2
+ //#region lib/dialog/dialog.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,72 @@
1
+ import { DialogRoot_default as e } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogRoot.js";
2
+ import { DialogContent_default as t } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogContent.js";
3
+ import { DialogOverlay_default as n } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogOverlay.js";
4
+ import { DialogPortal_default as r } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogPortal.js";
5
+ import { DialogTitle_default as i } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogTitle.js";
6
+ import a from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/x.js";
7
+ import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
8
+ //#region lib/dialog/dialog.vue?vue&type=script&setup=true&lang.ts
9
+ var b = { class: "flex items-center justify-between gap-2 p-2" }, x = {
10
+ key: 0,
11
+ class: "mt-3 px-4 pb-4"
12
+ }, S = /*@__PURE__*/ p({
13
+ __name: "dialog",
14
+ props: {
15
+ open: { type: Boolean },
16
+ title: {},
17
+ size: { default: "md" },
18
+ closable: {
19
+ type: Boolean,
20
+ default: !0
21
+ },
22
+ scoped: { type: Boolean }
23
+ },
24
+ emits: ["update:open"],
25
+ setup(p, { emit: S }) {
26
+ let C = p, w = S, T = o(() => C.size === "full" ? "inset-0" : `left-1/2 top-1/2 max-h-[90%] -translate-x-1/2 -translate-y-1/2 rounded-box ${{
27
+ sm: "max-w-sm",
28
+ md: "max-w-md",
29
+ lg: "max-w-2xl",
30
+ xl: "max-w-5xl",
31
+ fit: "w-fit max-w-fit"
32
+ }[C.size]}`), E = o(() => C.scoped ? "absolute" : "fixed");
33
+ function D(e) {
34
+ e || w("update:open", !1);
35
+ }
36
+ function O(e) {
37
+ C.closable || e.preventDefault();
38
+ }
39
+ return (o, S) => (h(), s(v(e), {
40
+ open: p.open,
41
+ "onUpdate:open": D
42
+ }, {
43
+ default: y(() => [f(v(r), { disabled: p.scoped }, {
44
+ default: y(() => [f(v(n), { class: m([E.value, "inset-0 z-40 bg-black/40"]) }, null, 8, ["class"]), f(v(t), {
45
+ class: m(["z-50 flex flex-col overflow-auto bg-base-100 text-base-content shadow-xl", [E.value, T.value]]),
46
+ onEscapeKeyDown: O,
47
+ onPointerDownOutside: O
48
+ }, {
49
+ default: y(() => [
50
+ u("header", b, [f(v(i), { class: m(p.title ? "text-base font-medium" : "sr-only") }, {
51
+ default: y(() => [d(_(p.title ?? "Dialog"), 1)]),
52
+ _: 1
53
+ }, 8, ["class"]), p.closable ? (h(), l("button", {
54
+ key: 0,
55
+ type: "button",
56
+ class: "btn btn-sm btn-circle btn-ghost -mr-1",
57
+ onClick: S[0] ||= (e) => w("update:open", !1)
58
+ }, [f(v(a), { class: "h-4 w-4" })])) : c("", !0)]),
59
+ g(o.$slots, "header"),
60
+ u("div", { class: m(["min-h-0 flex-1", p.size === "full" ? "" : "px-4 pb-4"]) }, [g(o.$slots, "default")], 2),
61
+ o.$slots.footer ? (h(), l("footer", x, [g(o.$slots, "footer")])) : c("", !0)
62
+ ]),
63
+ _: 3
64
+ }, 8, ["class"])]),
65
+ _: 3
66
+ }, 8, ["disabled"])]),
67
+ _: 3
68
+ }, 8, ["open"]));
69
+ }
70
+ });
71
+ //#endregion
72
+ export { S as default };
@@ -0,0 +1,4 @@
1
+ import e from "./dialog.js";
2
+ import { createDialogHost as t, dialogHostKey as n, provideDialogHost as r, useDialog as i } from "./use-dialog-host.js";
3
+ import a from "./dialog-host.js";
4
+ export { e as Dialog, a as DialogHost, t as createDialogHost, n as dialogHostKey, r as provideDialogHost, i as useDialog };
@@ -0,0 +1,32 @@
1
+ import { inject as e, markRaw as t, provide as n, ref as r, shallowRef as i } from "vue";
2
+ //#region lib/dialog/use-dialog-host.ts
3
+ function a() {
4
+ let e = r(!1), n = i();
5
+ function a(r, i, a = {}) {
6
+ n.value = {
7
+ component: t(r),
8
+ props: i,
9
+ options: a
10
+ }, e.value = !0;
11
+ }
12
+ function o() {
13
+ e.value = !1;
14
+ }
15
+ return {
16
+ open: e,
17
+ active: n,
18
+ openDialog: a,
19
+ close: o
20
+ };
21
+ }
22
+ var o = Symbol("septkit-dialog-host");
23
+ function s(e = a()) {
24
+ return n(o, e), e;
25
+ }
26
+ function c() {
27
+ let t = e(o);
28
+ if (!t) throw Error("useDialog() requires a DialogHost — call provideDialogHost() in a parent and mount <DialogHost>.");
29
+ return t;
30
+ }
31
+ //#endregion
32
+ export { a as createDialogHost, o as dialogHostKey, s as provideDialogHost, c as useDialog };
@@ -0,0 +1,8 @@
1
+ //#region lib/explorer/collect-expandable-node-ids.ts
2
+ function e(t) {
3
+ let n = [];
4
+ for (let r of t) r.children?.length && n.push(r.id, ...e(r.children));
5
+ return n;
6
+ }
7
+ //#endregion
8
+ export { e as collectExpandableNodeIds };
@@ -2,6 +2,6 @@ import e from "./explorer.vue_vue_type_script_setup_true_lang.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  //#region lib/explorer/explorer.vue
5
- var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-87efec2f"]]);
5
+ var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-8ff519a8"]]);
6
6
  //#endregion
7
7
  export { n as default };
@@ -3,83 +3,97 @@ import { TreeItem_default as t } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.
3
3
  import n from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/chevron-right.js";
4
4
  import { ELEMENT_TO_COLOR as r } from "../icons/element-color-map.generated.js";
5
5
  import { ELEMENT_TO_ICON as i } from "../icons/element-icon-mapper.js";
6
- import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderList as h, renderSlot as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, withCtx as b, withModifiers as x } from "vue";
6
+ import { collectExpandableNodeIds as a } from "./collect-expandable-node-ids.js";
7
+ import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, defineComponent as f, mergeProps as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderList as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, withCtx as S, withModifiers as C } from "vue";
7
8
  //#region lib/explorer/explorer.vue?vue&type=script&setup=true&lang.ts
8
- var S = ["onClick", "onContextmenu"], C = { class: "flex flex-1 items-center min-w-0" }, w = ["aria-label", "data-tip"], T = { class: "pl-2 truncate" }, E = { class: "shrink-0 ml-auto pl-2" }, D = /*@__PURE__*/ u({
9
+ var w = ["onClick", "onContextmenu"], T = { class: "flex flex-1 items-center min-w-0" }, E = ["aria-label", "data-tip"], D = { class: "pl-2 truncate" }, O = { class: "shrink-0 ml-auto pl-2" }, k = /*@__PURE__*/ f({
9
10
  __name: "explorer",
10
11
  props: {
11
12
  items: {},
12
- defaultExpandedItems: { default: () => [] },
13
+ expanded: { default: () => ({
14
+ scoped: [],
15
+ all: !1
16
+ }) },
13
17
  ariaLabel: { default: "SCL Tree" }
14
18
  },
15
- emits: ["select", "contextmenu"],
16
- setup(u, { emit: D }) {
17
- let O = u, k = D;
18
- return (u, D) => (m(), o(y(e), {
19
+ emits: [
20
+ "select",
21
+ "contextmenu",
22
+ "update:expanded"
23
+ ],
24
+ setup(f, { emit: k }) {
25
+ let A = f, j = k, M = s(() => A.expanded.all ? a(A.items) : A.expanded.scoped);
26
+ return (a, s) => (g(), c(x(e), {
19
27
  class: "explorer-tree list-none select-none w-full text-stone-700 text-sm font-medium",
20
- items: O.items,
28
+ items: A.items,
21
29
  "get-key": (e) => e.id,
22
- "default-expanded": O.defaultExpandedItems,
23
- "aria-label": O.ariaLabel
30
+ expanded: M.value,
31
+ "aria-label": A.ariaLabel,
32
+ "onUpdate:expanded": s[1] ||= (e) => j("update:expanded", {
33
+ scoped: e,
34
+ all: !1
35
+ })
24
36
  }, {
25
- default: b(({ flattenItems: e }) => [(m(!0), c(a, null, h(e, (e) => (m(), o(y(t), d({ key: e.value.id }, { ref_for: !0 }, e.bind, {
37
+ default: S(({ flattenItems: e }) => [(g(!0), u(o, null, _(e, (e) => (g(), c(x(t), p({ key: e.value.id }, { ref_for: !0 }, e.bind, {
26
38
  class: ["explorer-tree__item py-1 my-0.5 rounded outline-none", e.value.selectable === !1 ? "" : "explorer-tree__item--selectable"],
27
39
  onSelect: (t) => {
28
- t.detail.originalEvent.type === "click" || e.value.selectable === !1 ? t.preventDefault() : k("select", e.value);
40
+ t.detail.originalEvent.type === "click" || e.value.selectable === !1 ? t.preventDefault() : j("select", e.value);
29
41
  },
30
- onToggle: D[0] ||= (e) => {
42
+ onToggle: s[0] ||= (e) => {
31
43
  e.detail.originalEvent.type === "click" && e.preventDefault();
32
44
  }
33
45
  }), {
34
- default: b(({ handleSelect: t, handleToggle: a }) => [l("div", {
35
- class: f(["flex items-center", e.value.selectable !== !1 || e.hasChildren ? "cursor-pointer" : "cursor-default"]),
36
- style: p({ "padding-left": e.level === 1 ? "0rem" : `${e.level - 1.5}rem` }),
46
+ default: S(({ handleSelect: t, handleToggle: o }) => [d("div", {
47
+ class: m(["flex items-center", e.value.selectable !== !1 || e.hasChildren ? "cursor-pointer" : "cursor-default"]),
48
+ style: h({ "padding-left": e.level === 1 ? "0rem" : `${e.level - 1.5}rem` }),
37
49
  onClick: () => {
38
- e.value.selectable === !1 ? e.hasChildren && a() : (t(), k("select", e.value));
50
+ e.value.selectable === !1 ? e.hasChildren && o() : (t(), j("select", e.value));
39
51
  },
40
- onContextmenu: x((t) => k("contextmenu", {
52
+ onContextmenu: C((t) => j("contextmenu", {
41
53
  node: e.value,
42
54
  event: t
43
55
  }), ["prevent"])
44
56
  }, [
45
- e.hasChildren ? (m(), o(y(n), {
57
+ e.hasChildren ? (g(), c(x(n), {
46
58
  key: 0,
47
59
  "aria-hidden": "true",
48
60
  class: "explorer-tree__chevron shrink-0",
49
61
  size: 16,
50
- onClick: x((e) => a(), ["stop"])
51
- }, null, 8, ["onClick"])) : (m(), o(y(n), {
62
+ onClick: C(() => {
63
+ o();
64
+ }, ["stop"])
65
+ }, null, 8, ["onClick"])) : (g(), c(x(n), {
52
66
  key: 1,
53
67
  "aria-hidden": "true",
54
68
  class: "shrink-0 invisible",
55
69
  size: 16
56
70
  })),
57
- l("div", C, [
58
- g(u.$slots, "node-prefix", { node: e.value }, void 0, !0),
59
- e.value.tag ? (m(), c("div", {
71
+ d("div", T, [
72
+ v(a.$slots, "node-prefix", { node: e.value }, void 0, !0),
73
+ e.value.tag ? (g(), u("div", {
60
74
  key: 0,
61
75
  role: "img",
62
76
  "aria-label": e.value.tag,
63
- class: f(["explorer-tree__item-tag tooltip flex items-center justify-center rounded-full p-1", y(r)[e.value.tag]?.background]),
77
+ class: m(["explorer-tree__item-tag tooltip flex items-center justify-center rounded-full p-1", x(r)[e.value.tag]?.background]),
64
78
  "data-tip": e.value.tag
65
- }, [y(i)[e.value.tag] ? (m(), o(_(y(i)[e.value.tag]), {
79
+ }, [x(i)[e.value.tag] ? (g(), c(y(x(i)[e.value.tag]), {
66
80
  key: 0,
67
- class: f(["explorer-tree__item-icon h-4 w-4", y(r)[e.value.tag]?.text])
68
- }, null, 8, ["class"])) : s("", !0)], 10, w)) : s("", !0),
69
- g(u.$slots, "node-label", { node: e.value }, () => [l("span", T, v(e.value.name), 1)], !0)
81
+ class: m(["explorer-tree__item-icon h-4 w-4", x(r)[e.value.tag]?.text])
82
+ }, null, 8, ["class"])) : l("", !0)], 10, E)) : l("", !0),
83
+ v(a.$slots, "node-label", { node: e.value }, () => [d("span", D, b(e.value.name), 1)], !0)
70
84
  ]),
71
- l("div", E, [g(u.$slots, "node-suffix", { node: e.value }, void 0, !0)])
72
- ], 46, S)]),
85
+ d("div", O, [v(a.$slots, "node-suffix", { node: e.value }, void 0, !0)])
86
+ ], 46, w)]),
73
87
  _: 2
74
88
  }, 1040, ["class", "onSelect"]))), 128))]),
75
89
  _: 3
76
90
  }, 8, [
77
91
  "items",
78
92
  "get-key",
79
- "default-expanded",
93
+ "expanded",
80
94
  "aria-label"
81
95
  ]));
82
96
  }
83
97
  });
84
98
  //#endregion
85
- export { D as default };
99
+ export { k as default };
@@ -1,2 +1,3 @@
1
- import e from "./explorer.js";
2
- export { e as SclExplorer };
1
+ import { collectExpandableNodeIds as e } from "./collect-expandable-node-ids.js";
2
+ import t from "./explorer.js";
3
+ export { t as SclExplorer, e as collectExpandableNodeIds };