@corbe30/fortune-excel 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +3 -0
- package/README.md +24 -24
- package/dist/HandleZip.js +90 -34
- package/dist/ImportHelper.d.ts +2 -0
- package/dist/ImportHelper.js +51 -0
- package/dist/ToExcel/ExcelBorder.js +141 -141
- package/dist/ToExcel/ExcelConvert.js +19 -8
- package/dist/ToExcel/ExcelFile.js +66 -22
- package/dist/ToExcel/ExcelImage.js +27 -17
- package/dist/ToExcel/ExcelStyle.js +7 -7
- package/dist/ToFortuneSheet/FortuneBase.js +84 -28
- package/dist/ToFortuneSheet/FortuneCell.js +205 -185
- package/dist/ToFortuneSheet/FortuneFile.js +117 -111
- package/dist/ToFortuneSheet/FortuneImage.js +35 -15
- package/dist/ToFortuneSheet/FortuneSheet.js +217 -191
- package/dist/ToFortuneSheet/ReadXml.js +114 -87
- package/dist/ToolbarItem.d.ts +12 -0
- package/dist/ToolbarItem.js +67 -0
- package/dist/Transform.d.ts +2 -0
- package/dist/Transform.js +78 -0
- package/dist/common/constant.js +24 -24
- package/dist/common/emf.js +5 -5
- package/dist/common/method.js +169 -162
- package/dist/icons/ExportIcon.d.ts +3 -0
- package/dist/icons/ExportIcon.js +7 -0
- package/dist/icons/ImportIcon.d.ts +3 -0
- package/dist/icons/ImportIcon.js +7 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.js +2 -24
- package/package.json +2 -2
- package/storybook-static/assets/Color-6VNJS4EI-0c01ecf9.js +1 -0
- package/storybook-static/assets/DocsRenderer-NNNQARDV-8c85b0e9.js +364 -0
- package/storybook-static/assets/Page.stories-2589ebf6.css +1 -0
- package/storybook-static/assets/Page.stories-a573643a.js +1948 -0
- package/storybook-static/assets/WithTooltip-V3YHNWJZ-a3f0d923.js +1 -0
- package/storybook-static/assets/_commonjs-dynamic-modules-302442b1.js +1 -0
- package/storybook-static/assets/_commonjsHelpers-de833af9.js +1 -0
- package/storybook-static/assets/_getPrototype-1e53b583.js +3 -0
- package/storybook-static/assets/entry-preview-b21759a2.js +1 -0
- package/storybook-static/assets/entry-preview-docs-d14f77b2.js +54 -0
- package/storybook-static/assets/formatter-SWP5E3XI-02b41ceb.js +156 -0
- package/storybook-static/assets/iframe-b3040d49.js +1 -0
- package/storybook-static/assets/index-1b441bc2.js +1 -0
- package/storybook-static/assets/index-356e4a49.js +6 -0
- package/storybook-static/assets/index-8b3efc3f.js +9 -0
- package/storybook-static/assets/index-9322cee5.js +1 -0
- package/storybook-static/assets/preview-0ef86afd.js +7 -0
- package/storybook-static/assets/preview-1970e752.js +1 -0
- package/storybook-static/assets/preview-2d30111f.js +27 -0
- package/storybook-static/assets/preview-2ff2accb.js +1 -0
- package/storybook-static/assets/preview-30b54f76.js +20 -0
- package/storybook-static/assets/preview-ba2273f4.js +1 -0
- package/storybook-static/assets/preview-c56bf6ac.js +1 -0
- package/storybook-static/assets/preview-d01b88e8.js +17 -0
- package/storybook-static/assets/preview-da31036b.js +396 -0
- package/storybook-static/assets/react-18-0a210e0b.js +24 -0
- package/storybook-static/assets/syntaxhighlighter-MJWPISIS-6799d638.js +1 -0
- package/storybook-static/favicon.svg +7 -0
- package/storybook-static/iframe.html +460 -0
- package/storybook-static/index.html +127 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +63 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-0/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +31 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/WithTooltip-V3YHNWJZ-MXTFSDU5.js +1 -0
- package/storybook-static/sb-manager/chunk-5QAFKPS7.js +7 -0
- package/storybook-static/sb-manager/chunk-7PRFHFSS.js +9 -0
- package/storybook-static/sb-manager/chunk-XE6LDGTE.js +406 -0
- package/storybook-static/sb-manager/chunk-YDUB7CS6.js +348 -0
- package/storybook-static/sb-manager/chunk-ZEU7PDD3.js +1 -0
- package/storybook-static/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js +156 -0
- package/storybook-static/sb-manager/globals-module-info.js +1 -0
- package/storybook-static/sb-manager/globals.js +1 -0
- package/storybook-static/sb-manager/index.js +1 -0
- package/storybook-static/sb-manager/runtime.js +1 -0
- package/storybook-static/sb-manager/syntaxhighlighter-MJWPISIS-JOSCT6CQ.js +1 -0
- package/storybook-static/sb-preview/globals.js +1 -0
- package/storybook-static/sb-preview/runtime.js +112 -0
- package/storybook-static/stories.json +1 -0
- package/tsconfig.json +4 -3
- package/.github/workflows/main.yml +0 -30
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<!--suppress HtmlUnknownTarget -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta charset="utf-8" />
|
|
7
|
+
<title>Storybook</title>
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
|
|
10
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin />
|
|
11
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin />
|
|
12
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin />
|
|
13
|
+
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin />
|
|
14
|
+
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
window.CONFIG_TYPE = 'PRODUCTION';
|
|
18
|
+
window.LOGLEVEL = 'info';
|
|
19
|
+
window.FRAMEWORK_OPTIONS = {};
|
|
20
|
+
window.CHANNEL_OPTIONS = {};
|
|
21
|
+
window.FEATURES = {"warnOnLegacyHierarchySeparator":true,"buildStoriesJson":false,"storyStoreV7":true,"argTypeTargetsV7":true,"legacyDecoratorFileOrder":false,"disallowImplicitActionsInRenderV8":false};
|
|
22
|
+
window.STORIES = [{"titlePrefix":"","directory":"./src","files":"**/*.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|mjs|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|mjs|ts|tsx))$"}];
|
|
23
|
+
window.DOCS_OPTIONS = {"defaultName":"Docs","autodocs":"tag"};
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// We do this so that "module && module.hot" etc. in Storybook source code
|
|
28
|
+
// doesn't fail (it will simply be disabled)
|
|
29
|
+
window.module = undefined;
|
|
30
|
+
window.global = window;
|
|
31
|
+
</script>
|
|
32
|
+
<base target="_parent" />
|
|
33
|
+
|
|
34
|
+
<style>
|
|
35
|
+
/* While we aren't showing the main block yet, but still preparing, we want everything the user
|
|
36
|
+
has rendered, which may or may not be in #storybook-root, to be display none */
|
|
37
|
+
.sb-show-preparing-story:not(.sb-show-main) > :not(.sb-preparing-story) {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sb-show-preparing-docs:not(.sb-show-main) > :not(.sb-preparing-docs) {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Hide our own blocks when we aren't supposed to be showing them */
|
|
46
|
+
:not(.sb-show-preparing-story) > .sb-preparing-story,
|
|
47
|
+
:not(.sb-show-preparing-docs) > .sb-preparing-docs,
|
|
48
|
+
:not(.sb-show-nopreview) > .sb-nopreview,
|
|
49
|
+
:not(.sb-show-errordisplay) > .sb-errordisplay {
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.sb-show-main.sb-main-centered {
|
|
54
|
+
margin: 0;
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
min-height: 100vh;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.sb-show-main.sb-main-centered #storybook-root {
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
margin: auto;
|
|
63
|
+
padding: 1rem;
|
|
64
|
+
max-height: 100%; /* Hack for centering correctly in IE11 */
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Vertical centering fix for IE11 */
|
|
68
|
+
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
69
|
+
.sb-show-main.sb-main-centered:after {
|
|
70
|
+
content: '';
|
|
71
|
+
min-height: inherit;
|
|
72
|
+
font-size: 0;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.sb-show-main.sb-main-fullscreen {
|
|
77
|
+
margin: 0;
|
|
78
|
+
padding: 0;
|
|
79
|
+
display: block;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.sb-show-main.sb-main-padded {
|
|
83
|
+
margin: 0;
|
|
84
|
+
padding: 1rem;
|
|
85
|
+
display: block;
|
|
86
|
+
box-sizing: border-box;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.sb-wrapper {
|
|
90
|
+
position: fixed;
|
|
91
|
+
top: 0;
|
|
92
|
+
bottom: 0;
|
|
93
|
+
left: 0;
|
|
94
|
+
right: 0;
|
|
95
|
+
padding: 20px;
|
|
96
|
+
font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular', 'San Francisco',
|
|
97
|
+
BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
98
|
+
-webkit-font-smoothing: antialiased;
|
|
99
|
+
overflow: auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.sb-heading {
|
|
103
|
+
font-size: 14px;
|
|
104
|
+
font-weight: 600;
|
|
105
|
+
letter-spacing: 0.2px;
|
|
106
|
+
margin: 10px 0;
|
|
107
|
+
padding-right: 25px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.sb-nopreview {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-content: center;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sb-nopreview_main {
|
|
117
|
+
margin: auto;
|
|
118
|
+
padding: 30px;
|
|
119
|
+
border-radius: 10px;
|
|
120
|
+
background: rgba(0, 0, 0, 0.03);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.sb-nopreview_heading {
|
|
124
|
+
text-align: center;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.sb-errordisplay {
|
|
128
|
+
border: 20px solid rgb(187, 49, 49);
|
|
129
|
+
background: #222;
|
|
130
|
+
color: #fff;
|
|
131
|
+
z-index: 999999;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.sb-errordisplay_code {
|
|
135
|
+
padding: 10px;
|
|
136
|
+
background: #000;
|
|
137
|
+
color: #eee;
|
|
138
|
+
font-family: 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
|
|
139
|
+
'Lucida Console', Consolas, Monaco, monospace;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.sb-errordisplay pre {
|
|
143
|
+
white-space: pre-wrap;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@-webkit-keyframes sb-rotate360 {
|
|
147
|
+
from {
|
|
148
|
+
transform: rotate(0deg);
|
|
149
|
+
}
|
|
150
|
+
to {
|
|
151
|
+
transform: rotate(360deg);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@keyframes sb-rotate360 {
|
|
155
|
+
from {
|
|
156
|
+
transform: rotate(0deg);
|
|
157
|
+
}
|
|
158
|
+
to {
|
|
159
|
+
transform: rotate(360deg);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
@-webkit-keyframes sb-glow {
|
|
163
|
+
0%,
|
|
164
|
+
100% {
|
|
165
|
+
opacity: 1;
|
|
166
|
+
}
|
|
167
|
+
50% {
|
|
168
|
+
opacity: 0.4;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
@keyframes sb-glow {
|
|
172
|
+
0%,
|
|
173
|
+
100% {
|
|
174
|
+
opacity: 1;
|
|
175
|
+
}
|
|
176
|
+
50% {
|
|
177
|
+
opacity: 0.4;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* We display the preparing loaders *over* the rendering story */
|
|
182
|
+
.sb-preparing-story,
|
|
183
|
+
.sb-preparing-docs {
|
|
184
|
+
background-color: white;
|
|
185
|
+
/* Maximum possible z-index. It would be better to use stacking contexts to ensure it's always
|
|
186
|
+
on top, but this isn't possible as it would require making CSS changes that could affect user code */
|
|
187
|
+
z-index: 2147483647;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.sb-loader {
|
|
191
|
+
-webkit-animation: sb-rotate360 0.7s linear infinite;
|
|
192
|
+
animation: sb-rotate360 0.7s linear infinite;
|
|
193
|
+
border-color: rgba(97, 97, 97, 0.29);
|
|
194
|
+
border-radius: 50%;
|
|
195
|
+
border-style: solid;
|
|
196
|
+
border-top-color: #646464;
|
|
197
|
+
border-width: 2px;
|
|
198
|
+
display: inline-block;
|
|
199
|
+
height: 32px;
|
|
200
|
+
left: 50%;
|
|
201
|
+
margin-left: -16px;
|
|
202
|
+
margin-top: -16px;
|
|
203
|
+
mix-blend-mode: difference;
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
position: absolute;
|
|
206
|
+
top: 50%;
|
|
207
|
+
transition: all 200ms ease-out;
|
|
208
|
+
vertical-align: top;
|
|
209
|
+
width: 32px;
|
|
210
|
+
z-index: 4;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.sb-previewBlock {
|
|
214
|
+
background: #fff;
|
|
215
|
+
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
216
|
+
border-radius: 4px;
|
|
217
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 0;
|
|
218
|
+
margin: 25px auto 40px;
|
|
219
|
+
max-width: 600px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.sb-previewBlock_header {
|
|
223
|
+
align-items: center;
|
|
224
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 -1px 0 0 inset;
|
|
225
|
+
display: flex;
|
|
226
|
+
gap: 14px;
|
|
227
|
+
height: 40px;
|
|
228
|
+
padding: 0 12px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.sb-previewBlock_icon {
|
|
232
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
233
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
234
|
+
background: #e6e6e6;
|
|
235
|
+
height: 14px;
|
|
236
|
+
width: 14px;
|
|
237
|
+
}
|
|
238
|
+
.sb-previewBlock_icon:last-child {
|
|
239
|
+
margin-left: auto;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.sb-previewBlock_body {
|
|
243
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
244
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
245
|
+
height: 182px;
|
|
246
|
+
position: relative;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.sb-argstableBlock {
|
|
250
|
+
border-collapse: collapse;
|
|
251
|
+
border-spacing: 0;
|
|
252
|
+
font-size: 13px;
|
|
253
|
+
line-height: 20px;
|
|
254
|
+
margin: 25px auto 40px;
|
|
255
|
+
max-width: 600px;
|
|
256
|
+
text-align: left;
|
|
257
|
+
width: 100%;
|
|
258
|
+
}
|
|
259
|
+
.sb-argstableBlock th:first-of-type,
|
|
260
|
+
.sb-argstableBlock td:first-of-type {
|
|
261
|
+
padding-left: 20px;
|
|
262
|
+
}
|
|
263
|
+
.sb-argstableBlock th:nth-of-type(2),
|
|
264
|
+
.sb-argstableBlock td:nth-of-type(2) {
|
|
265
|
+
width: 35%;
|
|
266
|
+
}
|
|
267
|
+
.sb-argstableBlock th:nth-of-type(3),
|
|
268
|
+
.sb-argstableBlock td:nth-of-type(3) {
|
|
269
|
+
width: 15%;
|
|
270
|
+
}
|
|
271
|
+
.sb-argstableBlock th:last-of-type,
|
|
272
|
+
.sb-argstableBlock td:last-of-type {
|
|
273
|
+
width: 25%;
|
|
274
|
+
padding-right: 20px;
|
|
275
|
+
}
|
|
276
|
+
.sb-argstableBlock th span,
|
|
277
|
+
.sb-argstableBlock td span {
|
|
278
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
279
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
280
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
281
|
+
border-radius: 0;
|
|
282
|
+
box-shadow: none;
|
|
283
|
+
color: transparent;
|
|
284
|
+
}
|
|
285
|
+
.sb-argstableBlock th {
|
|
286
|
+
padding: 10px 15px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.sb-argstableBlock-body {
|
|
290
|
+
border-radius: 4px;
|
|
291
|
+
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 3px 1px, rgba(0, 0, 0, 0.065) 0 0 0 1px;
|
|
292
|
+
}
|
|
293
|
+
.sb-argstableBlock-body tr {
|
|
294
|
+
background: transparent;
|
|
295
|
+
overflow: hidden;
|
|
296
|
+
}
|
|
297
|
+
.sb-argstableBlock-body tr:not(:first-child) {
|
|
298
|
+
border-top: 1px solid #e6e6e6;
|
|
299
|
+
}
|
|
300
|
+
.sb-argstableBlock-body tr:first-child td:first-child {
|
|
301
|
+
border-top-left-radius: 4px;
|
|
302
|
+
}
|
|
303
|
+
.sb-argstableBlock-body tr:first-child td:last-child {
|
|
304
|
+
border-top-right-radius: 4px;
|
|
305
|
+
}
|
|
306
|
+
.sb-argstableBlock-body tr:last-child td:first-child {
|
|
307
|
+
border-bottom-left-radius: 4px;
|
|
308
|
+
}
|
|
309
|
+
.sb-argstableBlock-body tr:last-child td:last-child {
|
|
310
|
+
border-bottom-right-radius: 4px;
|
|
311
|
+
}
|
|
312
|
+
.sb-argstableBlock-body td {
|
|
313
|
+
background: #fff;
|
|
314
|
+
padding-bottom: 10px;
|
|
315
|
+
padding-top: 10px;
|
|
316
|
+
vertical-align: top;
|
|
317
|
+
}
|
|
318
|
+
.sb-argstableBlock-body td:not(:first-of-type) {
|
|
319
|
+
padding-left: 15px;
|
|
320
|
+
padding-right: 15px;
|
|
321
|
+
}
|
|
322
|
+
.sb-argstableBlock-body button {
|
|
323
|
+
-webkit-animation: sb-glow 1.5s ease-in-out infinite;
|
|
324
|
+
animation: sb-glow 1.5s ease-in-out infinite;
|
|
325
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
326
|
+
border: 0;
|
|
327
|
+
border-radius: 0;
|
|
328
|
+
box-shadow: none;
|
|
329
|
+
color: transparent;
|
|
330
|
+
display: inline;
|
|
331
|
+
font-size: 12px;
|
|
332
|
+
line-height: 1;
|
|
333
|
+
padding: 10px 16px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.sb-argstableBlock-summary {
|
|
337
|
+
margin-top: 4px;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.sb-argstableBlock-code {
|
|
341
|
+
margin-right: 4px;
|
|
342
|
+
margin-bottom: 4px;
|
|
343
|
+
padding: 2px 5px;
|
|
344
|
+
}
|
|
345
|
+
</style>
|
|
346
|
+
|
|
347
|
+
<script>
|
|
348
|
+
/* globals window */
|
|
349
|
+
/* eslint-disable no-underscore-dangle */
|
|
350
|
+
try {
|
|
351
|
+
if (window.top !== window) {
|
|
352
|
+
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = window.top.__REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
353
|
+
window.__VUE_DEVTOOLS_GLOBAL_HOOK__ = window.top.__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
354
|
+
window.top.__VUE_DEVTOOLS_CONTEXT__ = window.document;
|
|
355
|
+
}
|
|
356
|
+
} catch (e) {
|
|
357
|
+
// eslint-disable-next-line no-console
|
|
358
|
+
console.warn('unable to connect to top frame for connecting dev tools');
|
|
359
|
+
}
|
|
360
|
+
</script>
|
|
361
|
+
|
|
362
|
+
<script type="module" crossorigin src="./assets/iframe-b3040d49.js"></script>
|
|
363
|
+
</head>
|
|
364
|
+
|
|
365
|
+
<body>
|
|
366
|
+
<div class="sb-preparing-story sb-wrapper">
|
|
367
|
+
<div class="sb-loader"></div>
|
|
368
|
+
</div>
|
|
369
|
+
|
|
370
|
+
<div class="sb-preparing-docs sb-wrapper">
|
|
371
|
+
<div class="sb-previewBlock">
|
|
372
|
+
<div class="sb-previewBlock_header">
|
|
373
|
+
<div class="sb-previewBlock_icon"></div>
|
|
374
|
+
<div class="sb-previewBlock_icon"></div>
|
|
375
|
+
<div class="sb-previewBlock_icon"></div>
|
|
376
|
+
<div class="sb-previewBlock_icon"></div>
|
|
377
|
+
</div>
|
|
378
|
+
<div class="sb-previewBlock_body">
|
|
379
|
+
<div class="sb-loader"></div>
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
<table aria-hidden="true" class="sb-argstableBlock">
|
|
383
|
+
<thead class="sb-argstableBlock-head">
|
|
384
|
+
<tr>
|
|
385
|
+
<th><span>Name</span></th>
|
|
386
|
+
<th><span>Description</span></th>
|
|
387
|
+
<th><span>Default</span></th>
|
|
388
|
+
<th><span>Control </span></th>
|
|
389
|
+
</tr>
|
|
390
|
+
</thead>
|
|
391
|
+
<tbody class="sb-argstableBlock-body">
|
|
392
|
+
<tr>
|
|
393
|
+
<td><span>propertyName</span><span title="Required">*</span></td>
|
|
394
|
+
<td>
|
|
395
|
+
<div><span>This is a short description</span></div>
|
|
396
|
+
<div class="sb-argstableBlock-summary">
|
|
397
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
398
|
+
</div>
|
|
399
|
+
</td>
|
|
400
|
+
<td>
|
|
401
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
402
|
+
</td>
|
|
403
|
+
<td><button>Set string</button></td>
|
|
404
|
+
</tr>
|
|
405
|
+
<tr>
|
|
406
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
407
|
+
<td>
|
|
408
|
+
<div><span>This is a short description</span></div>
|
|
409
|
+
<div class="sb-argstableBlock-summary">
|
|
410
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
411
|
+
</div>
|
|
412
|
+
</td>
|
|
413
|
+
<td>
|
|
414
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
415
|
+
</td>
|
|
416
|
+
<td><button>Set string</button></td>
|
|
417
|
+
</tr>
|
|
418
|
+
<tr>
|
|
419
|
+
<td><span>propertyName</span><span>*</span></td>
|
|
420
|
+
<td>
|
|
421
|
+
<div><span>This is a short description</span></div>
|
|
422
|
+
<div class="sb-argstableBlock-summary">
|
|
423
|
+
<div><span class="sb-argstableBlock-code">summary</span></div>
|
|
424
|
+
</div>
|
|
425
|
+
</td>
|
|
426
|
+
<td>
|
|
427
|
+
<div><span class="sb-argstableBlock-code">defaultValue</span></div>
|
|
428
|
+
</td>
|
|
429
|
+
<td><button>Set string</button></td>
|
|
430
|
+
</tr>
|
|
431
|
+
</tbody>
|
|
432
|
+
</table>
|
|
433
|
+
</div>
|
|
434
|
+
|
|
435
|
+
<div class="sb-nopreview sb-wrapper">
|
|
436
|
+
<div class="sb-nopreview_main">
|
|
437
|
+
<h1 class="sb-nopreview_heading sb-heading">No Preview</h1>
|
|
438
|
+
<p>Sorry, but you either have no stories or none are selected somehow.</p>
|
|
439
|
+
<ul>
|
|
440
|
+
<li>Please check the Storybook config.</li>
|
|
441
|
+
<li>Try reloading the page.</li>
|
|
442
|
+
</ul>
|
|
443
|
+
<p>
|
|
444
|
+
If the problem persists, check the browser console, or the terminal you've run Storybook from.
|
|
445
|
+
</p>
|
|
446
|
+
</div>
|
|
447
|
+
</div>
|
|
448
|
+
|
|
449
|
+
<div class="sb-errordisplay sb-wrapper">
|
|
450
|
+
<pre id="error-message" class="sb-heading"></pre>
|
|
451
|
+
<pre class="sb-errordisplay_code"><code id="error-stack"></code></pre>
|
|
452
|
+
</div>
|
|
453
|
+
|
|
454
|
+
<div id="storybook-root"></div>
|
|
455
|
+
<div id="storybook-docs"></div>
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
</body>
|
|
459
|
+
|
|
460
|
+
</html>
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
|
|
6
|
+
<title>@storybook/cli - Storybook</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
11
|
+
|
|
12
|
+
<link
|
|
13
|
+
rel="prefetch"
|
|
14
|
+
href="./sb-common-assets/nunito-sans-regular.woff2"
|
|
15
|
+
as="font"
|
|
16
|
+
type="font/woff2"
|
|
17
|
+
crossorigin
|
|
18
|
+
/>
|
|
19
|
+
<link
|
|
20
|
+
rel="prefetch"
|
|
21
|
+
href="./sb-common-assets/nunito-sans-bold.woff2"
|
|
22
|
+
as="font"
|
|
23
|
+
type="font/woff2"
|
|
24
|
+
crossorigin
|
|
25
|
+
/>
|
|
26
|
+
<link rel="stylesheet" href="./sb-common-assets/fonts.css" />
|
|
27
|
+
|
|
28
|
+
<link href="./sb-manager/runtime.js" rel="modulepreload" />
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<link href="./sb-addons/links-0/manager-bundle.js" rel="modulepreload" />
|
|
32
|
+
|
|
33
|
+
<link href="./sb-addons/essentials-controls-1/manager-bundle.js" rel="modulepreload" />
|
|
34
|
+
|
|
35
|
+
<link href="./sb-addons/essentials-actions-2/manager-bundle.js" rel="modulepreload" />
|
|
36
|
+
|
|
37
|
+
<link href="./sb-addons/essentials-backgrounds-3/manager-bundle.js" rel="modulepreload" />
|
|
38
|
+
|
|
39
|
+
<link href="./sb-addons/essentials-viewport-4/manager-bundle.js" rel="modulepreload" />
|
|
40
|
+
|
|
41
|
+
<link href="./sb-addons/essentials-toolbars-5/manager-bundle.js" rel="modulepreload" />
|
|
42
|
+
|
|
43
|
+
<link href="./sb-addons/essentials-measure-6/manager-bundle.js" rel="modulepreload" />
|
|
44
|
+
|
|
45
|
+
<link href="./sb-addons/essentials-outline-7/manager-bundle.js" rel="modulepreload" />
|
|
46
|
+
|
|
47
|
+
<link href="./sb-addons/interactions-8/manager-bundle.js" rel="modulepreload" />
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<style>
|
|
51
|
+
#storybook-root[hidden] {
|
|
52
|
+
display: none !important;
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
</head>
|
|
58
|
+
<body>
|
|
59
|
+
<div id="root"></div>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<script>
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
window['FEATURES'] = {
|
|
66
|
+
"warnOnLegacyHierarchySeparator": true,
|
|
67
|
+
"buildStoriesJson": false,
|
|
68
|
+
"storyStoreV7": true,
|
|
69
|
+
"argTypeTargetsV7": true,
|
|
70
|
+
"legacyDecoratorFileOrder": false,
|
|
71
|
+
"disallowImplicitActionsInRenderV8": false
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
window['REFS'] = {};
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
window['LOGLEVEL'] = "info";
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
window['DOCS_OPTIONS'] = {
|
|
85
|
+
"defaultName": "Docs",
|
|
86
|
+
"autodocs": "tag"
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
window['CONFIG_TYPE'] = "PRODUCTION";
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
</script>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
<script type="module">
|
|
102
|
+
import './sb-manager/runtime.js';
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
import './sb-addons/links-0/manager-bundle.js';
|
|
106
|
+
|
|
107
|
+
import './sb-addons/essentials-controls-1/manager-bundle.js';
|
|
108
|
+
|
|
109
|
+
import './sb-addons/essentials-actions-2/manager-bundle.js';
|
|
110
|
+
|
|
111
|
+
import './sb-addons/essentials-backgrounds-3/manager-bundle.js';
|
|
112
|
+
|
|
113
|
+
import './sb-addons/essentials-viewport-4/manager-bundle.js';
|
|
114
|
+
|
|
115
|
+
import './sb-addons/essentials-toolbars-5/manager-bundle.js';
|
|
116
|
+
|
|
117
|
+
import './sb-addons/essentials-measure-6/manager-bundle.js';
|
|
118
|
+
|
|
119
|
+
import './sb-addons/essentials-outline-7/manager-bundle.js';
|
|
120
|
+
|
|
121
|
+
import './sb-addons/interactions-8/manager-bundle.js';
|
|
122
|
+
|
|
123
|
+
</script>
|
|
124
|
+
|
|
125
|
+
<link href="./sb-preview/runtime.js" rel="prefetch" as="script" />
|
|
126
|
+
</body>
|
|
127
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":4,"entries":{"example-fortunesheet--importer":{"type":"story","id":"example-fortunesheet--importer","name":"Importer","title":"Example/FortuneSheet","importPath":"./src/stories/Page.stories.ts","tags":["story"]}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"generatedAt":1730970293541,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"10.8.2"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"7.6.20","storybookVersionSpecifier":"^7.6.12","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.6.20"},"@storybook/react":{"version":"7.6.20"},"@storybook/react-vite":{"version":"7.6.20"},"@storybook/test":{"version":"7.6.20"},"storybook":{"version":"7.6.20"}},"addons":{"@storybook/addon-links":{"version":"7.6.20"},"@storybook/addon-essentials":{"version":"7.6.20"},"@storybook/addon-interactions":{"version":"7.6.20"}}}
|