@histoire/app 0.17.16 → 1.0.0-alpha.1
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.
- package/dist/app/style/main.pcss +1 -1
- package/dist/app/style/sandbox.css +1 -1
- package/dist/bundle-main-dev.js +1 -1
- package/dist/bundle-main.js +2 -2
- package/dist/bundled/App.vue2.js +11 -11
- package/dist/bundled/app.css +101 -0
- package/dist/bundled/components/HomeView.vue2.js +1 -1
- package/dist/bundled/components/app/AppHeader.vue2.js +3 -3
- package/dist/bundled/components/app/AppLogo.vue2.js +4 -4
- package/dist/bundled/components/app/Breadcrumb.vue.js +2 -2
- package/dist/bundled/components/app/Breadcrumb.vue2.js +8 -10
- package/dist/bundled/components/app/HomeCounter.vue2.js +2 -7
- package/dist/bundled/components/app/InitialLoading.vue2.js +1 -1
- package/dist/bundled/components/base/BaseCheckbox.vue2.js +1 -2
- package/dist/bundled/components/base/BaseEmpty.vue.js +2 -3
- package/dist/bundled/components/base/BaseIcon.vue.js +2 -2
- package/dist/bundled/components/base/BaseIcon.vue2.js +1 -2
- package/dist/bundled/components/base/BaseListItemLink.vue.js +1 -1
- package/dist/bundled/components/base/BaseOverflowMenu.vue2.js +5 -5
- package/dist/bundled/components/base/BaseOverflowTab.vue.js +1 -1
- package/dist/bundled/components/base/BaseSelect.vue2.js +2 -2
- package/dist/bundled/components/base/BaseSplitPane.vue.js +2 -2
- package/dist/bundled/components/base/BaseSplitPane.vue2.js +3 -6
- package/dist/bundled/components/base/BaseTab.vue.js +1 -1
- package/dist/bundled/components/base/BaseTag.vue.js +1 -1
- package/dist/bundled/components/command/CommandPrompts.vue2.js +3 -7
- package/dist/bundled/components/command/CommandPromptsModal.vue2.js +1 -1
- package/dist/bundled/components/command/PromptSelect.vue2.js +3 -3
- package/dist/bundled/components/command/PromptText.vue2.js +1 -1
- package/dist/bundled/components/misc/CheckerboardPattern.vue.js +31 -34
- package/dist/bundled/components/misc/HatchedPattern.vue.js +2 -3
- package/dist/bundled/components/panel/ControlsComponentPropItem.vue2.js +1 -1
- package/dist/bundled/components/panel/ControlsComponentProps.vue2.js +2 -4
- package/dist/bundled/components/panel/ControlsComponentState.vue2.js +1 -2
- package/dist/bundled/components/panel/PaneTabs.vue2.js +12 -12
- package/dist/bundled/components/panel/StatePresets.vue2.js +3 -4
- package/dist/bundled/components/panel/StoryControls.vue2.js +5 -6
- package/dist/bundled/components/panel/StoryDocs.vue2.js +6 -6
- package/dist/bundled/components/panel/StoryEvents.vue2.js +2 -2
- package/dist/bundled/components/panel/StorySidePanel.vue2.js +10 -12
- package/dist/bundled/components/panel/StorySourceCode.vue.js +2 -2
- package/dist/bundled/components/panel/StorySourceCode.vue2.js +15 -20
- package/dist/bundled/components/search/SearchItem.vue.js +2 -2
- package/dist/bundled/components/search/SearchItem.vue2.js +4 -6
- package/dist/bundled/components/search/SearchLoading.vue2.js +2 -2
- package/dist/bundled/components/search/SearchModal.vue2.js +1 -1
- package/dist/bundled/components/search/SearchPane.vue2.js +42 -60
- package/dist/bundled/components/search/search-docs-data.js +1 -1
- package/dist/bundled/components/search/search-title-data.js +1 -1
- package/dist/bundled/components/story/GenericMountStory.vue2.js +1 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue.js +2 -2
- package/dist/bundled/components/story/StoryResponsivePreview.vue2.js +9 -12
- package/dist/bundled/components/story/StoryVariantGrid.vue2.js +8 -11
- package/dist/bundled/components/story/StoryVariantGridItem.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantGridItem.vue2.js +16 -19
- package/dist/bundled/components/story/StoryVariantListItem.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantListItem.vue2.js +4 -5
- package/dist/bundled/components/story/StoryVariantSingle.vue.js +2 -2
- package/dist/bundled/components/story/StoryVariantSingle.vue2.js +5 -6
- package/dist/bundled/components/story/StoryVariantSinglePreviewNative.vue2.js +3 -3
- package/dist/bundled/components/story/StoryVariantSinglePreviewRemote.vue2.js +4 -4
- package/dist/bundled/components/story/StoryVariantSingleView.vue2.js +4 -4
- package/dist/bundled/components/story/StoryView.vue2.js +5 -5
- package/dist/bundled/components/story/StoryViewer.vue.js +2 -2
- package/dist/bundled/components/story/StoryViewer.vue2.js +3 -4
- package/dist/bundled/components/toolbar/ToolbarBackground.vue.js +1 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue2.js +3 -4
- package/dist/bundled/components/toolbar/ToolbarResponsiveSize.vue2.js +16 -17
- package/dist/bundled/components/tree/StoryGroup.vue2.js +9 -11
- package/dist/bundled/components/tree/StoryList.vue2.js +3 -3
- package/dist/bundled/components/tree/StoryListFolder.vue.js +2 -2
- package/dist/bundled/components/tree/StoryListFolder.vue2.js +13 -15
- package/dist/bundled/components/tree/StoryListItem.vue.js +2 -2
- package/dist/bundled/components/tree/StoryListItem.vue2.js +5 -6
- package/dist/bundled/index.js +4 -4
- package/dist/bundled/plugin.js +1 -2
- package/dist/bundled/sandbox.js +15 -20
- package/dist/bundled/stores/folder.js +1 -1
- package/dist/bundled/stores/preview-settings.js +1 -1
- package/dist/bundled/util/commands.js +1 -1
- package/dist/bundled/util/dark.js +1 -1
- package/dist/bundled/util/events.js +2 -4
- package/dist/bundled/util/scroll.js +1 -1
- package/dist/bundled/util/state.js +2 -2
- package/dist/style.css +281 -293
- package/package.json +24 -25
- package/scripts/copy.mjs +1 -1
- package/scripts/watchAndCopy.mjs +4 -4
- package/src/app/App.vue +15 -15
- package/src/app/api.ts +3 -3
- package/src/app/components/HomeView.vue +4 -3
- package/src/app/components/app/AppHeader.vue +2 -2
- package/src/app/components/app/AppLogo.vue +4 -4
- package/src/app/components/app/Breadcrumb.vue +5 -5
- package/src/app/components/app/HomeCounter.vue +1 -10
- package/src/app/components/app/MobileOverlay.vue +1 -1
- package/src/app/components/base/BaseCheckbox.vue +2 -3
- package/src/app/components/base/BaseIcon.vue +2 -2
- package/src/app/components/base/BaseKeyboardShortcut.vue +1 -1
- package/src/app/components/base/BaseListItem.vue +2 -2
- package/src/app/components/base/BaseListItemLink.vue +3 -3
- package/src/app/components/base/BaseOverflowMenu.vue +5 -5
- package/src/app/components/base/BaseSelect.vue +6 -5
- package/src/app/components/base/BaseSplitPane.vue +19 -15
- package/src/app/components/command/CommandPrompts.vue +8 -10
- package/src/app/components/command/CommandPromptsModal.vue +2 -1
- package/src/app/components/command/PromptSelect.vue +7 -5
- package/src/app/components/command/PromptText.vue +4 -3
- package/src/app/components/panel/ControlsComponentPropItem.vue +4 -4
- package/src/app/components/panel/ControlsComponentState.vue +3 -3
- package/src/app/components/panel/ControlsComponentStateItem.vue +2 -2
- package/src/app/components/panel/PaneTabs.vue +3 -3
- package/src/app/components/panel/StatePresets.vue +16 -13
- package/src/app/components/panel/StoryControls.vue +5 -5
- package/src/app/components/panel/StoryDocs.vue +28 -24
- package/src/app/components/panel/StoryEvent.vue +2 -2
- package/src/app/components/panel/StoryEvents.vue +3 -3
- package/src/app/components/panel/StorySidePanel.vue +2 -2
- package/src/app/components/panel/StorySourceCode.vue +12 -8
- package/src/app/components/search/SearchItem.vue +5 -4
- package/src/app/components/search/SearchItemContent.vue +4 -4
- package/src/app/components/search/SearchModal.vue +2 -1
- package/src/app/components/search/SearchPane.vue +64 -76
- package/src/app/components/search/search-docs-data.ts +3 -3
- package/src/app/components/search/search-title-data.ts +3 -3
- package/src/app/components/search/types.ts +1 -1
- package/src/app/components/story/GenericMountStory.vue +2 -2
- package/src/app/components/story/GenericRenderStory.vue +4 -3
- package/src/app/components/story/StoryResponsivePreview.vue +17 -16
- package/src/app/components/story/StoryVariantGrid.vue +10 -9
- package/src/app/components/story/StoryVariantGridItem.vue +14 -14
- package/src/app/components/story/StoryVariantListItem.vue +4 -3
- package/src/app/components/story/StoryVariantSingle.vue +3 -3
- package/src/app/components/story/StoryVariantSinglePreviewNative.vue +5 -5
- package/src/app/components/story/StoryVariantSinglePreviewRemote.vue +14 -14
- package/src/app/components/story/StoryVariantSingleView.vue +4 -4
- package/src/app/components/story/StoryView.vue +8 -8
- package/src/app/components/story/StoryViewer.vue +2 -3
- package/src/app/components/toolbar/ToolbarNewTab.vue +1 -1
- package/src/app/components/toolbar/ToolbarTitle.vue +1 -1
- package/src/app/components/tree/StoryGroup.vue +3 -3
- package/src/app/components/tree/StoryList.vue +3 -3
- package/src/app/components/tree/StoryListFolder.vue +3 -3
- package/src/app/components/tree/StoryListItem.vue +2 -2
- package/src/app/index.ts +6 -7
- package/src/app/plugin.ts +4 -3
- package/src/app/router.ts +2 -2
- package/src/app/sandbox.ts +24 -27
- package/src/app/stores/command.ts +4 -3
- package/src/app/stores/events.ts +4 -4
- package/src/app/stores/folder.ts +10 -8
- package/src/app/stores/preview-settings.ts +2 -2
- package/src/app/stores/story.ts +4 -4
- package/src/app/style/main.pcss +1 -1
- package/src/app/style/sandbox.css +1 -1
- package/src/app/types.ts +3 -3
- package/src/app/util/commands.ts +5 -4
- package/src/app/util/dark.ts +3 -3
- package/src/app/util/docs.ts +6 -4
- package/src/app/util/events.ts +4 -3
- package/src/app/util/keyboard.ts +9 -8
- package/src/app/util/mapping.ts +9 -6
- package/src/app/util/open-in-editor.ts +1 -1
- package/src/app/util/preview-settings.ts +3 -3
- package/src/app/util/sandbox.ts +2 -3
- package/src/app/util/scroll.ts +5 -4
- package/src/app/util/select.ts +5 -4
- package/src/app/util/state.ts +6 -5
- package/src/app/util/tooltip.ts +2 -2
- package/src/app/util/variant.ts +4 -3
- package/src/bundle-main-dev.js +1 -1
- package/src/bundle-main.js +2 -2
- package/src/shim.d.ts +0 -6
- package/src/virtual.d.ts +1 -0
- package/tailwind.config.cjs +20 -21
- package/tsconfig.json +26 -26
- package/vite.config.ts +8 -7
- package/dist/bundled/components/app/Breadcrumb.vue3.js +0 -1
- package/dist/bundled/components/base/BaseEmpty.vue2.js +0 -1
- package/dist/bundled/components/base/BaseIcon.vue3.js +0 -1
- package/dist/bundled/components/base/BaseSplitPane.vue3.js +0 -1
- package/dist/bundled/components/misc/HatchedPattern.vue2.js +0 -1
- package/dist/bundled/components/panel/StorySourceCode.vue3.js +0 -1
- package/dist/bundled/components/search/SearchItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryResponsivePreview.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantGridItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantListItem.vue3.js +0 -1
- package/dist/bundled/components/story/StoryVariantSingle.vue3.js +0 -1
- package/dist/bundled/components/story/StoryViewer.vue3.js +0 -1
- package/dist/bundled/components/toolbar/ToolbarBackground.vue3.js +0 -1
- package/dist/bundled/components/tree/StoryListFolder.vue3.js +0 -1
- package/dist/bundled/components/tree/StoryListItem.vue3.js +0 -1
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/common.js +0 -52
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/en.js +0 -10
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/advanced.js +0 -16
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/balance.js +0 -31
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang/latin/simple.js +0 -15
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/lang.js +0 -60
- package/dist/bundled/node_modules/.pnpm/flexsearch@0.7.21/node_modules/flexsearch/dist/module/type.js +0 -11
- package/dist/bundled/style.css +0 -101
package/dist/app/style/main.pcss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Display&display=swap');
|
|
2
2
|
@import 'floating-vue/dist/style.css';
|
|
3
|
-
@import '@histoire/controls/dist/
|
|
3
|
+
@import '@histoire/controls/dist/index.es.css';
|
|
4
4
|
|
|
5
5
|
@import 'floating.pcss';
|
|
6
6
|
@import 'transitions.pcss';
|
package/dist/bundle-main-dev.js
CHANGED
package/dist/bundle-main.js
CHANGED
package/dist/bundled/App.vue2.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ref, computed, watch, onMounted, resolveComponent, openBlock, Fragment, unref, createBlock,
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, resolveComponent, openBlock, createElementBlock, Fragment, unref, createBlock, createCommentVNode, createElementVNode, normalizeStyle, createVNode, withCtx, Transition } from "@histoire/vendors/vue";
|
|
2
|
+
import { useTitle } from "@histoire/vendors/vue-use";
|
|
2
3
|
import { files, tree, onUpdate } from "virtual:$histoire-stories";
|
|
3
|
-
import "./components/tree/StoryList.vue.js";
|
|
4
|
-
import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
|
|
5
4
|
import "./components/app/AppHeader.vue.js";
|
|
5
|
+
import Breadcrumb from "./components/app/Breadcrumb.vue.js";
|
|
6
|
+
import "./components/app/InitialLoading.vue.js";
|
|
7
|
+
import BaseSplitPane from "./components/base/BaseSplitPane.vue.js";
|
|
8
|
+
import "./components/command/CommandPromptsModal.vue.js";
|
|
9
|
+
import "./components/search/SearchModal.vue.js";
|
|
10
|
+
import "./components/story/GenericMountStory.vue.js";
|
|
11
|
+
import "./components/tree/StoryList.vue.js";
|
|
12
|
+
import { useCommandStore } from "./stores/command.js";
|
|
6
13
|
import { useStoryStore } from "./stores/story.js";
|
|
7
|
-
import { mapFile } from "./util/mapping.js";
|
|
8
|
-
import { useTitle } from "@histoire/vendors/vue-use";
|
|
9
14
|
import { histoireConfig } from "./util/config.js";
|
|
10
15
|
import { onKeyboardShortcut } from "./util/keyboard.js";
|
|
16
|
+
import { mapFile } from "./util/mapping.js";
|
|
11
17
|
import { isMobile } from "./util/responsive.js";
|
|
12
|
-
import { useCommandStore } from "./stores/command.js";
|
|
13
|
-
import Breadcrumb from "./components/app/Breadcrumb.vue.js";
|
|
14
|
-
import "./components/search/SearchModal.vue.js";
|
|
15
|
-
import "./components/command/CommandPromptsModal.vue.js";
|
|
16
|
-
import "./components/app/InitialLoading.vue.js";
|
|
17
|
-
import "./components/story/GenericMountStory.vue.js";
|
|
18
18
|
import _sfc_main$1 from "./components/story/GenericMountStory.vue2.js";
|
|
19
19
|
import _sfc_main$2 from "./components/app/AppHeader.vue2.js";
|
|
20
20
|
import _sfc_main$3 from "./components/tree/StoryList.vue2.js";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
|
|
2
|
+
.bind-tree-margin[data-v-048885b7] {
|
|
3
|
+
margin-left: var(--10fa28ae);
|
|
4
|
+
}
|
|
5
|
+
.bind-icon-color[data-v-048885b7] {
|
|
6
|
+
color: var(--8aa08936);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bind-tree-padding[data-v-10840b73] {
|
|
10
|
+
padding-left: var(--224f37c4);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.bind-icon-color[data-v-d15ecb89] {
|
|
14
|
+
color: var(--a3f02f4e);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.landscape > div > .dragger[data-v-4f40a1bb] {
|
|
18
|
+
width: .625rem;
|
|
19
|
+
}
|
|
20
|
+
.portrait > div > .dragger[data-v-4f40a1bb] {
|
|
21
|
+
height: .625rem;
|
|
22
|
+
}
|
|
23
|
+
.landscape > div > .dragger.dragger-offset-before[data-v-4f40a1bb] {
|
|
24
|
+
right: 0;
|
|
25
|
+
}
|
|
26
|
+
.portrait > div > .dragger.dragger-offset-before[data-v-4f40a1bb] {
|
|
27
|
+
bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
.landscape > div > .dragger.dragger-offset-center[data-v-4f40a1bb] {
|
|
30
|
+
right: -.3125rem;
|
|
31
|
+
}
|
|
32
|
+
.portrait > div > .dragger.dragger-offset-center[data-v-4f40a1bb] {
|
|
33
|
+
bottom: -.3125rem;
|
|
34
|
+
}
|
|
35
|
+
.landscape > div > .dragger.dragger-offset-after[data-v-4f40a1bb] {
|
|
36
|
+
right: -.625rem;
|
|
37
|
+
}
|
|
38
|
+
.portrait > div > .dragger.dragger-offset-after[data-v-4f40a1bb] {
|
|
39
|
+
bottom: -.625rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.htw-base-empty[data-v-c5ecfead]:not(.no-animation) {
|
|
43
|
+
animation: htw-base-empty-c5ecfead .15s .2s both;
|
|
44
|
+
}
|
|
45
|
+
@keyframes htw-base-empty-c5ecfead {
|
|
46
|
+
0% {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
100% {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.__histoire-code-placeholder[data-v-d17c2406] {
|
|
55
|
+
color: inherit;
|
|
56
|
+
font-size: inherit;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bind-preview-bg[data-v-c48fb2b2] {
|
|
60
|
+
background-color: var(--627bec82);
|
|
61
|
+
color: var(--35068428);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.bind-icon-color[data-v-feff9239] {
|
|
65
|
+
color: var(--60afaf4d);
|
|
66
|
+
}
|
|
67
|
+
.bind-preview-bg[data-v-feff9239] {
|
|
68
|
+
background-color: var(--3bd99e7e);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.bind-icon-color[data-v-1b279b85] {
|
|
72
|
+
color: var(--ab2181a2);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.__histoire-hatched-pattern[data-v-91561117] {
|
|
76
|
+
background: repeating-linear-gradient(135deg,
|
|
77
|
+
transparent 0px,
|
|
78
|
+
transparent 32px,
|
|
79
|
+
currentColor 32px,
|
|
80
|
+
currentColor 64px);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.bind-preview-bg[data-v-18122333] {
|
|
84
|
+
background-color: var(--5f6f4ee9);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.bind-icon-color[data-v-c2a43485] {
|
|
88
|
+
color: var(--41c4d268);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.bind-icon-color[data-v-096f6d6e] {
|
|
92
|
+
color: var(--0f021d3c);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
img.colorize-black[data-v-2114f510] {
|
|
96
|
+
filter: grayscale(100) brightness(0);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.bind-icon-color[data-v-9f94ad2b] {
|
|
100
|
+
color: var(--1f9aa6ca);
|
|
101
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode } from "@histoire/vendors/vue";
|
|
2
|
-
import { histoireConfig, customLogos } from "../util/config.js";
|
|
3
2
|
import HistoireLogo from "../assets/histoire.svg.js";
|
|
4
3
|
import { useStoryStore } from "../stores/story.js";
|
|
4
|
+
import { histoireConfig, customLogos } from "../util/config.js";
|
|
5
5
|
import "./app/HomeCounter.vue.js";
|
|
6
6
|
import _sfc_main$1 from "./app/HomeCounter.vue2.js";
|
|
7
7
|
"use strict";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed, resolveDirective, openBlock,
|
|
1
|
+
import { defineComponent, computed, resolveDirective, openBlock, createElementBlock, createElementVNode, unref, createVNode, withDirectives, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
-
import "
|
|
3
|
+
import { histoireConfig } from "../../util/config.js";
|
|
4
4
|
import { isDark, toggleDark } from "../../util/dark.js";
|
|
5
5
|
import { onKeyboardShortcut } from "../../util/keyboard.js";
|
|
6
6
|
import { makeTooltip } from "../../util/tooltip.js";
|
|
7
|
-
import
|
|
7
|
+
import "./AppLogo.vue.js";
|
|
8
8
|
import _sfc_main$1 from "./AppLogo.vue2.js";
|
|
9
9
|
"use strict";
|
|
10
10
|
const _hoisted_1 = { class: "histoire-app-header htw-px-4 htw-h-16 htw-flex htw-items-center htw-gap-2" };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { computed, openBlock, createElementBlock
|
|
2
|
-
import { isDark } from "../../util/dark.js";
|
|
3
|
-
import { histoireConfig, customLogos } from "../../util/config.js";
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock } from "@histoire/vendors/vue";
|
|
4
2
|
import HistoireLogoDark from "../../assets/histoire-text-dark.svg.js";
|
|
5
3
|
import HistoireLogoLight from "../../assets/histoire-text.svg.js";
|
|
4
|
+
import { histoireConfig, customLogos } from "../../util/config.js";
|
|
5
|
+
import { isDark } from "../../util/dark.js";
|
|
6
6
|
"use strict";
|
|
7
7
|
const _hoisted_1 = ["src", "alt"];
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
return ((_b = histoireConfig.theme.logo) == null ? void 0 : _b.light) ? customLogos.light : HistoireLogoLight;
|
|
17
17
|
});
|
|
18
|
-
const altText = computed(() => histoireConfig.theme.title
|
|
18
|
+
const altText = computed(() => `${histoireConfig.theme.title} logo`);
|
|
19
19
|
return (_ctx, _cache) => {
|
|
20
20
|
return openBlock(), createElementBlock("img", {
|
|
21
21
|
class: "histoire-app-logo",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main from "./Breadcrumb.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d15ecb89"]]);
|
|
6
6
|
export {
|
|
7
7
|
Breadcrumb as default
|
|
8
8
|
};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, useCssVars, computed, ref, watch, openBlock, createElementBlock, Fragment, createElementVNode, renderList, toDisplayString, createVNode, unref, normalizeClass, createTextVNode, withCtx } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
import { useStoryStore } from "../../stores/story.js";
|
|
4
|
-
import "./MobileOverlay.vue.js";
|
|
5
4
|
import "../tree/StoryList.vue.js";
|
|
5
|
+
import "./MobileOverlay.vue.js";
|
|
6
6
|
import _sfc_main$1 from "./MobileOverlay.vue2.js";
|
|
7
7
|
import _sfc_main$2 from "../tree/StoryList.vue2.js";
|
|
8
8
|
"use strict";
|
|
9
|
-
const _withScopeId = (n) => (pushScopeId("data-v-36846ccf"), n = n(), popScopeId(), n);
|
|
10
9
|
const _hoisted_1 = { class: "histoire-breadcrumb" };
|
|
11
|
-
const _hoisted_2 =
|
|
12
|
-
const _hoisted_3 = { class: "htw-
|
|
13
|
-
const _hoisted_4 = { class: "htw-opacity-40 htw-text-sm" };
|
|
10
|
+
const _hoisted_2 = { class: "htw-flex htw-items-center htw-gap-2" };
|
|
11
|
+
const _hoisted_3 = { class: "htw-opacity-40 htw-text-sm" };
|
|
14
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
13
|
__name: "Breadcrumb",
|
|
16
14
|
props: {
|
|
@@ -21,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
19
|
useCssVars((_ctx) => {
|
|
22
20
|
var _a;
|
|
23
21
|
return {
|
|
24
|
-
"
|
|
22
|
+
"a3f02f4e": (_a = story.value) == null ? void 0 : _a.iconColor
|
|
25
23
|
};
|
|
26
24
|
});
|
|
27
25
|
const storyStore = useStoryStore();
|
|
@@ -50,10 +48,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
48
|
(openBlock(true), createElementBlock(Fragment, null, renderList(folders.value, (file, key) => {
|
|
51
49
|
return openBlock(), createElementBlock(Fragment, { key }, [
|
|
52
50
|
createElementVNode("span", null, toDisplayString(file), 1),
|
|
53
|
-
|
|
51
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "htw-opacity-40" }, " / ", -1))
|
|
54
52
|
], 64);
|
|
55
53
|
}), 128)),
|
|
56
|
-
createElementVNode("span",
|
|
54
|
+
createElementVNode("span", _hoisted_2, [
|
|
57
55
|
createVNode(unref(Icon), {
|
|
58
56
|
icon: story.value.icon ?? "carbon:cube",
|
|
59
57
|
class: normalizeClass(["htw-w-5 htw-h-5 htw-flex-none", {
|
|
@@ -62,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
60
|
}])
|
|
63
61
|
}, null, 8, ["icon", "class"]),
|
|
64
62
|
createTextVNode(" " + toDisplayString(story.value.title) + " ", 1),
|
|
65
|
-
createElementVNode("span",
|
|
63
|
+
createElementVNode("span", _hoisted_3, toDisplayString(story.value.variants.length), 1)
|
|
66
64
|
])
|
|
67
65
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
68
66
|
createTextVNode(" Select a story... ")
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { useTransition, syncRefs } from "@histoire/vendors/vue-use";
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString } from "@histoire/vendors/vue";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
4
3
|
"use strict";
|
|
5
4
|
const _hoisted_1 = { class: "htw-p-2 htw-flex htw-items-center htw-gap-x-2" };
|
|
@@ -24,10 +23,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
},
|
|
25
24
|
setup(__props) {
|
|
26
25
|
const props = __props;
|
|
27
|
-
const { count } = toRefs(props);
|
|
28
|
-
const delayedCount = ref(0);
|
|
29
|
-
const animatedCount = useTransition(delayedCount, { delay: 100, duration: 700 });
|
|
30
|
-
syncRefs(count, delayedCount);
|
|
31
26
|
return (_ctx, _cache) => {
|
|
32
27
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
28
|
createVNode(unref(Icon), {
|
|
@@ -35,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
30
|
class: "htw-text-2xl htw-text-gray-700 dark:htw-text-gray-300 htw-flex-none"
|
|
36
31
|
}, null, 8, ["icon"]),
|
|
37
32
|
createElementVNode("div", _hoisted_2, [
|
|
38
|
-
createElementVNode("span", _hoisted_3, toDisplayString(
|
|
33
|
+
createElementVNode("span", _hoisted_3, toDisplayString(__props.count), 1),
|
|
39
34
|
createElementVNode("span", _hoisted_4, toDisplayString(__props.title), 1)
|
|
40
35
|
])
|
|
41
36
|
]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive, openBlock,
|
|
1
|
+
import { defineComponent, reactive, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeStyle, Fragment, renderList, createElementVNode, normalizeClass, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
3
|
const _hoisted_1 = { class: "histoire-initial-loading htw-fixed htw-inset-0 htw-bg-white dark:htw-bg-gray-700 htw-flex htw-flex-col htw-gap-6 htw-items-center htw-justify-center" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -17,8 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
emits: {
|
|
20
|
-
|
|
21
|
-
"update:modelValue": (newValue) => true
|
|
20
|
+
"update:modelValue": (_newValue) => true
|
|
22
21
|
},
|
|
23
22
|
setup(__props, { emit: __emit }) {
|
|
24
23
|
const props = __props;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = {};
|
|
5
|
-
const _withScopeId = (n) => (pushScopeId("data-v-c5ecfead"), n = n(), popScopeId(), n);
|
|
6
5
|
const _hoisted_1 = { class: "histoire-base-empty htw-base-empty htw-flex htw-flex-col htw-items-center htw-justify-center htw-space-y-4 htw-py-12 htw-h-full htw-text-center htw-text-gray-400 htw-text-lg" };
|
|
7
6
|
function _sfc_render(_ctx, _cache) {
|
|
8
7
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main from "./BaseIcon.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const BaseIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const BaseIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2114f510"]]);
|
|
6
6
|
export {
|
|
7
7
|
BaseIcon as default
|
|
8
8
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, createBlock, unref
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createBlock, unref } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
"use strict";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-74182813"), n = n(), popScopeId(), n);
|
|
5
4
|
const _hoisted_1 = ["src", "alt"];
|
|
6
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "BaseIcon",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseListItemLink.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, withKeys, renderSlot } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick", "onKeyup"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, renderSlot, createBlock, createElementVNode, unref, createCommentVNode, reactive, onBeforeUnmount, h } from "@histoire/vendors/vue";
|
|
2
|
-
import { useResizeObserver } from "@histoire/vendors/vue-use";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { useResizeObserver } from "@histoire/vendors/vue-use";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
role: "button",
|
|
@@ -49,14 +49,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
return () => h("div", { ref: el2, style: { visibility: visible.value ? "visible" : "hidden" } }, slots.default());
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
|
|
52
|
+
function ChildrenRender(props, { slots }) {
|
|
53
53
|
const [fragment] = slots.default();
|
|
54
54
|
return fragment.children.map((vnode, index) => h(ChildWrapper, { index }, () => [vnode]));
|
|
55
|
-
}
|
|
56
|
-
|
|
55
|
+
}
|
|
56
|
+
function ChildrenSlice(props, { slots }) {
|
|
57
57
|
const [fragment] = slots.default();
|
|
58
58
|
return fragment.children.slice(props.start, props.end);
|
|
59
|
-
}
|
|
59
|
+
}
|
|
60
60
|
return (_ctx, _cache) => {
|
|
61
61
|
const _component_VDropdown = resolveComponent("VDropdown");
|
|
62
62
|
return openBlock(), createElementBlock("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseOverflowTab.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createElementBlock, Fragment, renderList, mergeProps, renderSlot, createTextVNode, toDisplayString, createVNode } from "@histoire/vendors/vue";
|
|
2
|
-
import { Dropdown } from "@histoire/vendors/floating-vue";
|
|
3
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
|
+
import { Dropdown } from "@histoire/vendors/floating-vue";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = { class: "htw-cursor-pointer htw-w-full htw-outline-none htw-px-2 htw-h-[27px] -htw-my-1 htw-border htw-border-solid htw-border-black/25 dark:htw-border-white/25 hover:htw-border-primary-500 dark:hover:htw-border-primary-500 htw-rounded-sm htw-flex htw-gap-2 htw-items-center htw-leading-normal" };
|
|
6
6
|
const _hoisted_2 = { class: "htw-flex-1 htw-truncate" };
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
popper: withCtx(({ hide }) => [
|
|
38
38
|
createElementVNode("div", _hoisted_3, [
|
|
39
39
|
(openBlock(true), createElementBlock(Fragment, null, renderList(formattedOptions.value, (label, value) => {
|
|
40
|
-
return openBlock(), createElementBlock("div", mergeProps({ ..._ctx.$attrs, class: null, style: null }, {
|
|
40
|
+
return openBlock(), createElementBlock("div", mergeProps({ ref_for: true }, { ..._ctx.$attrs, class: null, style: null }, {
|
|
41
41
|
key: label,
|
|
42
42
|
class: ["htw-px-2 htw-py-1 htw-cursor-pointer hover:htw-bg-primary-100 dark:hover:htw-bg-primary-700", {
|
|
43
43
|
"htw-bg-primary-200 dark:htw-bg-primary-800": props.modelValue === value
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main from "./BaseSplitPane.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
|
-
const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const BaseSplitPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4f40a1bb"]]);
|
|
6
6
|
export {
|
|
7
7
|
BaseSplitPane as default
|
|
8
8
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, withModifiers
|
|
1
|
+
import { defineComponent, ref, watch, computed, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, withModifiers } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
|
-
const _withScopeId = (n) => (pushScopeId("data-v-ed925107"), n = n(), popScopeId(), n);
|
|
4
|
-
const _hoisted_1 = ["onMousedown"];
|
|
5
3
|
const SAVE_PREFIX = "__histoire";
|
|
6
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
5
|
__name: "BaseSplitPane",
|
|
@@ -42,8 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
40
|
}
|
|
43
41
|
},
|
|
44
42
|
emits: {
|
|
45
|
-
|
|
46
|
-
"update:split": (value) => true
|
|
43
|
+
"update:split": (_value) => true
|
|
47
44
|
},
|
|
48
45
|
setup(__props, { emit: __emit }) {
|
|
49
46
|
const props = __props;
|
|
@@ -165,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
162
|
"htw-bg-primary-500/25": dragging.value
|
|
166
163
|
}]),
|
|
167
164
|
onMousedown: withModifiers(dragStart, ["prevent"])
|
|
168
|
-
}, null,
|
|
165
|
+
}, null, 34)
|
|
169
166
|
], 6),
|
|
170
167
|
createElementVNode("div", {
|
|
171
168
|
class: normalizeClass(["htw-relative htw-bottom-0 htw-right-0", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./BaseTab.vue2.js";
|
|
2
|
-
import { resolveComponent, openBlock,
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, renderSlot, createVNode, Transition, createElementBlock, createCommentVNode } from "@histoire/vendors/vue";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
"use strict";
|
|
5
5
|
const _hoisted_1 = ["href", "onClick"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock,
|
|
1
|
+
import { openBlock, createElementBlock, renderSlot } from "@histoire/vendors/vue";
|
|
2
2
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
const _hoisted_1 = { class: "histoire-base-tag htw-text-center htw-text-xs htw-mx-1 htw-px-0.5 htw-h-4 htw-uppercase htw-min-w-4 htw-rounded-full htw-bg-primary-500 htw-text-white dark:htw-text-black" };
|
|
@@ -2,8 +2,8 @@ import { defineComponent, reactive, ref, onMounted, openBlock, createElementBloc
|
|
|
2
2
|
import { getCommandContext, executeCommand } from "../../util/commands.js";
|
|
3
3
|
import "../base/BaseButton.vue.js";
|
|
4
4
|
import "../base/BaseKeyboardShortcut.vue.js";
|
|
5
|
-
import "./PromptText.vue.js";
|
|
6
5
|
import "./PromptSelect.vue.js";
|
|
6
|
+
import "./PromptText.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../base/BaseButton.vue2.js";
|
|
8
8
|
import _sfc_main$2 from "../base/BaseKeyboardShortcut.vue2.js";
|
|
9
9
|
import _sfc_main$3 from "./PromptText.vue2.js";
|
|
@@ -11,7 +11,6 @@ import _sfc_main$4 from "./PromptSelect.vue2.js";
|
|
|
11
11
|
"use strict";
|
|
12
12
|
const _hoisted_1 = { class: "htw-p-4 htw-opacity-70" };
|
|
13
13
|
const _hoisted_2 = { class: "htw-flex htw-justify-end htw-gap-2 htw-p-2" };
|
|
14
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, "Submit", -1);
|
|
15
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "CommandPrompts",
|
|
17
16
|
props: {
|
|
@@ -36,10 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
35
|
answers[prompt.field] = defaultValue;
|
|
37
36
|
}
|
|
38
37
|
function submit() {
|
|
39
|
-
const params = props.command.getParams ? props.command.getParams({
|
|
40
|
-
...getCommandContext(),
|
|
41
|
-
answers
|
|
42
|
-
}) : answers;
|
|
38
|
+
const params = props.command.getParams ? props.command.getParams({ ...getCommandContext(), answers }) : answers;
|
|
43
39
|
executeCommand(props.command, params);
|
|
44
40
|
emit("close");
|
|
45
41
|
}
|
|
@@ -82,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
78
|
}, {
|
|
83
79
|
default: withCtx(() => [
|
|
84
80
|
createVNode(_sfc_main$2, { shortcut: "Enter" }),
|
|
85
|
-
|
|
81
|
+
_cache[2] || (_cache[2] = createElementVNode("span", null, "Submit", -1))
|
|
86
82
|
]),
|
|
87
83
|
_: 1
|
|
88
84
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent, openBlock,
|
|
1
|
+
import { defineComponent, defineAsyncComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, createCommentVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import { useCommandStore } from "../../stores/command.js";
|
|
3
3
|
"use strict";
|
|
4
4
|
const _hoisted_1 = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, ref, watchEffect, openBlock,
|
|
1
|
+
import { defineComponent, computed, ref, watchEffect, openBlock, createElementBlock, withDirectives, createElementVNode, vModelText, toDisplayString, createCommentVNode, createTextVNode, createVNode, withKeys, withModifiers, unref, Fragment, renderList, normalizeClass, createBlock } from "@histoire/vendors/vue";
|
|
2
2
|
import { Icon } from "@histoire/vendors/iconify";
|
|
3
3
|
import { useSelection } from "../../util/select.js";
|
|
4
4
|
import "../base/BaseKeyboardShortcut.vue.js";
|
|
@@ -95,9 +95,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
createElementVNode("span", null, toDisplayString(_ctx.prompt.label), 1),
|
|
96
96
|
_ctx.prompt.required ? (openBlock(), createElementBlock("span", _hoisted_5, "*")) : createCommentVNode("", true),
|
|
97
97
|
createElementVNode("span", _hoisted_6, [
|
|
98
|
-
createTextVNode(" Press "),
|
|
98
|
+
_cache[5] || (_cache[5] = createTextVNode(" Press ")),
|
|
99
99
|
createVNode(_sfc_main$1, { shortcut: "Space" }),
|
|
100
|
-
createTextVNode(" to select ")
|
|
100
|
+
_cache[6] || (_cache[6] = createTextVNode(" to select "))
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
103
103
|
withDirectives(createElementVNode("input", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, ref, watch, openBlock,
|
|
1
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, withDirectives, vModelText } from "@histoire/vendors/vue";
|
|
2
2
|
"use strict";
|
|
3
3
|
const _hoisted_1 = { class: "histoire-prompt-text" };
|
|
4
4
|
const _hoisted_2 = { class: "htw-flex htw-flex-col htw-gap-2 htw-p-2" };
|
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "@histoire/vendors/vue";
|
|
2
2
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
const _hoisted_1 = { fill: "none" };
|
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ createElementVNode("pattern", {
|
|
6
|
-
id: "checkerboard",
|
|
7
|
-
width: "64",
|
|
8
|
-
height: "64",
|
|
9
|
-
patternUnits: "userSpaceOnUse"
|
|
10
|
-
}, [
|
|
11
|
-
/* @__PURE__ */ createElementVNode("rect", {
|
|
12
|
-
x: "0",
|
|
13
|
-
y: "0",
|
|
14
|
-
width: "32",
|
|
15
|
-
height: "32",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}),
|
|
18
|
-
/* @__PURE__ */ createElementVNode("rect", {
|
|
19
|
-
x: "32",
|
|
20
|
-
y: "32",
|
|
21
|
-
width: "32",
|
|
22
|
-
height: "32",
|
|
23
|
-
fill: "currentColor"
|
|
24
|
-
})
|
|
25
|
-
], -1);
|
|
26
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("rect", {
|
|
27
|
-
x: "0",
|
|
28
|
-
y: "0",
|
|
29
|
-
width: "100%",
|
|
30
|
-
height: "100%",
|
|
31
|
-
fill: "url(#checkerboard)"
|
|
32
|
-
}, null, -1);
|
|
33
|
-
const _hoisted_4 = [
|
|
34
|
-
_hoisted_2,
|
|
35
|
-
_hoisted_3
|
|
36
|
-
];
|
|
37
5
|
function _sfc_render(_ctx, _cache) {
|
|
38
|
-
return openBlock(), createElementBlock("svg", _hoisted_1,
|
|
6
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
|
|
7
|
+
createElementVNode("pattern", {
|
|
8
|
+
id: "checkerboard",
|
|
9
|
+
width: "64",
|
|
10
|
+
height: "64",
|
|
11
|
+
patternUnits: "userSpaceOnUse"
|
|
12
|
+
}, [
|
|
13
|
+
createElementVNode("rect", {
|
|
14
|
+
x: "0",
|
|
15
|
+
y: "0",
|
|
16
|
+
width: "32",
|
|
17
|
+
height: "32",
|
|
18
|
+
fill: "currentColor"
|
|
19
|
+
}),
|
|
20
|
+
createElementVNode("rect", {
|
|
21
|
+
x: "32",
|
|
22
|
+
y: "32",
|
|
23
|
+
width: "32",
|
|
24
|
+
height: "32",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
})
|
|
27
|
+
], -1),
|
|
28
|
+
createElementVNode("rect", {
|
|
29
|
+
x: "0",
|
|
30
|
+
y: "0",
|
|
31
|
+
width: "100%",
|
|
32
|
+
height: "100%",
|
|
33
|
+
fill: "url(#checkerboard)"
|
|
34
|
+
}, null, -1)
|
|
35
|
+
]));
|
|
39
36
|
}
|
|
40
37
|
const CheckerboardPattern = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
41
38
|
export {
|