amotify 0.1.31 → 0.1.32
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/@declaration/_.js +1 -1
- package/dist/@styles/componentClasses/_.css +68 -65
- package/dist/@styles/componentClasses/_.js +39 -39
- package/dist/@styles/index.css +68 -65
- package/dist/@styles/index.js +39 -39
- package/dist/@styles/init.css +1 -1
- package/dist/@styles/style.css +68 -65
- package/dist/@styles/style.js +39 -39
- package/dist/@styles/var.css +1 -1
- package/dist/@utils/GenerateClassName.js +470 -1
- package/dist/@utils/LaunchReactApp.js +78 -1
- package/dist/@utils/_.js +12 -1
- package/dist/@utils/collectForm.js +96 -1
- package/dist/@utils/color.js +103 -1
- package/dist/@utils/config.js +101 -1
- package/dist/@utils/fin.js +39 -1
- package/dist/@utils/getElement.js +13 -1
- package/dist/@utils/jsminEx.js +172 -1
- package/dist/@utils/pageTransit.js +33 -1
- package/dist/@utils/useRecycle.js +44 -1
- package/dist/@utils/useStore.js +54 -1
- package/dist/atoms/Box.js +20 -1
- package/dist/atoms/FAI.js +148 -1
- package/dist/atoms/Flex.js +34 -1
- package/dist/atoms/Grid.js +17 -1
- package/dist/atoms/Img.js +65 -1
- package/dist/atoms/Logo.js +359 -51
- package/dist/atoms/P.js +20 -1
- package/dist/atoms/Placeholder.js +44 -1
- package/dist/atoms/Span.js +20 -1
- package/dist/atoms/_.js +9 -1
- package/dist/chunk-JJ3PEWPN.js +60 -0
- package/dist/fn/Button.js +316 -1
- package/dist/fn/Cropper.js +1009 -1
- package/dist/fn/Effect/Fade.js +88 -1
- package/dist/fn/Effect/Pudding.js +22 -1
- package/dist/fn/Effect/Ripple.js +117 -3
- package/dist/fn/Effect/_.js +14 -1
- package/dist/fn/Input/AutoHeightText.js +112 -1
- package/dist/fn/Input/Checker.js +36 -1
- package/dist/fn/Input/Chips/Selector.js +472 -1
- package/dist/fn/Input/Chips/_.js +349 -1
- package/dist/fn/Input/Contenteditable.js +160 -1
- package/dist/fn/Input/DigitCharacters.js +275 -1
- package/dist/fn/Input/Filer.js +619 -1
- package/dist/fn/Input/Hidden.js +48 -1
- package/dist/fn/Input/List.js +450 -1
- package/dist/fn/Input/Parts.js +121 -1
- package/dist/fn/Input/Plain.js +12 -1
- package/dist/fn/Input/RichSelect.js +279 -1
- package/dist/fn/Input/Search.js +53 -1
- package/dist/fn/Input/Segmented.js +245 -1
- package/dist/fn/Input/Select.js +278 -1
- package/dist/fn/Input/Slider.js +538 -1
- package/dist/fn/Input/Switch.js +221 -1
- package/dist/fn/Input/Text.js +626 -1
- package/dist/fn/Input/TextArea.js +151 -1
- package/dist/fn/Input/Time/Picker.js +1457 -1
- package/dist/fn/Input/Time/_.js +867 -1
- package/dist/fn/Input/_.js +48 -1
- package/dist/fn/Input/core.js +626 -1
- package/dist/fn/Layout/PageNotFound.js +90 -1
- package/dist/fn/Layout/PageRouter.js +87 -1
- package/dist/fn/Layout/PageViewController.js +29 -1
- package/dist/fn/Layout/Plate.js +37 -1
- package/dist/fn/Layout/RootViewController.js +315 -1
- package/dist/fn/Layout/SwipeView.js +348 -1
- package/dist/fn/Layout/TabBar.js +72 -1
- package/dist/fn/Layout/_.js +22 -1
- package/dist/fn/Loader/_.js +104 -1
- package/dist/fn/Loader/corner.js +85 -1
- package/dist/fn/Loader/mini.js +125 -1
- package/dist/fn/Loader/top.js +73 -1
- package/dist/fn/Sheet.js +1101 -1
- package/dist/fn/Snackbar.js +216 -1
- package/dist/fn/Table/Data.js +974 -1
- package/dist/fn/Table/Drag.js +435 -1
- package/dist/fn/Table/Normal.js +136 -1
- package/dist/fn/Table/Parts.js +41 -1
- package/dist/fn/Table/Wrapper.js +60 -1
- package/dist/fn/Table/_.js +16 -1
- package/dist/fn/Table/cellStyling.js +51 -1
- package/dist/fn/Tooltips.js +58 -1
- package/dist/fn/_.js +10 -1
- package/dist/index.js +20 -1
- package/dist/mols/Accordion.js +152 -1
- package/dist/mols/Column.js +16 -1
- package/dist/mols/LinkifyText.js +42 -1
- package/dist/mols/List.js +42 -1
- package/dist/mols/Row.js +47 -1
- package/dist/mols/Text.js +67 -1
- package/dist/mols/_.js +6 -1
- package/dist/temps/_.js +1 -1
- package/dist/temps/designBook.js +3639 -20
- package/package.json +1 -1
package/dist/temps/designBook.js
CHANGED
|
@@ -1,14 +1,455 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
__async
|
|
3
|
+
} from "../chunk-JJ3PEWPN.js";
|
|
4
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import React, { useEffect } from "react";
|
|
6
|
+
import {
|
|
7
|
+
$$,
|
|
8
|
+
Config
|
|
9
|
+
} from "../@utils/_";
|
|
10
|
+
import {
|
|
11
|
+
Box,
|
|
12
|
+
Span,
|
|
13
|
+
Grid,
|
|
14
|
+
Flex,
|
|
15
|
+
FAI,
|
|
16
|
+
Img,
|
|
17
|
+
Logo,
|
|
18
|
+
Placeholder
|
|
19
|
+
} from "../atoms/_";
|
|
20
|
+
import {
|
|
21
|
+
List,
|
|
22
|
+
LinkifyText,
|
|
23
|
+
Accordion,
|
|
24
|
+
Row,
|
|
25
|
+
Column,
|
|
26
|
+
Text
|
|
27
|
+
} from "../mols/_";
|
|
28
|
+
import {
|
|
29
|
+
Layout,
|
|
30
|
+
Table,
|
|
31
|
+
Input,
|
|
32
|
+
Button,
|
|
33
|
+
Sheet,
|
|
34
|
+
Snackbar,
|
|
35
|
+
Tooltips,
|
|
36
|
+
Loader,
|
|
37
|
+
Effect,
|
|
38
|
+
Cropper
|
|
39
|
+
} from "../fn/_";
|
|
40
|
+
const Profiles = {
|
|
41
|
+
_: () => {
|
|
42
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
43
|
+
/* @__PURE__ */ jsx(Profiles.DarkMode, {}),
|
|
44
|
+
/* @__PURE__ */ jsx(Profiles.ThemeColor, {})
|
|
45
|
+
] });
|
|
46
|
+
},
|
|
47
|
+
DarkMode: () => {
|
|
48
|
+
return /* @__PURE__ */ jsxs(Row.Separate, { children: [
|
|
49
|
+
/* @__PURE__ */ jsx(
|
|
50
|
+
Box,
|
|
51
|
+
{
|
|
52
|
+
isSemiBoldFont: true,
|
|
53
|
+
fontSize: "4.thirdTitle",
|
|
54
|
+
children: "Dark Mode"
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
/* @__PURE__ */ jsx(
|
|
58
|
+
Flex,
|
|
59
|
+
{
|
|
60
|
+
gap: 2,
|
|
61
|
+
children: /* @__PURE__ */ jsx(
|
|
62
|
+
Input.Segmented.Border,
|
|
63
|
+
{
|
|
64
|
+
value: Config.get().darkMode,
|
|
65
|
+
textAlign: "left",
|
|
66
|
+
options: [
|
|
67
|
+
{ value: "light", label: "Light" },
|
|
68
|
+
{ value: "dark", label: "Dark" },
|
|
69
|
+
{ value: "dim", label: "Dim" },
|
|
70
|
+
{ value: "auto", label: "Auto" }
|
|
71
|
+
],
|
|
72
|
+
flexCenter: true,
|
|
73
|
+
onUpdateValidValue: ({ value }) => {
|
|
74
|
+
let Value = value[0];
|
|
75
|
+
Config.update.darkMode(Value);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
] });
|
|
82
|
+
},
|
|
83
|
+
ThemeColor: () => {
|
|
84
|
+
const ChangeColor = (value) => {
|
|
85
|
+
Config.update.themeColor(value);
|
|
86
|
+
};
|
|
87
|
+
let Colors = [];
|
|
88
|
+
const ColorList = [
|
|
89
|
+
"comun",
|
|
90
|
+
"leaf",
|
|
91
|
+
"heart",
|
|
92
|
+
"droplet",
|
|
93
|
+
"brick",
|
|
94
|
+
"flower",
|
|
95
|
+
"lip",
|
|
96
|
+
"wine",
|
|
97
|
+
"theater",
|
|
98
|
+
"bat",
|
|
99
|
+
"poizon",
|
|
100
|
+
"eggplant",
|
|
101
|
+
"ufo",
|
|
102
|
+
"alien",
|
|
103
|
+
"tombstone",
|
|
104
|
+
"ninja",
|
|
105
|
+
"moon",
|
|
106
|
+
"rain",
|
|
107
|
+
"unicorn",
|
|
108
|
+
"axe",
|
|
109
|
+
"gem",
|
|
110
|
+
"soap",
|
|
111
|
+
"drizzle",
|
|
112
|
+
"building",
|
|
113
|
+
"fish",
|
|
114
|
+
"icicles",
|
|
115
|
+
"water",
|
|
116
|
+
"tree1",
|
|
117
|
+
"tree2",
|
|
118
|
+
"tree3",
|
|
119
|
+
"battery",
|
|
120
|
+
"seedle",
|
|
121
|
+
"greenTea",
|
|
122
|
+
"oak",
|
|
123
|
+
"salad",
|
|
124
|
+
"cloudy",
|
|
125
|
+
"lemon",
|
|
126
|
+
"angel",
|
|
127
|
+
"parasol",
|
|
128
|
+
"pizza",
|
|
129
|
+
"thunder",
|
|
130
|
+
"latte",
|
|
131
|
+
"island",
|
|
132
|
+
"shovel",
|
|
133
|
+
"coffee",
|
|
134
|
+
"carrot",
|
|
135
|
+
"cactus",
|
|
136
|
+
"volcano",
|
|
137
|
+
"choco",
|
|
138
|
+
"industry",
|
|
139
|
+
"gun",
|
|
140
|
+
"galaxy",
|
|
141
|
+
"line",
|
|
142
|
+
"twitter",
|
|
143
|
+
"amazon",
|
|
144
|
+
"facebook",
|
|
145
|
+
"android",
|
|
146
|
+
"slackBlue",
|
|
147
|
+
"slackGreen",
|
|
148
|
+
"slackRed",
|
|
149
|
+
"slackYellow",
|
|
150
|
+
"slackBase",
|
|
151
|
+
"googleBlue",
|
|
152
|
+
"googleGreen",
|
|
153
|
+
"googleYellow",
|
|
154
|
+
"googleRed"
|
|
155
|
+
];
|
|
156
|
+
for (let colorKey of ColorList) {
|
|
157
|
+
Colors.push(/* @__PURE__ */ jsx(
|
|
158
|
+
Button.Button.Prime.R,
|
|
159
|
+
{
|
|
160
|
+
padding: [1, 1.5],
|
|
161
|
+
fontColor: "white",
|
|
162
|
+
borderRadius: "1.tone.primary",
|
|
163
|
+
textAlign: "left",
|
|
164
|
+
backgroundColor: colorKey,
|
|
165
|
+
onClick: () => {
|
|
166
|
+
ChangeColor(colorKey);
|
|
167
|
+
},
|
|
168
|
+
children: /* @__PURE__ */ jsx(Text.Supplement, { children: colorKey.toCapital() })
|
|
169
|
+
}
|
|
170
|
+
));
|
|
171
|
+
}
|
|
172
|
+
return /* @__PURE__ */ jsxs(Row.Separate, { children: [
|
|
173
|
+
/* @__PURE__ */ jsx(Text.SubTitle, { children: "ThemeColor" }),
|
|
174
|
+
/* @__PURE__ */ jsx(
|
|
175
|
+
Grid,
|
|
176
|
+
{
|
|
177
|
+
gridCols: 5,
|
|
178
|
+
gap: "1/3",
|
|
179
|
+
children: Colors
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
] });
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
const Basic = {
|
|
186
|
+
_: () => {
|
|
187
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
188
|
+
/* @__PURE__ */ jsxs(
|
|
189
|
+
Flex,
|
|
190
|
+
{
|
|
191
|
+
gap: 1,
|
|
192
|
+
flexChilds: "even",
|
|
193
|
+
flexNewLine: true,
|
|
194
|
+
children: [
|
|
195
|
+
/* @__PURE__ */ jsx(
|
|
196
|
+
Box,
|
|
197
|
+
{
|
|
198
|
+
padding: 2,
|
|
199
|
+
ssCardBox: true,
|
|
200
|
+
flexCenter: true,
|
|
201
|
+
children: "Hello"
|
|
202
|
+
}
|
|
203
|
+
),
|
|
204
|
+
/* @__PURE__ */ jsx(
|
|
205
|
+
Box,
|
|
206
|
+
{
|
|
207
|
+
padding: 2,
|
|
208
|
+
ssCardBox: "border",
|
|
209
|
+
flexCenter: true,
|
|
210
|
+
children: "Hello"
|
|
211
|
+
}
|
|
212
|
+
),
|
|
213
|
+
/* @__PURE__ */ jsx(
|
|
214
|
+
Box,
|
|
215
|
+
{
|
|
216
|
+
padding: 2,
|
|
217
|
+
ssCardBox: "cloud",
|
|
218
|
+
flexCenter: true,
|
|
219
|
+
children: "Hello"
|
|
220
|
+
}
|
|
221
|
+
)
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
),
|
|
225
|
+
/* @__PURE__ */ jsxs(
|
|
226
|
+
Flex,
|
|
227
|
+
{
|
|
228
|
+
gap: 1,
|
|
229
|
+
children: [
|
|
230
|
+
/* @__PURE__ */ jsx(
|
|
231
|
+
Box,
|
|
232
|
+
{
|
|
233
|
+
flexCenter: true,
|
|
234
|
+
children: /* @__PURE__ */ jsx(
|
|
235
|
+
Placeholder,
|
|
236
|
+
{
|
|
237
|
+
unitWidth: 6,
|
|
238
|
+
unitHeight: 6,
|
|
239
|
+
children: "Placeholder",
|
|
240
|
+
isRounded: true
|
|
241
|
+
}
|
|
242
|
+
)
|
|
243
|
+
}
|
|
244
|
+
),
|
|
245
|
+
/* @__PURE__ */ jsxs(
|
|
246
|
+
Grid,
|
|
247
|
+
{
|
|
248
|
+
gridCols: 3,
|
|
249
|
+
gap: 1,
|
|
250
|
+
flexSizing: "auto",
|
|
251
|
+
children: [
|
|
252
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "1.layer.base", padding: 2 }),
|
|
253
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "2.layer.cloud", padding: 2 }),
|
|
254
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "3.layer.canvas", padding: 2 }),
|
|
255
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "4.layer.darken", padding: 2 }),
|
|
256
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "5.layer.darker", padding: 2 }),
|
|
257
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "6.layer.darkest", padding: 2 })
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
),
|
|
261
|
+
/* @__PURE__ */ jsxs(
|
|
262
|
+
Grid,
|
|
263
|
+
{
|
|
264
|
+
gridCols: 3,
|
|
265
|
+
gap: "1/2",
|
|
266
|
+
flexSizing: "auto",
|
|
267
|
+
ssCardBox: true,
|
|
268
|
+
children: [
|
|
269
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "1.clear", children: "FontColor1" }),
|
|
270
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "2.normal", children: "FontColor2" }),
|
|
271
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "3.blur", children: "FontColor3" }),
|
|
272
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "4.thin", children: "FontColor4" }),
|
|
273
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "5.translucent", children: "FontColor5" })
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
)
|
|
277
|
+
]
|
|
278
|
+
}
|
|
279
|
+
),
|
|
280
|
+
/* @__PURE__ */ jsx(Basic.Fonts, {}),
|
|
281
|
+
/* @__PURE__ */ jsx(Basic.Box, {}),
|
|
282
|
+
/* @__PURE__ */ jsx(Basic.Flex, {}),
|
|
283
|
+
/* @__PURE__ */ jsx(Basic.Grid, {}),
|
|
284
|
+
/* @__PURE__ */ jsx(Basic.Others, {})
|
|
285
|
+
] });
|
|
286
|
+
},
|
|
287
|
+
Fonts: () => {
|
|
288
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
289
|
+
/* @__PURE__ */ jsx(
|
|
290
|
+
Text.SubTitle,
|
|
291
|
+
{
|
|
292
|
+
padding: 1,
|
|
293
|
+
borderBottom: true,
|
|
294
|
+
children: "Font"
|
|
295
|
+
}
|
|
296
|
+
),
|
|
297
|
+
/* @__PURE__ */ jsxs(
|
|
298
|
+
Box,
|
|
299
|
+
{
|
|
300
|
+
overflow: "auto",
|
|
301
|
+
padding: 1,
|
|
302
|
+
children: [
|
|
303
|
+
/* @__PURE__ */ jsx(
|
|
304
|
+
Text.Description,
|
|
305
|
+
{
|
|
306
|
+
padding: 1,
|
|
307
|
+
children: `<Box
|
|
2
308
|
fontSize={ 0 ~ 8 }
|
|
3
309
|
>
|
|
4
310
|
some text
|
|
5
|
-
</Box>`
|
|
311
|
+
</Box>`
|
|
312
|
+
}
|
|
313
|
+
),
|
|
314
|
+
/* @__PURE__ */ jsx(
|
|
315
|
+
List,
|
|
316
|
+
{
|
|
317
|
+
rowStyles: {
|
|
318
|
+
flexType: "col",
|
|
319
|
+
borderBottom: true,
|
|
320
|
+
padding: 1,
|
|
321
|
+
flexWrap: false,
|
|
322
|
+
gap: "1/2"
|
|
323
|
+
},
|
|
324
|
+
rows: [
|
|
325
|
+
{
|
|
326
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
327
|
+
"\u30FB Landing",
|
|
328
|
+
/* @__PURE__ */ jsxs(
|
|
329
|
+
Box,
|
|
330
|
+
{
|
|
331
|
+
fontSize: "7.landing",
|
|
332
|
+
isSemiBoldFont: true,
|
|
333
|
+
children: [
|
|
334
|
+
"Visualize Your ",
|
|
335
|
+
/* @__PURE__ */ jsx(
|
|
336
|
+
Span,
|
|
337
|
+
{
|
|
338
|
+
fontColor: "theme",
|
|
339
|
+
children: "Colors"
|
|
340
|
+
}
|
|
341
|
+
),
|
|
342
|
+
" On a Real Website"
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
)
|
|
346
|
+
] })
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
350
|
+
"\u30FB Title",
|
|
351
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "6.title", children: "\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u56FD\u6C11\u8CA0\u62C5\u7387\u3092\u516C\u8868\u3057\u307E\u3059" })
|
|
352
|
+
] })
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
356
|
+
"\u30FB SubTitle",
|
|
357
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "\u652F\u6255\u3044\u3092\u53D7\u3051\u4ED8\u3051\u308B" })
|
|
358
|
+
] })
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
362
|
+
"\u30FB ThirdTitle",
|
|
363
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "4.thirdTitle", children: "\u79DF\u7A0E\u8CA0\u62C5\u7387\u3068\u793E\u4F1A\u4FDD\u969C\u8CA0\u62C5\u7387\u3092\u5408\u8A08\u3057\u305F\u56FD\u6C11\u8CA0\u62C5\u7387\u306B\u3064\u3044\u3066\u3001\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u898B\u901A\u3057\u3092\u63A8\u8A08\u3057\u307E\u3057\u305F\u306E\u3067\u3001\u516C\u8868\u3057\u307E\u3059\u3002" })
|
|
364
|
+
] })
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
368
|
+
"\u30FB Paragraph",
|
|
369
|
+
/* @__PURE__ */ jsx(
|
|
370
|
+
Text.Description,
|
|
371
|
+
{
|
|
372
|
+
fontSize: "3.paragraph",
|
|
373
|
+
children: /* @__PURE__ */ jsx(
|
|
374
|
+
LinkifyText,
|
|
375
|
+
{
|
|
376
|
+
text: `
|
|
6
377
|
This article discusses performance best practices for fonts.
|
|
7
|
-
There are a variety of ways in which web fonts impact performance:https://google.com`
|
|
378
|
+
There are a variety of ways in which web fonts impact performance:https://google.com`
|
|
379
|
+
}
|
|
380
|
+
)
|
|
381
|
+
}
|
|
382
|
+
)
|
|
383
|
+
] })
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
387
|
+
"\u30FB Normal",
|
|
388
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "2.normal", children: "\u52B9\u7387\u7684\u3067\u6301\u7D9A\u53EF\u80FD\u306A\u8CA1\u653F\u3078\u306E\u8EE2\u63DB\u3092\u56F3\u308A\u3001\u3053\u306E\u8CA1\u653F\u69CB\u9020\u3092\u5404\u822C\u306E\u69CB\u9020\u6539\u9769\u3068\u3068\u3082\u306B\u63A8\u9032\u3059\u308B\u3053\u3068\u3067\u3001\u6C11\u9593\u9700\u8981\u4E3B\u5C0E\u306E\u6301\u7D9A\u7684\u7D4C\u6E08\u6210\u9577\u306E\u5B9F\u73FE\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u5C11\u5B50\u30FB\u9AD8\u9F62\u5316\u3001\u56FD\u969B\u5316\u306A\u3069\u7D4C\u6E08\u793E\u4F1A\u306E\u69CB\u9020\u5909\u5316\u306B\u5BFE\u5FDC\u3067\u304D\u308B21\u4E16\u7D00\u306E\u3042\u308B\u3079\u304D\u7A0E\u5236\u3092\u304D\u305A\u304D\u307E\u3059\u3002 \u8CA1\u653F\u6295\u878D\u8CC7\u306F\u3001\u884C\u8CA1\u653F\u6539\u9769\u306E\u8DA3\u65E8\u3092\u8E0F\u307E\u3048\u3001\u6C11\u9593\u3067\u306F\u3067\u304D\u306A\u3044\u5206\u91CE\u30FB\u4E8B\u696D\u306A\u3069\u306B\u91CD\u70B9\u5316\u3092\u884C\u3044\u3001\u771F\u306B\u653F\u7B56\u7684\u306B\u5FC5\u8981\u306A\u8CC7\u91D1\u9700\u8981\u306B\u306F\u7684\u78BA\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002 \u91D1\u878D\u5E81\u3068\u5354\u529B\u3057\u3001\u91D1\u878D\u306E\u30BB\u30FC\u30D5\u30C6\u30A3\u30CD\u30C3\u30C8\u3092\u6574\u5099\u3057\u3001\u91D1\u878D\u5371\u6A5F\u306B\u7D20\u65E9\u304F\u5BFE\u5FDC\u3059\u308B\u306A\u3069\u3001\u91D1\u878D\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u306E\u78BA\u4FDD\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u56FD\u969B\u7684\u306A\u5354\u529B\u7B49\u306B\u7A4D\u6975\u7684\u306B\u53D6\u308A\u7D44\u3080\u3053\u3068\u306B\u3088\u308A\u3001\u56FD\u969B\u901A\u8CA8\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u30FB\u56FD\u969B\u8CBF\u6613\u306E\u79E9\u5E8F\u3042\u308B\u767A\u5C55\u3092\u76EE\u6307\u3057\u307E\u3059\u3002" })
|
|
389
|
+
] })
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
393
|
+
"\u30FB Mini",
|
|
394
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "1.mini", children: "Copyright \xA9 Ministry of Finance Japan. All Rights Reserved." })
|
|
395
|
+
] })
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
)
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
)
|
|
403
|
+
] });
|
|
404
|
+
},
|
|
405
|
+
Box: () => {
|
|
406
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
407
|
+
/* @__PURE__ */ jsx(
|
|
408
|
+
Text.SubTitle,
|
|
409
|
+
{
|
|
410
|
+
padding: 1,
|
|
411
|
+
borderBottom: true,
|
|
412
|
+
children: "Box"
|
|
413
|
+
}
|
|
414
|
+
),
|
|
415
|
+
/* @__PURE__ */ jsx(
|
|
416
|
+
Box,
|
|
417
|
+
{
|
|
418
|
+
padding: 1,
|
|
419
|
+
overflow: "auto",
|
|
420
|
+
children: /* @__PURE__ */ jsx(
|
|
421
|
+
Table.Normal,
|
|
422
|
+
{
|
|
423
|
+
ssCardBox: false,
|
|
424
|
+
tone: "cellBorder",
|
|
425
|
+
borderRadius: 0,
|
|
426
|
+
height: 1,
|
|
427
|
+
colLength: 2,
|
|
428
|
+
head: false,
|
|
429
|
+
rows: [
|
|
430
|
+
[
|
|
431
|
+
{
|
|
432
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box>
|
|
8
433
|
helloWorld!!
|
|
9
|
-
</Box>`
|
|
434
|
+
</Box>` })
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
children: /* @__PURE__ */ jsx(Box, { children: " helloWorld!! " })
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
[
|
|
441
|
+
{
|
|
442
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box
|
|
10
443
|
children={ 'helloWorld!!' }
|
|
11
|
-
/>`})
|
|
444
|
+
/>` })
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
children: /* @__PURE__ */ jsx(Box, { children: "helloWorld!!" })
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
[
|
|
451
|
+
{
|
|
452
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box
|
|
12
453
|
fontColor={ '4.thin' }
|
|
13
454
|
padding={ 1 }
|
|
14
455
|
margin={ 1 }
|
|
@@ -17,29 +458,426 @@ borderRadius={ 2 }
|
|
|
17
458
|
border={ 'normal' }
|
|
18
459
|
children={ 'styleBox' }
|
|
19
460
|
/>
|
|
20
|
-
`})
|
|
461
|
+
` })
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
children: /* @__PURE__ */ jsx(
|
|
465
|
+
Box,
|
|
466
|
+
{
|
|
467
|
+
fontColor: "4.thin",
|
|
468
|
+
padding: 1,
|
|
469
|
+
margin: 1,
|
|
470
|
+
textAlign: "center",
|
|
471
|
+
borderRadius: 2,
|
|
472
|
+
border: true,
|
|
473
|
+
children: "styleBox"
|
|
474
|
+
}
|
|
475
|
+
)
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
]
|
|
479
|
+
}
|
|
480
|
+
)
|
|
481
|
+
}
|
|
482
|
+
)
|
|
483
|
+
] });
|
|
484
|
+
},
|
|
485
|
+
Flex: () => {
|
|
486
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
487
|
+
/* @__PURE__ */ jsx(
|
|
488
|
+
Text.SubTitle,
|
|
489
|
+
{
|
|
490
|
+
padding: 1,
|
|
491
|
+
borderBottom: true,
|
|
492
|
+
children: "Flex"
|
|
493
|
+
}
|
|
494
|
+
),
|
|
495
|
+
/* @__PURE__ */ jsx(
|
|
496
|
+
Box,
|
|
497
|
+
{
|
|
498
|
+
padding: 1,
|
|
499
|
+
overflow: "auto",
|
|
500
|
+
children: /* @__PURE__ */ jsx(
|
|
501
|
+
Table.Normal,
|
|
502
|
+
{
|
|
503
|
+
ssCardBox: false,
|
|
504
|
+
colLength: 2,
|
|
505
|
+
tone: "cellBorder",
|
|
506
|
+
borderRadius: 0,
|
|
507
|
+
height: 1,
|
|
508
|
+
head: false,
|
|
509
|
+
rows: [
|
|
510
|
+
[
|
|
511
|
+
{
|
|
512
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Flex flexType='row' gap={ 1 }>
|
|
21
513
|
<Box children={ 'FlexBox1' } />
|
|
22
514
|
<Box children={ 'FlexBox2' } />
|
|
23
515
|
<Box children={ 'FlexBox3' } />
|
|
24
|
-
</Flex>`})
|
|
516
|
+
</Flex>` })
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
children: /* @__PURE__ */ jsxs(
|
|
520
|
+
Flex,
|
|
521
|
+
{
|
|
522
|
+
flexType: "row",
|
|
523
|
+
gap: 1,
|
|
524
|
+
fontColor: "theme",
|
|
525
|
+
children: [
|
|
526
|
+
/* @__PURE__ */ jsx(
|
|
527
|
+
Box,
|
|
528
|
+
{
|
|
529
|
+
padding: 1,
|
|
530
|
+
borderRadius: 1,
|
|
531
|
+
flexCenter: true,
|
|
532
|
+
children: "FlexBox1",
|
|
533
|
+
backgroundColor: "tcOpLow"
|
|
534
|
+
}
|
|
535
|
+
),
|
|
536
|
+
/* @__PURE__ */ jsx(
|
|
537
|
+
Box,
|
|
538
|
+
{
|
|
539
|
+
padding: 1,
|
|
540
|
+
borderRadius: 1,
|
|
541
|
+
flexCenter: true,
|
|
542
|
+
children: "FlexBox2",
|
|
543
|
+
backgroundColor: "tcOpMiddle"
|
|
544
|
+
}
|
|
545
|
+
),
|
|
546
|
+
/* @__PURE__ */ jsx(
|
|
547
|
+
Box,
|
|
548
|
+
{
|
|
549
|
+
padding: 1,
|
|
550
|
+
borderRadius: 1,
|
|
551
|
+
flexCenter: true,
|
|
552
|
+
children: "FlexBox3",
|
|
553
|
+
backgroundColor: "tcOpHigh"
|
|
554
|
+
}
|
|
555
|
+
)
|
|
556
|
+
]
|
|
557
|
+
}
|
|
558
|
+
)
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
[
|
|
562
|
+
{
|
|
563
|
+
children: /* @__PURE__ */ jsx(Text.Description, { textAlign: "left", children: `<Flex
|
|
25
564
|
flexType='col'
|
|
26
565
|
flexChilds={ 'auto' }
|
|
27
566
|
>
|
|
28
567
|
<Box />
|
|
29
568
|
<Box />
|
|
30
569
|
...
|
|
31
|
-
</Flex>`})
|
|
570
|
+
</Flex>` })
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
574
|
+
/* @__PURE__ */ jsxs(
|
|
575
|
+
Flex,
|
|
576
|
+
{
|
|
577
|
+
gap: 1,
|
|
578
|
+
flexCenter: true,
|
|
579
|
+
children: [
|
|
580
|
+
/* @__PURE__ */ jsx(
|
|
581
|
+
Box,
|
|
582
|
+
{
|
|
583
|
+
flexCenter: true,
|
|
584
|
+
unitWidth: 3,
|
|
585
|
+
unitHeight: 3,
|
|
586
|
+
isRounded: true,
|
|
587
|
+
boxShadow: "0.normal",
|
|
588
|
+
backgroundColor: "tcLightest"
|
|
589
|
+
}
|
|
590
|
+
),
|
|
591
|
+
/* @__PURE__ */ jsx(
|
|
592
|
+
Box,
|
|
593
|
+
{
|
|
594
|
+
flexCenter: true,
|
|
595
|
+
unitWidth: 3,
|
|
596
|
+
unitHeight: 3,
|
|
597
|
+
isRounded: true,
|
|
598
|
+
boxShadow: "0.normal",
|
|
599
|
+
backgroundColor: "tcLighter"
|
|
600
|
+
}
|
|
601
|
+
),
|
|
602
|
+
/* @__PURE__ */ jsx(
|
|
603
|
+
Box,
|
|
604
|
+
{
|
|
605
|
+
flexCenter: true,
|
|
606
|
+
unitWidth: 3,
|
|
607
|
+
unitHeight: 3,
|
|
608
|
+
isRounded: true,
|
|
609
|
+
boxShadow: "0.normal",
|
|
610
|
+
backgroundColor: "tcLighten"
|
|
611
|
+
}
|
|
612
|
+
),
|
|
613
|
+
/* @__PURE__ */ jsx(
|
|
614
|
+
Box,
|
|
615
|
+
{
|
|
616
|
+
flexCenter: true,
|
|
617
|
+
unitWidth: 3,
|
|
618
|
+
unitHeight: 3,
|
|
619
|
+
isRounded: true,
|
|
620
|
+
boxShadow: "0.normal",
|
|
621
|
+
backgroundColor: "theme"
|
|
622
|
+
}
|
|
623
|
+
),
|
|
624
|
+
/* @__PURE__ */ jsx(
|
|
625
|
+
Box,
|
|
626
|
+
{
|
|
627
|
+
flexCenter: true,
|
|
628
|
+
unitWidth: 3,
|
|
629
|
+
unitHeight: 3,
|
|
630
|
+
isRounded: true,
|
|
631
|
+
boxShadow: "0.normal",
|
|
632
|
+
backgroundColor: "tcDarken"
|
|
633
|
+
}
|
|
634
|
+
),
|
|
635
|
+
/* @__PURE__ */ jsx(
|
|
636
|
+
Box,
|
|
637
|
+
{
|
|
638
|
+
flexCenter: true,
|
|
639
|
+
unitWidth: 3,
|
|
640
|
+
unitHeight: 3,
|
|
641
|
+
isRounded: true,
|
|
642
|
+
boxShadow: "0.normal",
|
|
643
|
+
backgroundColor: "tcDarker"
|
|
644
|
+
}
|
|
645
|
+
),
|
|
646
|
+
/* @__PURE__ */ jsx(
|
|
647
|
+
Box,
|
|
648
|
+
{
|
|
649
|
+
flexCenter: true,
|
|
650
|
+
unitWidth: 3,
|
|
651
|
+
unitHeight: 3,
|
|
652
|
+
isRounded: true,
|
|
653
|
+
boxShadow: "0.normal",
|
|
654
|
+
backgroundColor: "tcDarkest"
|
|
655
|
+
}
|
|
656
|
+
)
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
),
|
|
660
|
+
/* @__PURE__ */ jsxs(
|
|
661
|
+
Flex,
|
|
662
|
+
{
|
|
663
|
+
gap: 1,
|
|
664
|
+
flexCenter: true,
|
|
665
|
+
children: [
|
|
666
|
+
/* @__PURE__ */ jsx(
|
|
667
|
+
Box,
|
|
668
|
+
{
|
|
669
|
+
flexCenter: true,
|
|
670
|
+
unitWidth: 3,
|
|
671
|
+
unitHeight: 3,
|
|
672
|
+
isRounded: true,
|
|
673
|
+
boxShadow: "0.normal",
|
|
674
|
+
backgroundColor: "1.layer.base"
|
|
675
|
+
}
|
|
676
|
+
),
|
|
677
|
+
/* @__PURE__ */ jsx(
|
|
678
|
+
Box,
|
|
679
|
+
{
|
|
680
|
+
flexCenter: true,
|
|
681
|
+
unitWidth: 3,
|
|
682
|
+
unitHeight: 3,
|
|
683
|
+
isRounded: true,
|
|
684
|
+
boxShadow: "0.normal",
|
|
685
|
+
backgroundColor: "2.layer.cloud"
|
|
686
|
+
}
|
|
687
|
+
),
|
|
688
|
+
/* @__PURE__ */ jsx(
|
|
689
|
+
Box,
|
|
690
|
+
{
|
|
691
|
+
flexCenter: true,
|
|
692
|
+
unitWidth: 3,
|
|
693
|
+
unitHeight: 3,
|
|
694
|
+
isRounded: true,
|
|
695
|
+
boxShadow: "0.normal",
|
|
696
|
+
backgroundColor: "3.layer.canvas"
|
|
697
|
+
}
|
|
698
|
+
),
|
|
699
|
+
/* @__PURE__ */ jsx(
|
|
700
|
+
Box,
|
|
701
|
+
{
|
|
702
|
+
flexCenter: true,
|
|
703
|
+
unitWidth: 3,
|
|
704
|
+
unitHeight: 3,
|
|
705
|
+
isRounded: true,
|
|
706
|
+
boxShadow: "0.normal",
|
|
707
|
+
backgroundColor: "4.layer.darken"
|
|
708
|
+
}
|
|
709
|
+
),
|
|
710
|
+
/* @__PURE__ */ jsx(
|
|
711
|
+
Box,
|
|
712
|
+
{
|
|
713
|
+
flexCenter: true,
|
|
714
|
+
unitWidth: 3,
|
|
715
|
+
unitHeight: 3,
|
|
716
|
+
isRounded: true,
|
|
717
|
+
boxShadow: "0.normal",
|
|
718
|
+
backgroundColor: "5.layer.darker"
|
|
719
|
+
}
|
|
720
|
+
),
|
|
721
|
+
/* @__PURE__ */ jsx(
|
|
722
|
+
Box,
|
|
723
|
+
{
|
|
724
|
+
flexCenter: true,
|
|
725
|
+
unitWidth: 3,
|
|
726
|
+
unitHeight: 3,
|
|
727
|
+
isRounded: true,
|
|
728
|
+
boxShadow: "0.normal",
|
|
729
|
+
backgroundColor: "6.layer.darkest"
|
|
730
|
+
}
|
|
731
|
+
)
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
)
|
|
735
|
+
] })
|
|
736
|
+
}
|
|
737
|
+
],
|
|
738
|
+
[
|
|
739
|
+
{
|
|
740
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Flex gap={ 1 }>
|
|
32
741
|
<Box flexGrid={ 2 } ... />
|
|
33
742
|
<Box flexGrid={ 3 } ... />
|
|
34
743
|
<Box flexGrid={ 4 } ... />
|
|
35
|
-
</Flex>`})
|
|
744
|
+
</Flex>` })
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
children: /* @__PURE__ */ jsxs(
|
|
748
|
+
Flex,
|
|
749
|
+
{
|
|
750
|
+
gap: 1,
|
|
751
|
+
fontColor: "white",
|
|
752
|
+
children: [
|
|
753
|
+
/* @__PURE__ */ jsx(
|
|
754
|
+
Box,
|
|
755
|
+
{
|
|
756
|
+
padding: 1,
|
|
757
|
+
flexCenter: true,
|
|
758
|
+
borderRadius: 1,
|
|
759
|
+
backgroundColor: "posi",
|
|
760
|
+
flexGrid: 2,
|
|
761
|
+
children: "Box1"
|
|
762
|
+
}
|
|
763
|
+
),
|
|
764
|
+
/* @__PURE__ */ jsx(
|
|
765
|
+
Box,
|
|
766
|
+
{
|
|
767
|
+
padding: 1,
|
|
768
|
+
flexCenter: true,
|
|
769
|
+
borderRadius: 1,
|
|
770
|
+
backgroundColor: "nega",
|
|
771
|
+
flexGrid: 3,
|
|
772
|
+
children: "Box2"
|
|
773
|
+
}
|
|
774
|
+
),
|
|
775
|
+
/* @__PURE__ */ jsx(
|
|
776
|
+
Box,
|
|
777
|
+
{
|
|
778
|
+
padding: 1,
|
|
779
|
+
flexCenter: true,
|
|
780
|
+
borderRadius: 1,
|
|
781
|
+
backgroundColor: "warn",
|
|
782
|
+
flexGrid: 4,
|
|
783
|
+
children: "Box3"
|
|
784
|
+
}
|
|
785
|
+
)
|
|
786
|
+
]
|
|
787
|
+
}
|
|
788
|
+
)
|
|
789
|
+
}
|
|
790
|
+
]
|
|
791
|
+
]
|
|
792
|
+
}
|
|
793
|
+
)
|
|
794
|
+
}
|
|
795
|
+
)
|
|
796
|
+
] });
|
|
797
|
+
},
|
|
798
|
+
Grid: () => {
|
|
799
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
800
|
+
/* @__PURE__ */ jsx(
|
|
801
|
+
Text.SubTitle,
|
|
802
|
+
{
|
|
803
|
+
padding: 1,
|
|
804
|
+
borderBottom: true,
|
|
805
|
+
children: "Grid"
|
|
806
|
+
}
|
|
807
|
+
),
|
|
808
|
+
/* @__PURE__ */ jsx(
|
|
809
|
+
Box,
|
|
810
|
+
{
|
|
811
|
+
padding: 1,
|
|
812
|
+
overflow: "auto",
|
|
813
|
+
children: /* @__PURE__ */ jsx(
|
|
814
|
+
Table.Normal,
|
|
815
|
+
{
|
|
816
|
+
ssCardBox: false,
|
|
817
|
+
colLength: 2,
|
|
818
|
+
tone: "cellBorder",
|
|
819
|
+
height: 1,
|
|
820
|
+
backgroundColor: "nega",
|
|
821
|
+
borderRadius: 0,
|
|
822
|
+
head: false,
|
|
823
|
+
rows: [
|
|
824
|
+
[
|
|
825
|
+
{
|
|
826
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Grid gridCols={ 3 } gap={ 1 }>
|
|
36
827
|
<Box children={ 'GridBox1' } />
|
|
37
828
|
<Box children={ 'GridBox2' } />
|
|
38
829
|
<Box children={ 'GridBox3' } />
|
|
39
830
|
<Box children={ 'GridBox4' } />
|
|
40
831
|
<Box children={ 'GridBox5' } />
|
|
41
832
|
<Box children={ 'GridBox6' } />
|
|
42
|
-
</Grid>`})
|
|
833
|
+
</Grid>` })
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
children: /* @__PURE__ */ jsxs(Grid, { gridCols: 3, gap: 1, children: [
|
|
837
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "1.layer.base", children: "GridBox1" }),
|
|
838
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "2.layer.cloud", children: "GridBox2" }),
|
|
839
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "3.layer.canvas", children: "GridBox3" }),
|
|
840
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "4.layer.darken", children: "GridBox4" }),
|
|
841
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "5.layer.darker", children: "GridBox5" }),
|
|
842
|
+
/* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "6.layer.darkest", children: "GridBox6" })
|
|
843
|
+
] })
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
|
+
]
|
|
847
|
+
}
|
|
848
|
+
)
|
|
849
|
+
}
|
|
850
|
+
)
|
|
851
|
+
] });
|
|
852
|
+
},
|
|
853
|
+
Others: () => {
|
|
854
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
855
|
+
/* @__PURE__ */ jsx(
|
|
856
|
+
Text.SubTitle,
|
|
857
|
+
{
|
|
858
|
+
padding: 1,
|
|
859
|
+
borderBottom: true,
|
|
860
|
+
children: "Others"
|
|
861
|
+
}
|
|
862
|
+
),
|
|
863
|
+
/* @__PURE__ */ jsx(
|
|
864
|
+
Box,
|
|
865
|
+
{
|
|
866
|
+
padding: 1,
|
|
867
|
+
overflow: "auto",
|
|
868
|
+
children: /* @__PURE__ */ jsx(
|
|
869
|
+
Table.Normal,
|
|
870
|
+
{
|
|
871
|
+
ssCardBox: false,
|
|
872
|
+
colLength: 2,
|
|
873
|
+
tone: "cellBorder",
|
|
874
|
+
height: 1,
|
|
875
|
+
borderRadius: 0,
|
|
876
|
+
head: false,
|
|
877
|
+
rows: [
|
|
878
|
+
[
|
|
879
|
+
{
|
|
880
|
+
children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Text.Description, { children: `
|
|
43
881
|
<Button.Label
|
|
44
882
|
htmlFor='testAccordion'
|
|
45
883
|
type='sub'
|
|
@@ -53,27 +891,2068 @@ children={
|
|
|
53
891
|
in Accordion Element
|
|
54
892
|
</>
|
|
55
893
|
}
|
|
56
|
-
/>`})
|
|
894
|
+
/>` }) })
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
898
|
+
/* @__PURE__ */ jsx(
|
|
899
|
+
Button.Label.Sub.R,
|
|
900
|
+
{
|
|
901
|
+
children: "ToggleButton",
|
|
902
|
+
onClick: () => {
|
|
903
|
+
Accordion.fn.toggle("testAccordion");
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
),
|
|
907
|
+
/* @__PURE__ */ jsx(
|
|
908
|
+
Accordion,
|
|
909
|
+
{
|
|
910
|
+
accordionID: "testAccordion",
|
|
911
|
+
defaultOpen: true,
|
|
912
|
+
children: "in Accordion Element"
|
|
913
|
+
}
|
|
914
|
+
)
|
|
915
|
+
] })
|
|
916
|
+
}
|
|
917
|
+
],
|
|
918
|
+
[
|
|
919
|
+
{
|
|
920
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `
|
|
57
921
|
<Img
|
|
58
922
|
maxheight={ 8 }
|
|
59
923
|
maxWidth={ 8 }
|
|
60
924
|
src='...'
|
|
61
925
|
alt='noImage'
|
|
62
926
|
/>
|
|
63
|
-
`})
|
|
927
|
+
` })
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
children: /* @__PURE__ */ jsx(
|
|
931
|
+
Img,
|
|
932
|
+
{
|
|
933
|
+
src: Logo.Images.defaultIcon("user"),
|
|
934
|
+
alt: "noImage",
|
|
935
|
+
freeCSS: {
|
|
936
|
+
maxHeight: 12 * 8,
|
|
937
|
+
maxWidth: 12 * 8
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
)
|
|
941
|
+
}
|
|
942
|
+
]
|
|
943
|
+
]
|
|
944
|
+
}
|
|
945
|
+
)
|
|
946
|
+
}
|
|
947
|
+
)
|
|
948
|
+
] });
|
|
949
|
+
}
|
|
950
|
+
};
|
|
951
|
+
const Logos = {
|
|
952
|
+
_: () => {
|
|
953
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
954
|
+
/* @__PURE__ */ jsx(Logos.Comun, {}),
|
|
955
|
+
/* @__PURE__ */ jsx(Logos.Mingoo, {}),
|
|
956
|
+
/* @__PURE__ */ jsx(Logos.Google, {}),
|
|
957
|
+
/* @__PURE__ */ jsx(Logos.Facebook, {}),
|
|
958
|
+
/* @__PURE__ */ jsx(Logos.Line, {}),
|
|
959
|
+
/* @__PURE__ */ jsx(Logos.Twitter, {})
|
|
960
|
+
] });
|
|
961
|
+
},
|
|
962
|
+
Comun: () => {
|
|
963
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
964
|
+
/* @__PURE__ */ jsx(
|
|
965
|
+
Text.SubTitle,
|
|
966
|
+
{
|
|
967
|
+
padding: 1,
|
|
968
|
+
borderBottom: true,
|
|
969
|
+
children: "Comun"
|
|
970
|
+
}
|
|
971
|
+
),
|
|
972
|
+
/* @__PURE__ */ jsx(
|
|
973
|
+
Box,
|
|
974
|
+
{
|
|
975
|
+
padding: 1,
|
|
976
|
+
overflow: "auto",
|
|
977
|
+
children: /* @__PURE__ */ jsxs(
|
|
978
|
+
Column,
|
|
979
|
+
{
|
|
980
|
+
padding: 2,
|
|
981
|
+
children: [
|
|
982
|
+
/* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
|
|
983
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "S" }),
|
|
984
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "R" }),
|
|
985
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "L" }),
|
|
986
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "2L" }),
|
|
987
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "3L" })
|
|
988
|
+
] }),
|
|
989
|
+
/* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
|
|
990
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "S" }),
|
|
991
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "R" }),
|
|
992
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "L" }),
|
|
993
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "2L" }),
|
|
994
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "3L" })
|
|
995
|
+
] }),
|
|
996
|
+
/* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
|
|
997
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "S" }),
|
|
998
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "R" }),
|
|
999
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "L" }),
|
|
1000
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "2L" }),
|
|
1001
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "3L" })
|
|
1002
|
+
] }),
|
|
1003
|
+
/* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
|
|
1004
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "S" }),
|
|
1005
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "R" }),
|
|
1006
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "L" }),
|
|
1007
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "2L" }),
|
|
1008
|
+
/* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "3L" })
|
|
1009
|
+
] })
|
|
1010
|
+
]
|
|
1011
|
+
}
|
|
1012
|
+
)
|
|
1013
|
+
}
|
|
1014
|
+
)
|
|
1015
|
+
] });
|
|
1016
|
+
},
|
|
1017
|
+
Mingoo: () => {
|
|
1018
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1019
|
+
/* @__PURE__ */ jsx(
|
|
1020
|
+
Text.SubTitle,
|
|
1021
|
+
{
|
|
1022
|
+
padding: 1,
|
|
1023
|
+
borderBottom: true,
|
|
1024
|
+
children: "Mingoo"
|
|
1025
|
+
}
|
|
1026
|
+
),
|
|
1027
|
+
/* @__PURE__ */ jsx(
|
|
1028
|
+
Box,
|
|
1029
|
+
{
|
|
1030
|
+
padding: 1,
|
|
1031
|
+
overflow: "auto",
|
|
1032
|
+
children: /* @__PURE__ */ jsxs(
|
|
1033
|
+
Row.Center,
|
|
1034
|
+
{
|
|
1035
|
+
flexType: "col",
|
|
1036
|
+
gap: 2,
|
|
1037
|
+
padding: 2,
|
|
1038
|
+
children: [
|
|
1039
|
+
/* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "S" }),
|
|
1040
|
+
/* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "R" }),
|
|
1041
|
+
/* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "L" }),
|
|
1042
|
+
/* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "2L" }),
|
|
1043
|
+
/* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "3L" })
|
|
1044
|
+
]
|
|
1045
|
+
}
|
|
1046
|
+
)
|
|
1047
|
+
}
|
|
1048
|
+
)
|
|
1049
|
+
] });
|
|
1050
|
+
},
|
|
1051
|
+
Google: () => {
|
|
1052
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1053
|
+
/* @__PURE__ */ jsx(
|
|
1054
|
+
Text.SubTitle,
|
|
1055
|
+
{
|
|
1056
|
+
padding: 1,
|
|
1057
|
+
borderBottom: true,
|
|
1058
|
+
children: "Google"
|
|
1059
|
+
}
|
|
1060
|
+
),
|
|
1061
|
+
/* @__PURE__ */ jsx(
|
|
1062
|
+
Box,
|
|
1063
|
+
{
|
|
1064
|
+
padding: 1,
|
|
1065
|
+
overflow: "auto",
|
|
1066
|
+
children: /* @__PURE__ */ jsxs(
|
|
1067
|
+
Row.Center,
|
|
1068
|
+
{
|
|
1069
|
+
flexType: "col",
|
|
1070
|
+
gap: 2,
|
|
1071
|
+
padding: 2,
|
|
1072
|
+
children: [
|
|
1073
|
+
/* @__PURE__ */ jsx(Logo.Brands.Google, { size: "S" }),
|
|
1074
|
+
/* @__PURE__ */ jsx(Logo.Brands.Google, { size: "R" }),
|
|
1075
|
+
/* @__PURE__ */ jsx(Logo.Brands.Google, { size: "L" }),
|
|
1076
|
+
/* @__PURE__ */ jsx(Logo.Brands.Google, { size: "2L" }),
|
|
1077
|
+
/* @__PURE__ */ jsx(Logo.Brands.Google, { size: "3L" })
|
|
1078
|
+
]
|
|
1079
|
+
}
|
|
1080
|
+
)
|
|
1081
|
+
}
|
|
1082
|
+
)
|
|
1083
|
+
] });
|
|
1084
|
+
},
|
|
1085
|
+
Facebook: () => {
|
|
1086
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1087
|
+
/* @__PURE__ */ jsx(
|
|
1088
|
+
Text.SubTitle,
|
|
1089
|
+
{
|
|
1090
|
+
padding: 1,
|
|
1091
|
+
borderBottom: true,
|
|
1092
|
+
children: "Facebook"
|
|
1093
|
+
}
|
|
1094
|
+
),
|
|
1095
|
+
/* @__PURE__ */ jsx(
|
|
1096
|
+
Box,
|
|
1097
|
+
{
|
|
1098
|
+
padding: 1,
|
|
1099
|
+
overflow: "auto",
|
|
1100
|
+
children: /* @__PURE__ */ jsxs(
|
|
1101
|
+
Row.Center,
|
|
1102
|
+
{
|
|
1103
|
+
flexType: "col",
|
|
1104
|
+
gap: 2,
|
|
1105
|
+
padding: 2,
|
|
1106
|
+
children: [
|
|
1107
|
+
/* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "S" }),
|
|
1108
|
+
/* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "R" }),
|
|
1109
|
+
/* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "L" }),
|
|
1110
|
+
/* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "2L" }),
|
|
1111
|
+
/* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "3L" })
|
|
1112
|
+
]
|
|
1113
|
+
}
|
|
1114
|
+
)
|
|
1115
|
+
}
|
|
1116
|
+
)
|
|
1117
|
+
] });
|
|
1118
|
+
},
|
|
1119
|
+
Line: () => {
|
|
1120
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1121
|
+
/* @__PURE__ */ jsx(
|
|
1122
|
+
Text.SubTitle,
|
|
1123
|
+
{
|
|
1124
|
+
padding: 1,
|
|
1125
|
+
borderBottom: true,
|
|
1126
|
+
children: "LINE"
|
|
1127
|
+
}
|
|
1128
|
+
),
|
|
1129
|
+
/* @__PURE__ */ jsx(
|
|
1130
|
+
Box,
|
|
1131
|
+
{
|
|
1132
|
+
padding: 1,
|
|
1133
|
+
overflow: "auto",
|
|
1134
|
+
children: /* @__PURE__ */ jsxs(
|
|
1135
|
+
Row.Center,
|
|
1136
|
+
{
|
|
1137
|
+
flexType: "col",
|
|
1138
|
+
gap: 2,
|
|
1139
|
+
padding: 2,
|
|
1140
|
+
children: [
|
|
1141
|
+
/* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "S" }),
|
|
1142
|
+
/* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "R" }),
|
|
1143
|
+
/* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "L" }),
|
|
1144
|
+
/* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "2L" }),
|
|
1145
|
+
/* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "3L" })
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
)
|
|
1149
|
+
}
|
|
1150
|
+
)
|
|
1151
|
+
] });
|
|
1152
|
+
},
|
|
1153
|
+
Twitter: () => {
|
|
1154
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1155
|
+
/* @__PURE__ */ jsx(
|
|
1156
|
+
Text.SubTitle,
|
|
1157
|
+
{
|
|
1158
|
+
padding: 1,
|
|
1159
|
+
borderBottom: true,
|
|
1160
|
+
children: "Twitter"
|
|
1161
|
+
}
|
|
1162
|
+
),
|
|
1163
|
+
/* @__PURE__ */ jsx(
|
|
1164
|
+
Box,
|
|
1165
|
+
{
|
|
1166
|
+
padding: 1,
|
|
1167
|
+
overflow: "auto",
|
|
1168
|
+
children: /* @__PURE__ */ jsxs(
|
|
1169
|
+
Row.Center,
|
|
1170
|
+
{
|
|
1171
|
+
flexType: "col",
|
|
1172
|
+
gap: 2,
|
|
1173
|
+
padding: 2,
|
|
1174
|
+
children: [
|
|
1175
|
+
/* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "S" }),
|
|
1176
|
+
/* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "R" }),
|
|
1177
|
+
/* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "L" }),
|
|
1178
|
+
/* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "2L" }),
|
|
1179
|
+
/* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "3L" })
|
|
1180
|
+
]
|
|
1181
|
+
}
|
|
1182
|
+
)
|
|
1183
|
+
}
|
|
1184
|
+
)
|
|
1185
|
+
] });
|
|
1186
|
+
}
|
|
1187
|
+
};
|
|
1188
|
+
const Effections = {
|
|
1189
|
+
_: () => {
|
|
1190
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1191
|
+
/* @__PURE__ */ jsx(Effections.Ripple, {}),
|
|
1192
|
+
/* @__PURE__ */ jsx(Effections.Variables, {}),
|
|
1193
|
+
/* @__PURE__ */ jsx(Effections.Tooltips, {}),
|
|
1194
|
+
/* @__PURE__ */ jsx(Effections.Snackbar, {})
|
|
1195
|
+
] });
|
|
1196
|
+
},
|
|
1197
|
+
Ripple: () => {
|
|
1198
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1199
|
+
/* @__PURE__ */ jsx(
|
|
1200
|
+
Text.SubTitle,
|
|
1201
|
+
{
|
|
1202
|
+
padding: 1,
|
|
1203
|
+
borderBottom: true,
|
|
1204
|
+
children: "Ripple"
|
|
1205
|
+
}
|
|
1206
|
+
),
|
|
1207
|
+
/* @__PURE__ */ jsxs(
|
|
1208
|
+
Column,
|
|
1209
|
+
{
|
|
1210
|
+
padding: 2,
|
|
1211
|
+
children: [
|
|
1212
|
+
/* @__PURE__ */ jsx(Text.Description, { children: `<Element
|
|
64
1213
|
ssEffectsOnActive={ 'ripple.( cloud | theme | nega | posi | warn )' }
|
|
65
|
-
/>`}),
|
|
1214
|
+
/>` }),
|
|
1215
|
+
/* @__PURE__ */ jsxs(Row.Center, { children: [
|
|
1216
|
+
/* @__PURE__ */ jsx(
|
|
1217
|
+
Button.Button.Prime.R,
|
|
1218
|
+
{
|
|
1219
|
+
ssEffectsOnActive: ["ripple.white"],
|
|
1220
|
+
children: "White"
|
|
1221
|
+
}
|
|
1222
|
+
),
|
|
1223
|
+
/* @__PURE__ */ jsx(
|
|
1224
|
+
Button.Button.Border.R,
|
|
1225
|
+
{
|
|
1226
|
+
ssEffectsOnActive: ["ripple.cloud"],
|
|
1227
|
+
children: "Cloud"
|
|
1228
|
+
}
|
|
1229
|
+
),
|
|
1230
|
+
/* @__PURE__ */ jsx(
|
|
1231
|
+
Button.Button.Border.R,
|
|
1232
|
+
{
|
|
1233
|
+
children: "Theme",
|
|
1234
|
+
ssEffectsOnActive: ["ripple.theme"]
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1237
|
+
] })
|
|
1238
|
+
]
|
|
1239
|
+
}
|
|
1240
|
+
)
|
|
1241
|
+
] });
|
|
1242
|
+
},
|
|
1243
|
+
Variables: () => {
|
|
1244
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1245
|
+
/* @__PURE__ */ jsx(
|
|
1246
|
+
Text.SubTitle,
|
|
1247
|
+
{
|
|
1248
|
+
padding: 1,
|
|
1249
|
+
borderBottom: true,
|
|
1250
|
+
children: "Effects"
|
|
1251
|
+
}
|
|
1252
|
+
),
|
|
1253
|
+
/* @__PURE__ */ jsxs(
|
|
1254
|
+
Column,
|
|
1255
|
+
{
|
|
1256
|
+
padding: 2,
|
|
1257
|
+
children: [
|
|
1258
|
+
/* @__PURE__ */ jsx(Text.Description, { children: `<Button
|
|
66
1259
|
ssEffectsOnActive={ 'shrink' }
|
|
67
|
-
/>`
|
|
1260
|
+
/>` }),
|
|
1261
|
+
/* @__PURE__ */ jsx(Row.Left, { children: /* @__PURE__ */ jsx(
|
|
1262
|
+
Button.Button.Prime.R,
|
|
1263
|
+
{
|
|
1264
|
+
onClick: () => {
|
|
1265
|
+
Loader.fn.mini.active("testLoadingKey");
|
|
1266
|
+
setTimeout(() => {
|
|
1267
|
+
Loader.fn.stopALL();
|
|
1268
|
+
}, 5e3);
|
|
1269
|
+
},
|
|
1270
|
+
children: /* @__PURE__ */ jsxs(
|
|
1271
|
+
Row.Center,
|
|
1272
|
+
{
|
|
1273
|
+
gap: 0,
|
|
1274
|
+
children: [
|
|
1275
|
+
/* @__PURE__ */ jsx(
|
|
1276
|
+
Loader.White.S,
|
|
1277
|
+
{
|
|
1278
|
+
loaderID: "testLoadingKey",
|
|
1279
|
+
marginRight: 1
|
|
1280
|
+
}
|
|
1281
|
+
),
|
|
1282
|
+
/* @__PURE__ */ jsx(
|
|
1283
|
+
Box,
|
|
1284
|
+
{
|
|
1285
|
+
textAlign: "left",
|
|
1286
|
+
children: "Launch Mini Loader"
|
|
1287
|
+
}
|
|
1288
|
+
)
|
|
1289
|
+
]
|
|
1290
|
+
}
|
|
1291
|
+
)
|
|
1292
|
+
}
|
|
1293
|
+
) }),
|
|
1294
|
+
/* @__PURE__ */ jsxs(Row.Left, { children: [
|
|
1295
|
+
/* @__PURE__ */ jsx(
|
|
1296
|
+
Button.Button.Border.R,
|
|
1297
|
+
{
|
|
1298
|
+
children: "Shrink",
|
|
1299
|
+
ssEffectsOnActive: "shrink"
|
|
1300
|
+
}
|
|
1301
|
+
),
|
|
1302
|
+
/* @__PURE__ */ jsx(
|
|
1303
|
+
Button.Button.Border.R,
|
|
1304
|
+
{
|
|
1305
|
+
children: "Pudding",
|
|
1306
|
+
ssEffectsOnActive: "pudding"
|
|
1307
|
+
}
|
|
1308
|
+
),
|
|
1309
|
+
/* @__PURE__ */ jsx(
|
|
1310
|
+
Button.Button.Border.R,
|
|
1311
|
+
{
|
|
1312
|
+
children: "Expand",
|
|
1313
|
+
ssEffectsOnActive: "expand"
|
|
1314
|
+
}
|
|
1315
|
+
),
|
|
1316
|
+
/* @__PURE__ */ jsx(
|
|
1317
|
+
Button.Button.Border.R,
|
|
1318
|
+
{
|
|
1319
|
+
children: "corner Loader",
|
|
1320
|
+
onClick: () => {
|
|
1321
|
+
Loader.fn.corner.active();
|
|
1322
|
+
setTimeout(() => {
|
|
1323
|
+
Loader.fn.corner.stop();
|
|
1324
|
+
}, 3e3);
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
),
|
|
1328
|
+
/* @__PURE__ */ jsx(
|
|
1329
|
+
Button.Button.Border.R,
|
|
1330
|
+
{
|
|
1331
|
+
children: "top Loader",
|
|
1332
|
+
onClick: () => {
|
|
1333
|
+
Loader.fn.top.active();
|
|
1334
|
+
setTimeout(() => {
|
|
1335
|
+
Loader.fn.top.stop();
|
|
1336
|
+
}, 7e3);
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
)
|
|
1340
|
+
] })
|
|
1341
|
+
]
|
|
1342
|
+
}
|
|
1343
|
+
)
|
|
1344
|
+
] });
|
|
1345
|
+
},
|
|
1346
|
+
Tooltips: () => {
|
|
1347
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1348
|
+
/* @__PURE__ */ jsx(
|
|
1349
|
+
Text.SubTitle,
|
|
1350
|
+
{
|
|
1351
|
+
padding: 1,
|
|
1352
|
+
borderBottom: true,
|
|
1353
|
+
children: "ToolTips"
|
|
1354
|
+
}
|
|
1355
|
+
),
|
|
1356
|
+
/* @__PURE__ */ jsx(
|
|
1357
|
+
Grid,
|
|
1358
|
+
{
|
|
1359
|
+
gridCols: 5,
|
|
1360
|
+
gap: 1,
|
|
1361
|
+
padding: 2,
|
|
1362
|
+
children: Array.from({ length: 25 }).map((a, index) => {
|
|
1363
|
+
return /* @__PURE__ */ jsxs(
|
|
1364
|
+
Button.Button.Border.R,
|
|
1365
|
+
{
|
|
1366
|
+
padding: 2,
|
|
1367
|
+
onMouseOver: (e) => {
|
|
1368
|
+
let tipsID = $$.uuid.gen();
|
|
1369
|
+
Tooltips.open({
|
|
1370
|
+
tipsID: "tips-" + (index + 1) + "---" + tipsID,
|
|
1371
|
+
parent: e.currentTarget,
|
|
1372
|
+
gravityPoint: index + 1,
|
|
1373
|
+
padding: 0,
|
|
1374
|
+
content: /* @__PURE__ */ jsx(
|
|
1375
|
+
Tooltips.Comps.Body,
|
|
1376
|
+
{
|
|
1377
|
+
children: index
|
|
1378
|
+
},
|
|
1379
|
+
index
|
|
1380
|
+
)
|
|
1381
|
+
});
|
|
1382
|
+
},
|
|
1383
|
+
children: [
|
|
1384
|
+
"GravityPoint",
|
|
1385
|
+
index + 1
|
|
1386
|
+
]
|
|
1387
|
+
}
|
|
1388
|
+
);
|
|
1389
|
+
})
|
|
1390
|
+
}
|
|
1391
|
+
)
|
|
1392
|
+
] });
|
|
1393
|
+
},
|
|
1394
|
+
Snackbar: () => {
|
|
1395
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1396
|
+
/* @__PURE__ */ jsx(
|
|
1397
|
+
Text.SubTitle,
|
|
1398
|
+
{
|
|
1399
|
+
padding: 1,
|
|
1400
|
+
borderBottom: true,
|
|
1401
|
+
children: "Snackbars"
|
|
1402
|
+
}
|
|
1403
|
+
),
|
|
1404
|
+
/* @__PURE__ */ jsxs(
|
|
1405
|
+
Row.Center,
|
|
1406
|
+
{
|
|
1407
|
+
padding: 2,
|
|
1408
|
+
children: [
|
|
1409
|
+
/* @__PURE__ */ jsx(
|
|
1410
|
+
Button.Button.Prime.R,
|
|
1411
|
+
{
|
|
1412
|
+
onClick: () => {
|
|
1413
|
+
Snackbar.add({
|
|
1414
|
+
children: "hello World!!"
|
|
1415
|
+
});
|
|
1416
|
+
},
|
|
1417
|
+
children: "Add Normal Snackbar"
|
|
1418
|
+
}
|
|
1419
|
+
),
|
|
1420
|
+
/* @__PURE__ */ jsx(
|
|
1421
|
+
Button.Button.Prime.R,
|
|
1422
|
+
{
|
|
1423
|
+
onClick: () => {
|
|
1424
|
+
Snackbar.add({
|
|
1425
|
+
secondsToClose: 30,
|
|
1426
|
+
children: /* @__PURE__ */ jsxs(
|
|
1427
|
+
Row.Separate,
|
|
1428
|
+
{
|
|
1429
|
+
verticalAlign: "baseline",
|
|
1430
|
+
paddingLeft: "2/3",
|
|
1431
|
+
children: [
|
|
1432
|
+
"\u4E88\u7D04\u6642\u9593\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",
|
|
1433
|
+
/* @__PURE__ */ jsx(
|
|
1434
|
+
Button.Button.Clear.S,
|
|
1435
|
+
{
|
|
1436
|
+
color: "white",
|
|
1437
|
+
fontColor: "posi",
|
|
1438
|
+
children: "\u5143\u306B\u623B\u3059"
|
|
1439
|
+
}
|
|
1440
|
+
)
|
|
1441
|
+
]
|
|
1442
|
+
}
|
|
1443
|
+
)
|
|
1444
|
+
});
|
|
1445
|
+
},
|
|
1446
|
+
children: "Notices"
|
|
1447
|
+
}
|
|
1448
|
+
),
|
|
1449
|
+
/* @__PURE__ */ jsx(
|
|
1450
|
+
Button.Button.Prime.R,
|
|
1451
|
+
{
|
|
1452
|
+
onClick: () => {
|
|
1453
|
+
let snackID = $$.uuid.gen();
|
|
1454
|
+
Snackbar.add({
|
|
1455
|
+
snackID,
|
|
1456
|
+
children: /* @__PURE__ */ jsxs(
|
|
1457
|
+
Column,
|
|
1458
|
+
{
|
|
1459
|
+
padding: 1,
|
|
1460
|
+
children: [
|
|
1461
|
+
/* @__PURE__ */ jsxs(
|
|
1462
|
+
Row.Left,
|
|
1463
|
+
{
|
|
1464
|
+
verticalAlign: "top",
|
|
1465
|
+
children: [
|
|
1466
|
+
/* @__PURE__ */ jsx(
|
|
1467
|
+
Img,
|
|
1468
|
+
{
|
|
1469
|
+
src: Logo.Images.defaultIcon("user"),
|
|
1470
|
+
ssSphere: 4
|
|
1471
|
+
}
|
|
1472
|
+
),
|
|
1473
|
+
/* @__PURE__ */ jsx(Text.Description, { children: `Some Text
|
|
68
1474
|
Some Text
|
|
69
|
-
Some Text`
|
|
1475
|
+
Some Text` })
|
|
1476
|
+
]
|
|
1477
|
+
}
|
|
1478
|
+
),
|
|
1479
|
+
/* @__PURE__ */ jsxs(Row.Separate, { children: [
|
|
1480
|
+
/* @__PURE__ */ jsx(
|
|
1481
|
+
Button.Button.Sub.S,
|
|
1482
|
+
{
|
|
1483
|
+
color: "white",
|
|
1484
|
+
onClick: () => {
|
|
1485
|
+
Snackbar.remove(snackID);
|
|
1486
|
+
},
|
|
1487
|
+
children: "\u9589\u3058\u308B"
|
|
1488
|
+
}
|
|
1489
|
+
),
|
|
1490
|
+
/* @__PURE__ */ jsx(
|
|
1491
|
+
Button.Anchor.Prime.S,
|
|
1492
|
+
{
|
|
1493
|
+
href: "https://google.com",
|
|
1494
|
+
children: "\u8A73\u7D30"
|
|
1495
|
+
}
|
|
1496
|
+
)
|
|
1497
|
+
] })
|
|
1498
|
+
]
|
|
1499
|
+
}
|
|
1500
|
+
)
|
|
1501
|
+
});
|
|
1502
|
+
},
|
|
1503
|
+
children: "Message"
|
|
1504
|
+
}
|
|
1505
|
+
)
|
|
1506
|
+
]
|
|
1507
|
+
}
|
|
1508
|
+
)
|
|
1509
|
+
] });
|
|
1510
|
+
}
|
|
1511
|
+
};
|
|
1512
|
+
const Buttons = {
|
|
1513
|
+
_: () => {
|
|
1514
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1515
|
+
/* @__PURE__ */ jsx(Buttons.Types, {}),
|
|
1516
|
+
/* @__PURE__ */ jsx(Buttons.Tone, {}),
|
|
1517
|
+
/* @__PURE__ */ jsx(Buttons.Segmented, {})
|
|
1518
|
+
] });
|
|
1519
|
+
},
|
|
1520
|
+
Tone: () => {
|
|
1521
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1522
|
+
/* @__PURE__ */ jsx(
|
|
1523
|
+
Text.SubTitle,
|
|
1524
|
+
{
|
|
1525
|
+
padding: 1,
|
|
1526
|
+
borderBottom: true,
|
|
1527
|
+
children: "Tone"
|
|
1528
|
+
}
|
|
1529
|
+
),
|
|
1530
|
+
/* @__PURE__ */ jsx(
|
|
1531
|
+
Box,
|
|
1532
|
+
{
|
|
1533
|
+
padding: 1,
|
|
1534
|
+
overflow: "auto",
|
|
1535
|
+
children: /* @__PURE__ */ jsxs(
|
|
1536
|
+
Grid,
|
|
1537
|
+
{
|
|
1538
|
+
gridCols: 2,
|
|
1539
|
+
gap: 2,
|
|
1540
|
+
children: [
|
|
1541
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1542
|
+
/* @__PURE__ */ jsx(
|
|
1543
|
+
Box,
|
|
1544
|
+
{
|
|
1545
|
+
padding: 1,
|
|
1546
|
+
fontSize: "3.paragraph",
|
|
1547
|
+
isBoldFont: true,
|
|
1548
|
+
children: "\u30FBPrime"
|
|
1549
|
+
}
|
|
1550
|
+
),
|
|
1551
|
+
/* @__PURE__ */ jsxs(
|
|
1552
|
+
Grid,
|
|
1553
|
+
{
|
|
1554
|
+
gridCols: 3,
|
|
1555
|
+
gap: 1,
|
|
1556
|
+
padding: 1,
|
|
1557
|
+
children: [
|
|
1558
|
+
/* @__PURE__ */ jsx(
|
|
1559
|
+
Button.Button.Prime.R,
|
|
1560
|
+
{
|
|
1561
|
+
color: "theme",
|
|
1562
|
+
children: "theme"
|
|
1563
|
+
}
|
|
1564
|
+
),
|
|
1565
|
+
/* @__PURE__ */ jsx(
|
|
1566
|
+
Button.Button.Prime.R,
|
|
1567
|
+
{
|
|
1568
|
+
color: "coffee",
|
|
1569
|
+
children: "posi"
|
|
1570
|
+
}
|
|
1571
|
+
),
|
|
1572
|
+
/* @__PURE__ */ jsx(
|
|
1573
|
+
Button.Button.Prime.R,
|
|
1574
|
+
{
|
|
1575
|
+
color: "ninja",
|
|
1576
|
+
children: "nega"
|
|
1577
|
+
}
|
|
1578
|
+
),
|
|
1579
|
+
/* @__PURE__ */ jsx(
|
|
1580
|
+
Button.Button.Prime.R,
|
|
1581
|
+
{
|
|
1582
|
+
color: "droplet",
|
|
1583
|
+
children: "warn"
|
|
1584
|
+
}
|
|
1585
|
+
),
|
|
1586
|
+
/* @__PURE__ */ jsx(
|
|
1587
|
+
Button.Button.Prime.R,
|
|
1588
|
+
{
|
|
1589
|
+
color: "googleBlue",
|
|
1590
|
+
children: "mono"
|
|
1591
|
+
}
|
|
1592
|
+
),
|
|
1593
|
+
/* @__PURE__ */ jsx(
|
|
1594
|
+
Button.Button.Prime.R,
|
|
1595
|
+
{
|
|
1596
|
+
color: "poizon",
|
|
1597
|
+
children: "pozion"
|
|
1598
|
+
}
|
|
1599
|
+
)
|
|
1600
|
+
]
|
|
1601
|
+
}
|
|
1602
|
+
)
|
|
1603
|
+
] }),
|
|
1604
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1605
|
+
/* @__PURE__ */ jsx(
|
|
1606
|
+
Box,
|
|
1607
|
+
{
|
|
1608
|
+
padding: 1,
|
|
1609
|
+
fontSize: "3.paragraph",
|
|
1610
|
+
isBoldFont: true,
|
|
1611
|
+
children: "\u30FBSub"
|
|
1612
|
+
}
|
|
1613
|
+
),
|
|
1614
|
+
/* @__PURE__ */ jsxs(
|
|
1615
|
+
Grid,
|
|
1616
|
+
{
|
|
1617
|
+
gridCols: 3,
|
|
1618
|
+
gap: 1,
|
|
1619
|
+
padding: 1,
|
|
1620
|
+
children: [
|
|
1621
|
+
/* @__PURE__ */ jsx(
|
|
1622
|
+
Button.Button.Sub.R,
|
|
1623
|
+
{
|
|
1624
|
+
color: "theme",
|
|
1625
|
+
children: "theme"
|
|
1626
|
+
}
|
|
1627
|
+
),
|
|
1628
|
+
/* @__PURE__ */ jsx(
|
|
1629
|
+
Button.Button.Sub.R,
|
|
1630
|
+
{
|
|
1631
|
+
color: "posi",
|
|
1632
|
+
children: "posi"
|
|
1633
|
+
}
|
|
1634
|
+
),
|
|
1635
|
+
/* @__PURE__ */ jsx(
|
|
1636
|
+
Button.Button.Sub.R,
|
|
1637
|
+
{
|
|
1638
|
+
color: "nega",
|
|
1639
|
+
children: "nega"
|
|
1640
|
+
}
|
|
1641
|
+
),
|
|
1642
|
+
/* @__PURE__ */ jsx(
|
|
1643
|
+
Button.Button.Sub.R,
|
|
1644
|
+
{
|
|
1645
|
+
color: "warn",
|
|
1646
|
+
children: "warn"
|
|
1647
|
+
}
|
|
1648
|
+
),
|
|
1649
|
+
/* @__PURE__ */ jsx(
|
|
1650
|
+
Button.Button.Sub.R,
|
|
1651
|
+
{
|
|
1652
|
+
color: "cloud",
|
|
1653
|
+
children: "cloud"
|
|
1654
|
+
}
|
|
1655
|
+
)
|
|
1656
|
+
]
|
|
1657
|
+
}
|
|
1658
|
+
),
|
|
1659
|
+
/* @__PURE__ */ jsxs(
|
|
1660
|
+
Grid,
|
|
1661
|
+
{
|
|
1662
|
+
gridCols: 3,
|
|
1663
|
+
gap: 1,
|
|
1664
|
+
padding: 1,
|
|
1665
|
+
backgroundColor: "dark",
|
|
1666
|
+
ssCardBox: true,
|
|
1667
|
+
children: [
|
|
1668
|
+
/* @__PURE__ */ jsx(
|
|
1669
|
+
Button.Button.Sub.R,
|
|
1670
|
+
{
|
|
1671
|
+
color: "white",
|
|
1672
|
+
children: "white"
|
|
1673
|
+
}
|
|
1674
|
+
),
|
|
1675
|
+
/* @__PURE__ */ jsx(
|
|
1676
|
+
Button.Button.Sub.R,
|
|
1677
|
+
{
|
|
1678
|
+
color: "cloud",
|
|
1679
|
+
children: "cloud"
|
|
1680
|
+
}
|
|
1681
|
+
)
|
|
1682
|
+
]
|
|
1683
|
+
}
|
|
1684
|
+
)
|
|
1685
|
+
] }),
|
|
1686
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1687
|
+
/* @__PURE__ */ jsx(
|
|
1688
|
+
Box,
|
|
1689
|
+
{
|
|
1690
|
+
padding: 1,
|
|
1691
|
+
fontSize: "3.paragraph",
|
|
1692
|
+
isBoldFont: true,
|
|
1693
|
+
children: "\u30FBClear"
|
|
1694
|
+
}
|
|
1695
|
+
),
|
|
1696
|
+
/* @__PURE__ */ jsxs(
|
|
1697
|
+
Grid,
|
|
1698
|
+
{
|
|
1699
|
+
gridCols: 3,
|
|
1700
|
+
gap: 1,
|
|
1701
|
+
padding: 1,
|
|
1702
|
+
children: [
|
|
1703
|
+
/* @__PURE__ */ jsx(
|
|
1704
|
+
Button.Button.Clear.R,
|
|
1705
|
+
{
|
|
1706
|
+
color: "theme",
|
|
1707
|
+
children: "theme"
|
|
1708
|
+
}
|
|
1709
|
+
),
|
|
1710
|
+
/* @__PURE__ */ jsx(
|
|
1711
|
+
Button.Button.Clear.R,
|
|
1712
|
+
{
|
|
1713
|
+
color: "posi",
|
|
1714
|
+
children: "posi"
|
|
1715
|
+
}
|
|
1716
|
+
),
|
|
1717
|
+
/* @__PURE__ */ jsx(
|
|
1718
|
+
Button.Button.Clear.R,
|
|
1719
|
+
{
|
|
1720
|
+
color: "nega",
|
|
1721
|
+
children: "nega"
|
|
1722
|
+
}
|
|
1723
|
+
),
|
|
1724
|
+
/* @__PURE__ */ jsx(
|
|
1725
|
+
Button.Button.Clear.R,
|
|
1726
|
+
{
|
|
1727
|
+
color: "warn",
|
|
1728
|
+
children: "warn"
|
|
1729
|
+
}
|
|
1730
|
+
),
|
|
1731
|
+
/* @__PURE__ */ jsx(
|
|
1732
|
+
Button.Button.Clear.R,
|
|
1733
|
+
{
|
|
1734
|
+
color: "cloud",
|
|
1735
|
+
children: "cloud"
|
|
1736
|
+
}
|
|
1737
|
+
)
|
|
1738
|
+
]
|
|
1739
|
+
}
|
|
1740
|
+
),
|
|
1741
|
+
/* @__PURE__ */ jsxs(
|
|
1742
|
+
Grid,
|
|
1743
|
+
{
|
|
1744
|
+
gridCols: 3,
|
|
1745
|
+
gap: 1,
|
|
1746
|
+
padding: 1,
|
|
1747
|
+
backgroundColor: "dark",
|
|
1748
|
+
ssCardBox: true,
|
|
1749
|
+
children: [
|
|
1750
|
+
/* @__PURE__ */ jsx(
|
|
1751
|
+
Button.Button.Clear.R,
|
|
1752
|
+
{
|
|
1753
|
+
color: "white",
|
|
1754
|
+
children: "white"
|
|
1755
|
+
}
|
|
1756
|
+
),
|
|
1757
|
+
/* @__PURE__ */ jsx(
|
|
1758
|
+
Button.Button.Clear.R,
|
|
1759
|
+
{
|
|
1760
|
+
color: "cloud",
|
|
1761
|
+
children: "cloud"
|
|
1762
|
+
}
|
|
1763
|
+
)
|
|
1764
|
+
]
|
|
1765
|
+
}
|
|
1766
|
+
)
|
|
1767
|
+
] }),
|
|
1768
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1769
|
+
/* @__PURE__ */ jsx(
|
|
1770
|
+
Box,
|
|
1771
|
+
{
|
|
1772
|
+
padding: 1,
|
|
1773
|
+
fontSize: "3.paragraph",
|
|
1774
|
+
isBoldFont: true,
|
|
1775
|
+
children: "\u30FBFillToBorder"
|
|
1776
|
+
}
|
|
1777
|
+
),
|
|
1778
|
+
/* @__PURE__ */ jsxs(
|
|
1779
|
+
Grid,
|
|
1780
|
+
{
|
|
1781
|
+
gridCols: 3,
|
|
1782
|
+
gap: 1,
|
|
1783
|
+
padding: 1,
|
|
1784
|
+
children: [
|
|
1785
|
+
/* @__PURE__ */ jsx(
|
|
1786
|
+
Button.Button.FillToBorder.R,
|
|
1787
|
+
{
|
|
1788
|
+
color: "theme",
|
|
1789
|
+
children: "theme"
|
|
1790
|
+
}
|
|
1791
|
+
),
|
|
1792
|
+
/* @__PURE__ */ jsx(
|
|
1793
|
+
Button.Button.FillToBorder.R,
|
|
1794
|
+
{
|
|
1795
|
+
color: "posi",
|
|
1796
|
+
children: "posi"
|
|
1797
|
+
}
|
|
1798
|
+
),
|
|
1799
|
+
/* @__PURE__ */ jsx(
|
|
1800
|
+
Button.Button.FillToBorder.R,
|
|
1801
|
+
{
|
|
1802
|
+
color: "nega",
|
|
1803
|
+
children: "nega"
|
|
1804
|
+
}
|
|
1805
|
+
),
|
|
1806
|
+
/* @__PURE__ */ jsx(
|
|
1807
|
+
Button.Button.FillToBorder.R,
|
|
1808
|
+
{
|
|
1809
|
+
color: "warn",
|
|
1810
|
+
children: "warn"
|
|
1811
|
+
}
|
|
1812
|
+
)
|
|
1813
|
+
]
|
|
1814
|
+
}
|
|
1815
|
+
),
|
|
1816
|
+
/* @__PURE__ */ jsxs(
|
|
1817
|
+
Grid,
|
|
1818
|
+
{
|
|
1819
|
+
gridCols: 3,
|
|
1820
|
+
gap: 1,
|
|
1821
|
+
padding: 1,
|
|
1822
|
+
backgroundColor: "dark",
|
|
1823
|
+
ssCardBox: true,
|
|
1824
|
+
children: [
|
|
1825
|
+
/* @__PURE__ */ jsx(
|
|
1826
|
+
Button.Button.FillToBorder.R,
|
|
1827
|
+
{
|
|
1828
|
+
color: "white",
|
|
1829
|
+
children: "white"
|
|
1830
|
+
}
|
|
1831
|
+
),
|
|
1832
|
+
/* @__PURE__ */ jsx(
|
|
1833
|
+
Button.Button.FillToBorder.R,
|
|
1834
|
+
{
|
|
1835
|
+
color: "cloud",
|
|
1836
|
+
children: "cloud"
|
|
1837
|
+
}
|
|
1838
|
+
)
|
|
1839
|
+
]
|
|
1840
|
+
}
|
|
1841
|
+
)
|
|
1842
|
+
] }),
|
|
1843
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1844
|
+
/* @__PURE__ */ jsx(
|
|
1845
|
+
Box,
|
|
1846
|
+
{
|
|
1847
|
+
padding: 1,
|
|
1848
|
+
fontSize: "3.paragraph",
|
|
1849
|
+
isBoldFont: true,
|
|
1850
|
+
children: "\u30FBBorderToFill"
|
|
1851
|
+
}
|
|
1852
|
+
),
|
|
1853
|
+
/* @__PURE__ */ jsxs(
|
|
1854
|
+
Grid,
|
|
1855
|
+
{
|
|
1856
|
+
gridCols: 3,
|
|
1857
|
+
gap: 1,
|
|
1858
|
+
padding: 1,
|
|
1859
|
+
children: [
|
|
1860
|
+
/* @__PURE__ */ jsx(
|
|
1861
|
+
Button.Button.BorderToFill.R,
|
|
1862
|
+
{
|
|
1863
|
+
color: "theme",
|
|
1864
|
+
fontColor: "nega",
|
|
1865
|
+
children: /* @__PURE__ */ jsx(Box, { children: "theme" })
|
|
1866
|
+
}
|
|
1867
|
+
),
|
|
1868
|
+
/* @__PURE__ */ jsx(
|
|
1869
|
+
Button.Button.BorderToFill.R,
|
|
1870
|
+
{
|
|
1871
|
+
color: "posi",
|
|
1872
|
+
children: "posi"
|
|
1873
|
+
}
|
|
1874
|
+
),
|
|
1875
|
+
/* @__PURE__ */ jsx(
|
|
1876
|
+
Button.Button.BorderToFill.R,
|
|
1877
|
+
{
|
|
1878
|
+
color: "nega",
|
|
1879
|
+
children: "nega"
|
|
1880
|
+
}
|
|
1881
|
+
),
|
|
1882
|
+
/* @__PURE__ */ jsx(
|
|
1883
|
+
Button.Button.BorderToFill.R,
|
|
1884
|
+
{
|
|
1885
|
+
color: "warn",
|
|
1886
|
+
children: "warn"
|
|
1887
|
+
}
|
|
1888
|
+
)
|
|
1889
|
+
]
|
|
1890
|
+
}
|
|
1891
|
+
),
|
|
1892
|
+
/* @__PURE__ */ jsxs(
|
|
1893
|
+
Grid,
|
|
1894
|
+
{
|
|
1895
|
+
gridCols: 3,
|
|
1896
|
+
gap: 1,
|
|
1897
|
+
padding: 1,
|
|
1898
|
+
backgroundColor: "dark",
|
|
1899
|
+
ssCardBox: true,
|
|
1900
|
+
children: [
|
|
1901
|
+
/* @__PURE__ */ jsx(
|
|
1902
|
+
Button.Button.BorderToFill.R,
|
|
1903
|
+
{
|
|
1904
|
+
color: "white",
|
|
1905
|
+
children: "white"
|
|
1906
|
+
}
|
|
1907
|
+
),
|
|
1908
|
+
/* @__PURE__ */ jsx(
|
|
1909
|
+
Button.Button.BorderToFill.R,
|
|
1910
|
+
{
|
|
1911
|
+
color: "cloud",
|
|
1912
|
+
children: "cloud"
|
|
1913
|
+
}
|
|
1914
|
+
)
|
|
1915
|
+
]
|
|
1916
|
+
}
|
|
1917
|
+
)
|
|
1918
|
+
] }),
|
|
1919
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1920
|
+
/* @__PURE__ */ jsx(
|
|
1921
|
+
Box,
|
|
1922
|
+
{
|
|
1923
|
+
padding: 1,
|
|
1924
|
+
fontSize: "3.paragraph",
|
|
1925
|
+
isBoldFont: true,
|
|
1926
|
+
children: "\u30FBOthers"
|
|
1927
|
+
}
|
|
1928
|
+
),
|
|
1929
|
+
/* @__PURE__ */ jsxs(
|
|
1930
|
+
Grid,
|
|
1931
|
+
{
|
|
1932
|
+
gridCols: 3,
|
|
1933
|
+
gap: 1,
|
|
1934
|
+
padding: 1,
|
|
1935
|
+
children: [
|
|
1936
|
+
/* @__PURE__ */ jsx(
|
|
1937
|
+
Button.Button.Border.R,
|
|
1938
|
+
{
|
|
1939
|
+
children: "Border"
|
|
1940
|
+
}
|
|
1941
|
+
),
|
|
1942
|
+
/* @__PURE__ */ jsx(
|
|
1943
|
+
Button.Button.Normal.R,
|
|
1944
|
+
{
|
|
1945
|
+
children: "Normal"
|
|
1946
|
+
}
|
|
1947
|
+
),
|
|
1948
|
+
/* @__PURE__ */ jsx(
|
|
1949
|
+
Button.Button.Link,
|
|
1950
|
+
{
|
|
1951
|
+
children: "Link"
|
|
1952
|
+
}
|
|
1953
|
+
),
|
|
1954
|
+
/* @__PURE__ */ jsx(
|
|
1955
|
+
Button.Button.Plain,
|
|
1956
|
+
{
|
|
1957
|
+
children: "Plain"
|
|
1958
|
+
}
|
|
1959
|
+
)
|
|
1960
|
+
]
|
|
1961
|
+
}
|
|
1962
|
+
)
|
|
1963
|
+
] })
|
|
1964
|
+
]
|
|
1965
|
+
}
|
|
1966
|
+
)
|
|
1967
|
+
}
|
|
1968
|
+
)
|
|
1969
|
+
] });
|
|
1970
|
+
},
|
|
1971
|
+
Types: () => {
|
|
1972
|
+
return /* @__PURE__ */ jsxs(
|
|
1973
|
+
Flex,
|
|
1974
|
+
{
|
|
1975
|
+
gap: 2,
|
|
1976
|
+
flexChilds: "auto",
|
|
1977
|
+
children: [
|
|
1978
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
1979
|
+
/* @__PURE__ */ jsx(
|
|
1980
|
+
Text.ThirdTitle,
|
|
1981
|
+
{
|
|
1982
|
+
padding: 1,
|
|
1983
|
+
borderBottom: true,
|
|
1984
|
+
children: "\u30FBButton"
|
|
1985
|
+
}
|
|
1986
|
+
),
|
|
1987
|
+
/* @__PURE__ */ jsx(
|
|
1988
|
+
Box,
|
|
1989
|
+
{
|
|
1990
|
+
padding: 1,
|
|
1991
|
+
overflow: "auto",
|
|
1992
|
+
children: /* @__PURE__ */ jsx(
|
|
1993
|
+
List,
|
|
1994
|
+
{
|
|
1995
|
+
rowStyles: {
|
|
1996
|
+
padding: [1, 0],
|
|
1997
|
+
horizontalAlign: "between",
|
|
1998
|
+
borderBottom: "2.normal"
|
|
1999
|
+
},
|
|
2000
|
+
rows: [
|
|
2001
|
+
{
|
|
2002
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2003
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Button.Prime ... />" }),
|
|
2004
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2005
|
+
Button.Button.Prime.R,
|
|
2006
|
+
{
|
|
2007
|
+
children: "Button.Prime"
|
|
2008
|
+
}
|
|
2009
|
+
) })
|
|
2010
|
+
] })
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2014
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Button.Sub ... />" }),
|
|
2015
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2016
|
+
Button.Button.Sub.R,
|
|
2017
|
+
{
|
|
2018
|
+
children: "Button.Sub AAAA"
|
|
2019
|
+
}
|
|
2020
|
+
) })
|
|
2021
|
+
] })
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2025
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Button.Border ... />" }),
|
|
2026
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2027
|
+
Button.Button.Border.R,
|
|
2028
|
+
{
|
|
2029
|
+
children: "Button.Border"
|
|
2030
|
+
}
|
|
2031
|
+
) })
|
|
2032
|
+
] }),
|
|
2033
|
+
borderBottom: "unset"
|
|
2034
|
+
}
|
|
2035
|
+
]
|
|
2036
|
+
}
|
|
2037
|
+
)
|
|
2038
|
+
}
|
|
2039
|
+
)
|
|
2040
|
+
] }),
|
|
2041
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2042
|
+
/* @__PURE__ */ jsx(
|
|
2043
|
+
Text.ThirdTitle,
|
|
2044
|
+
{
|
|
2045
|
+
padding: 1,
|
|
2046
|
+
borderBottom: true,
|
|
2047
|
+
children: "\u30FBLabel"
|
|
2048
|
+
}
|
|
2049
|
+
),
|
|
2050
|
+
/* @__PURE__ */ jsx(
|
|
2051
|
+
Box,
|
|
2052
|
+
{
|
|
2053
|
+
padding: 1,
|
|
2054
|
+
overflow: "auto",
|
|
2055
|
+
children: /* @__PURE__ */ jsx(
|
|
2056
|
+
List,
|
|
2057
|
+
{
|
|
2058
|
+
rowStyles: {
|
|
2059
|
+
padding: [1, 0],
|
|
2060
|
+
horizontalAlign: "between",
|
|
2061
|
+
borderBottom: "2.normal"
|
|
2062
|
+
},
|
|
2063
|
+
rows: [
|
|
2064
|
+
{
|
|
2065
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2066
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Label.Prime ... />" }),
|
|
2067
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Button.Label.Prime.R, { children: "Label.Prime" }) })
|
|
2068
|
+
] })
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2072
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Label.Sub ... />" }),
|
|
2073
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Button.Label.Sub.R, { children: "Label.Sub" }) })
|
|
2074
|
+
] })
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2078
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Label.Border ... />" }),
|
|
2079
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2080
|
+
Button.Label.Border.R,
|
|
2081
|
+
{
|
|
2082
|
+
children: "Label.Border"
|
|
2083
|
+
}
|
|
2084
|
+
) })
|
|
2085
|
+
] }),
|
|
2086
|
+
borderBottom: "unset"
|
|
2087
|
+
}
|
|
2088
|
+
]
|
|
2089
|
+
}
|
|
2090
|
+
)
|
|
2091
|
+
}
|
|
2092
|
+
)
|
|
2093
|
+
] }),
|
|
2094
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2095
|
+
/* @__PURE__ */ jsx(
|
|
2096
|
+
Text.ThirdTitle,
|
|
2097
|
+
{
|
|
2098
|
+
padding: 1,
|
|
2099
|
+
borderBottom: true,
|
|
2100
|
+
children: "\u30FBAnchor"
|
|
2101
|
+
}
|
|
2102
|
+
),
|
|
2103
|
+
/* @__PURE__ */ jsx(
|
|
2104
|
+
Box,
|
|
2105
|
+
{
|
|
2106
|
+
padding: 1,
|
|
2107
|
+
overflow: "auto",
|
|
2108
|
+
children: /* @__PURE__ */ jsx(
|
|
2109
|
+
List,
|
|
2110
|
+
{
|
|
2111
|
+
rowStyles: {
|
|
2112
|
+
padding: [1, 0],
|
|
2113
|
+
horizontalAlign: "between",
|
|
2114
|
+
borderBottom: "2.normal"
|
|
2115
|
+
},
|
|
2116
|
+
rows: [
|
|
2117
|
+
{
|
|
2118
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2119
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Prime ... />" }),
|
|
2120
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2121
|
+
Button.Anchor.Prime.R,
|
|
2122
|
+
{
|
|
2123
|
+
href: "",
|
|
2124
|
+
children: "Anchor.Prime"
|
|
2125
|
+
}
|
|
2126
|
+
) })
|
|
2127
|
+
] })
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2131
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Sub ... />" }),
|
|
2132
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2133
|
+
Button.Anchor.Sub.R,
|
|
2134
|
+
{
|
|
2135
|
+
href: "",
|
|
2136
|
+
children: "Anchor.Sub"
|
|
2137
|
+
}
|
|
2138
|
+
) })
|
|
2139
|
+
] })
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2143
|
+
/* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Border ... />" }),
|
|
2144
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
2145
|
+
Button.Anchor.Border.R,
|
|
2146
|
+
{
|
|
2147
|
+
href: "",
|
|
2148
|
+
children: "Anchor.Border"
|
|
2149
|
+
}
|
|
2150
|
+
) })
|
|
2151
|
+
] }),
|
|
2152
|
+
borderBottom: "unset"
|
|
2153
|
+
}
|
|
2154
|
+
]
|
|
2155
|
+
}
|
|
2156
|
+
)
|
|
2157
|
+
}
|
|
2158
|
+
)
|
|
2159
|
+
] }),
|
|
2160
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2161
|
+
/* @__PURE__ */ jsx(
|
|
2162
|
+
Text.ThirdTitle,
|
|
2163
|
+
{
|
|
2164
|
+
padding: 1,
|
|
2165
|
+
borderBottom: true,
|
|
2166
|
+
children: "\u30FBSizes"
|
|
2167
|
+
}
|
|
2168
|
+
),
|
|
2169
|
+
/* @__PURE__ */ jsxs(
|
|
2170
|
+
Grid,
|
|
2171
|
+
{
|
|
2172
|
+
gridCols: 2,
|
|
2173
|
+
padding: 1,
|
|
2174
|
+
gap: 2,
|
|
2175
|
+
children: [
|
|
2176
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
|
|
2177
|
+
Button.Button.Prime.XS,
|
|
2178
|
+
{
|
|
2179
|
+
children: 'size="XS"'
|
|
2180
|
+
}
|
|
2181
|
+
) }),
|
|
2182
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
|
|
2183
|
+
Button.Button.Prime.S,
|
|
2184
|
+
{
|
|
2185
|
+
children: 'size="S"'
|
|
2186
|
+
}
|
|
2187
|
+
) }),
|
|
2188
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
|
|
2189
|
+
Button.Button.Prime.R,
|
|
2190
|
+
{
|
|
2191
|
+
children: 'size="R"'
|
|
2192
|
+
}
|
|
2193
|
+
) }),
|
|
2194
|
+
/* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
|
|
2195
|
+
Button.Button.Prime.L,
|
|
2196
|
+
{
|
|
2197
|
+
children: 'size="L"'
|
|
2198
|
+
}
|
|
2199
|
+
) })
|
|
2200
|
+
]
|
|
2201
|
+
}
|
|
2202
|
+
)
|
|
2203
|
+
] })
|
|
2204
|
+
]
|
|
2205
|
+
}
|
|
2206
|
+
);
|
|
2207
|
+
},
|
|
2208
|
+
Segmented: () => {
|
|
2209
|
+
return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2210
|
+
/* @__PURE__ */ jsx(
|
|
2211
|
+
Text.ThirdTitle,
|
|
2212
|
+
{
|
|
2213
|
+
padding: 1,
|
|
2214
|
+
borderBottom: true,
|
|
2215
|
+
children: "Segmented"
|
|
2216
|
+
}
|
|
2217
|
+
),
|
|
2218
|
+
/* @__PURE__ */ jsxs(
|
|
2219
|
+
Flex,
|
|
2220
|
+
{
|
|
2221
|
+
overflow: "auto",
|
|
2222
|
+
gap: 2,
|
|
2223
|
+
padding: 3,
|
|
2224
|
+
children: [
|
|
2225
|
+
/* @__PURE__ */ jsx(
|
|
2226
|
+
Input.Segmented.Auto,
|
|
2227
|
+
{
|
|
2228
|
+
tone: "cloud",
|
|
2229
|
+
value: 1,
|
|
2230
|
+
options: [
|
|
2231
|
+
{ value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
|
|
2232
|
+
{ value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
|
|
2233
|
+
{ value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
|
|
2234
|
+
{ value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
|
|
2235
|
+
]
|
|
2236
|
+
}
|
|
2237
|
+
),
|
|
2238
|
+
/* @__PURE__ */ jsx(
|
|
2239
|
+
Input.Segmented.Cloud,
|
|
2240
|
+
{
|
|
2241
|
+
value: 1,
|
|
2242
|
+
options: [
|
|
2243
|
+
{ value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
|
|
2244
|
+
{ value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
|
|
2245
|
+
{ value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
|
|
2246
|
+
{ value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
|
|
2247
|
+
]
|
|
2248
|
+
}
|
|
2249
|
+
),
|
|
2250
|
+
/* @__PURE__ */ jsx(
|
|
2251
|
+
Input.Segmented.Cloud2,
|
|
2252
|
+
{
|
|
2253
|
+
value: 1,
|
|
2254
|
+
options: [
|
|
2255
|
+
{ value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
|
|
2256
|
+
{ value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
|
|
2257
|
+
{ value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
|
|
2258
|
+
{ value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
|
|
2259
|
+
]
|
|
2260
|
+
}
|
|
2261
|
+
),
|
|
2262
|
+
/* @__PURE__ */ jsx(
|
|
2263
|
+
Input.Segmented.Cloud3,
|
|
2264
|
+
{
|
|
2265
|
+
value: 1,
|
|
2266
|
+
options: [
|
|
2267
|
+
{ value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
|
|
2268
|
+
{ value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
|
|
2269
|
+
{ value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
|
|
2270
|
+
{ value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
|
|
2271
|
+
]
|
|
2272
|
+
}
|
|
2273
|
+
),
|
|
2274
|
+
/* @__PURE__ */ jsx(
|
|
2275
|
+
Input.Segmented.Border,
|
|
2276
|
+
{
|
|
2277
|
+
value: 1,
|
|
2278
|
+
options: [
|
|
2279
|
+
{ value: 0, label: "On" },
|
|
2280
|
+
{ value: 1, label: "Off" }
|
|
2281
|
+
]
|
|
2282
|
+
}
|
|
2283
|
+
),
|
|
2284
|
+
/* @__PURE__ */ jsx(
|
|
2285
|
+
Input.Segmented.Border2,
|
|
2286
|
+
{
|
|
2287
|
+
value: 1,
|
|
2288
|
+
options: [
|
|
2289
|
+
{ value: 0, label: "On" },
|
|
2290
|
+
{ value: 1, label: "Off" }
|
|
2291
|
+
]
|
|
2292
|
+
}
|
|
2293
|
+
),
|
|
2294
|
+
/* @__PURE__ */ jsx(
|
|
2295
|
+
Input.Segmented.BottomLine,
|
|
2296
|
+
{
|
|
2297
|
+
value: 1,
|
|
2298
|
+
options: [
|
|
2299
|
+
{ value: 0, label: "Takana" },
|
|
2300
|
+
{ value: 1, label: "Mentai" },
|
|
2301
|
+
{ value: 2, label: "Mayo" },
|
|
2302
|
+
{ value: 3, label: "Gyudon" }
|
|
2303
|
+
]
|
|
2304
|
+
}
|
|
2305
|
+
)
|
|
2306
|
+
]
|
|
2307
|
+
}
|
|
2308
|
+
)
|
|
2309
|
+
] });
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2312
|
+
const Inputs = () => {
|
|
2313
|
+
const InputComps = {
|
|
2314
|
+
Basic: () => {
|
|
2315
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2316
|
+
/* @__PURE__ */ jsx(
|
|
2317
|
+
Text.Paragraph,
|
|
2318
|
+
{
|
|
2319
|
+
padding: 1,
|
|
2320
|
+
borderBottom: true,
|
|
2321
|
+
children: "TextInput"
|
|
2322
|
+
}
|
|
2323
|
+
),
|
|
2324
|
+
/* @__PURE__ */ jsxs(Box, { padding: 1, children: [
|
|
2325
|
+
/* @__PURE__ */ jsxs(
|
|
2326
|
+
Row.Separate,
|
|
2327
|
+
{
|
|
2328
|
+
marginBottom: 2,
|
|
2329
|
+
children: [
|
|
2330
|
+
/* @__PURE__ */ jsx(Text.Description, { children: `<Input.Text
|
|
70
2331
|
required
|
|
71
2332
|
value={ 'hello React!!' }
|
|
72
|
-
/>`
|
|
2333
|
+
/>` }),
|
|
2334
|
+
/* @__PURE__ */ jsxs(Column, { gap: "1/2", children: [
|
|
2335
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2336
|
+
"testInputLabel ",
|
|
2337
|
+
/* @__PURE__ */ jsx(Input.Comps.RequiredSign, {})
|
|
2338
|
+
] }),
|
|
2339
|
+
/* @__PURE__ */ jsx(
|
|
2340
|
+
Input.Text.Normal,
|
|
2341
|
+
{
|
|
2342
|
+
required: true,
|
|
2343
|
+
value: "helloReact"
|
|
2344
|
+
}
|
|
2345
|
+
)
|
|
2346
|
+
] })
|
|
2347
|
+
]
|
|
2348
|
+
}
|
|
2349
|
+
),
|
|
2350
|
+
/* @__PURE__ */ jsxs(
|
|
2351
|
+
Flex,
|
|
2352
|
+
{
|
|
2353
|
+
gap: 2,
|
|
2354
|
+
flexChilds: "auto",
|
|
2355
|
+
children: [
|
|
2356
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2357
|
+
"Input.Text.Email",
|
|
2358
|
+
/* @__PURE__ */ jsx(
|
|
2359
|
+
Input.Text.Email,
|
|
2360
|
+
{
|
|
2361
|
+
autoComplete: "off",
|
|
2362
|
+
name: "emailInput",
|
|
2363
|
+
value: "******@gmail.com"
|
|
2364
|
+
}
|
|
2365
|
+
)
|
|
2366
|
+
] }),
|
|
2367
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2368
|
+
"Input.Text.Number",
|
|
2369
|
+
/* @__PURE__ */ jsx(
|
|
2370
|
+
Input.Text.Number,
|
|
2371
|
+
{
|
|
2372
|
+
value: "324"
|
|
2373
|
+
}
|
|
2374
|
+
)
|
|
2375
|
+
] }),
|
|
2376
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2377
|
+
"Input.Text.Tel",
|
|
2378
|
+
/* @__PURE__ */ jsx(
|
|
2379
|
+
Input.Text.Tel,
|
|
2380
|
+
{
|
|
2381
|
+
value: "080-6995-2229"
|
|
2382
|
+
}
|
|
2383
|
+
)
|
|
2384
|
+
] }),
|
|
2385
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2386
|
+
"Input.Text.Money.JPY",
|
|
2387
|
+
/* @__PURE__ */ jsx(
|
|
2388
|
+
Input.Text.Money.JPY,
|
|
2389
|
+
{
|
|
2390
|
+
value: "3000"
|
|
2391
|
+
}
|
|
2392
|
+
)
|
|
2393
|
+
] }),
|
|
2394
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2395
|
+
"Input.Text.Url",
|
|
2396
|
+
/* @__PURE__ */ jsx(
|
|
2397
|
+
Input.Text.Url,
|
|
2398
|
+
{
|
|
2399
|
+
value: "http://google.com"
|
|
2400
|
+
}
|
|
2401
|
+
)
|
|
2402
|
+
] }),
|
|
2403
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2404
|
+
"Input.Text.Postal",
|
|
2405
|
+
/* @__PURE__ */ jsxs(Row.Right, { children: [
|
|
2406
|
+
/* @__PURE__ */ jsx(
|
|
2407
|
+
Box,
|
|
2408
|
+
{
|
|
2409
|
+
flexSizing: 0,
|
|
2410
|
+
children: /* @__PURE__ */ jsx(
|
|
2411
|
+
Input.Text.Postal,
|
|
2412
|
+
{
|
|
2413
|
+
override: "force"
|
|
2414
|
+
}
|
|
2415
|
+
)
|
|
2416
|
+
}
|
|
2417
|
+
),
|
|
2418
|
+
/* @__PURE__ */ jsx(
|
|
2419
|
+
Button.Button.Border.R,
|
|
2420
|
+
{
|
|
2421
|
+
onClick: () => __async(void 0, null, function* () {
|
|
2422
|
+
}),
|
|
2423
|
+
children: "\u73FE\u5728\u5730\u3092\u53D6\u5F97"
|
|
2424
|
+
}
|
|
2425
|
+
)
|
|
2426
|
+
] }),
|
|
2427
|
+
/* @__PURE__ */ jsx(
|
|
2428
|
+
Box,
|
|
2429
|
+
{
|
|
2430
|
+
id: "postalResult",
|
|
2431
|
+
padding: 1,
|
|
2432
|
+
textAlign: "left"
|
|
2433
|
+
}
|
|
2434
|
+
)
|
|
2435
|
+
] }),
|
|
2436
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2437
|
+
"Input.Text.Password",
|
|
2438
|
+
/* @__PURE__ */ jsx(
|
|
2439
|
+
Input.Text.Password,
|
|
2440
|
+
{
|
|
2441
|
+
value: "onigiriUmai"
|
|
2442
|
+
}
|
|
2443
|
+
)
|
|
2444
|
+
] }),
|
|
2445
|
+
/* @__PURE__ */ jsxs(Box, { flexNewLine: true, children: [
|
|
2446
|
+
"Input.TextArea",
|
|
2447
|
+
/* @__PURE__ */ jsx(
|
|
2448
|
+
Input.TextArea,
|
|
2449
|
+
{
|
|
2450
|
+
value: `text1
|
|
73
2451
|
text2
|
|
74
2452
|
text3
|
|
75
2453
|
text4
|
|
76
|
-
text5`,
|
|
2454
|
+
text5`,
|
|
2455
|
+
rows: 5
|
|
2456
|
+
}
|
|
2457
|
+
)
|
|
2458
|
+
] })
|
|
2459
|
+
]
|
|
2460
|
+
}
|
|
2461
|
+
)
|
|
2462
|
+
] })
|
|
2463
|
+
] }) });
|
|
2464
|
+
},
|
|
2465
|
+
Time: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2466
|
+
/* @__PURE__ */ jsx(
|
|
2467
|
+
Text.Paragraph,
|
|
2468
|
+
{
|
|
2469
|
+
padding: 1,
|
|
2470
|
+
borderBottom: true,
|
|
2471
|
+
children: "Time Input"
|
|
2472
|
+
}
|
|
2473
|
+
),
|
|
2474
|
+
/* @__PURE__ */ jsx(
|
|
2475
|
+
Box,
|
|
2476
|
+
{
|
|
2477
|
+
padding: 1,
|
|
2478
|
+
children: /* @__PURE__ */ jsxs(
|
|
2479
|
+
Flex,
|
|
2480
|
+
{
|
|
2481
|
+
gap: 2,
|
|
2482
|
+
flexChilds: "auto",
|
|
2483
|
+
children: [
|
|
2484
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2485
|
+
"Input.Time.Clock",
|
|
2486
|
+
/* @__PURE__ */ jsx(
|
|
2487
|
+
Input.Time.Clock,
|
|
2488
|
+
{}
|
|
2489
|
+
)
|
|
2490
|
+
] }),
|
|
2491
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2492
|
+
"Input.Time.Date",
|
|
2493
|
+
/* @__PURE__ */ jsx(
|
|
2494
|
+
Input.Time.Date,
|
|
2495
|
+
{}
|
|
2496
|
+
)
|
|
2497
|
+
] }),
|
|
2498
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2499
|
+
"Input.Time.Week",
|
|
2500
|
+
/* @__PURE__ */ jsx(
|
|
2501
|
+
Input.Time.Week,
|
|
2502
|
+
{}
|
|
2503
|
+
)
|
|
2504
|
+
] }),
|
|
2505
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2506
|
+
"Input.Time.Month",
|
|
2507
|
+
/* @__PURE__ */ jsx(
|
|
2508
|
+
Input.Time.Month,
|
|
2509
|
+
{}
|
|
2510
|
+
)
|
|
2511
|
+
] }),
|
|
2512
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2513
|
+
"Input.Time.Year",
|
|
2514
|
+
/* @__PURE__ */ jsx(
|
|
2515
|
+
Input.Time.Year,
|
|
2516
|
+
{}
|
|
2517
|
+
)
|
|
2518
|
+
] }),
|
|
2519
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2520
|
+
"Input.Time.Periods.Date",
|
|
2521
|
+
/* @__PURE__ */ jsx(
|
|
2522
|
+
Input.Time.Periods.Date,
|
|
2523
|
+
{}
|
|
2524
|
+
)
|
|
2525
|
+
] }),
|
|
2526
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2527
|
+
"Input.Time.Periods.Month",
|
|
2528
|
+
/* @__PURE__ */ jsx(
|
|
2529
|
+
Input.Time.Periods.Month,
|
|
2530
|
+
{}
|
|
2531
|
+
)
|
|
2532
|
+
] }),
|
|
2533
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2534
|
+
"Input.Time.DateWareki",
|
|
2535
|
+
/* @__PURE__ */ jsx(
|
|
2536
|
+
Input.Time.DateWareki,
|
|
2537
|
+
{}
|
|
2538
|
+
)
|
|
2539
|
+
] }),
|
|
2540
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2541
|
+
"Input.Time.picker",
|
|
2542
|
+
/* @__PURE__ */ jsx(
|
|
2543
|
+
Input.Select,
|
|
2544
|
+
{
|
|
2545
|
+
id: "timePicker",
|
|
2546
|
+
options: [
|
|
2547
|
+
{ value: "clock", label: "clock" },
|
|
2548
|
+
{ value: "date", label: "date" },
|
|
2549
|
+
{ value: "week", label: "week" },
|
|
2550
|
+
{ value: "month", label: "month" },
|
|
2551
|
+
{ value: "year", label: "year" },
|
|
2552
|
+
{ value: "dates", label: "dates" },
|
|
2553
|
+
{ value: "months", label: "months" },
|
|
2554
|
+
{ value: "dateWareki", label: "dateWareki" }
|
|
2555
|
+
],
|
|
2556
|
+
onUpdateValidValue: ({ value }) => {
|
|
2557
|
+
Input.Time.fn.picker.launch({
|
|
2558
|
+
parent: "#timePicker",
|
|
2559
|
+
restrict: value,
|
|
2560
|
+
defaultValue: "",
|
|
2561
|
+
onValueUpdate: (value2) => {
|
|
2562
|
+
console.log(value2);
|
|
2563
|
+
}
|
|
2564
|
+
});
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
)
|
|
2568
|
+
] })
|
|
2569
|
+
]
|
|
2570
|
+
}
|
|
2571
|
+
)
|
|
2572
|
+
}
|
|
2573
|
+
)
|
|
2574
|
+
] }) }),
|
|
2575
|
+
List: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2576
|
+
/* @__PURE__ */ jsx(
|
|
2577
|
+
Text.Paragraph,
|
|
2578
|
+
{
|
|
2579
|
+
padding: 1,
|
|
2580
|
+
borderBottom: true,
|
|
2581
|
+
children: "Radio & Checkbox Input"
|
|
2582
|
+
}
|
|
2583
|
+
),
|
|
2584
|
+
/* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsxs(Column, { children: [
|
|
2585
|
+
/* @__PURE__ */ jsxs(
|
|
2586
|
+
Flex,
|
|
2587
|
+
{
|
|
2588
|
+
gap: 2,
|
|
2589
|
+
flexChilds: "auto",
|
|
2590
|
+
children: [
|
|
2591
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2592
|
+
"Input.Radio",
|
|
2593
|
+
/* @__PURE__ */ jsx(
|
|
2594
|
+
Input.Radio,
|
|
2595
|
+
{
|
|
2596
|
+
value: [1],
|
|
2597
|
+
options: [
|
|
2598
|
+
{ value: 1, label: "option1" },
|
|
2599
|
+
{ value: 2, label: "option2" },
|
|
2600
|
+
{ value: 3, label: "option3" }
|
|
2601
|
+
]
|
|
2602
|
+
}
|
|
2603
|
+
)
|
|
2604
|
+
] }),
|
|
2605
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2606
|
+
"Input.Checkbox",
|
|
2607
|
+
/* @__PURE__ */ jsx(
|
|
2608
|
+
Input.Checkbox,
|
|
2609
|
+
{
|
|
2610
|
+
value: [2, "3"],
|
|
2611
|
+
options: [
|
|
2612
|
+
{ value: "1", label: "option1" },
|
|
2613
|
+
{ value: "2", label: "option2" },
|
|
2614
|
+
{ value: "3", label: "option3" }
|
|
2615
|
+
]
|
|
2616
|
+
}
|
|
2617
|
+
)
|
|
2618
|
+
] })
|
|
2619
|
+
]
|
|
2620
|
+
}
|
|
2621
|
+
),
|
|
2622
|
+
/* @__PURE__ */ jsxs(Column, { children: [
|
|
2623
|
+
/* @__PURE__ */ jsx(Text.Paragraph, { children: "Tones" }),
|
|
2624
|
+
/* @__PURE__ */ jsxs(
|
|
2625
|
+
Flex,
|
|
2626
|
+
{
|
|
2627
|
+
gap: 2,
|
|
2628
|
+
flexChilds: "auto",
|
|
2629
|
+
children: [
|
|
2630
|
+
/* @__PURE__ */ jsx(
|
|
2631
|
+
Input.Radio,
|
|
2632
|
+
{
|
|
2633
|
+
tone: "plain",
|
|
2634
|
+
value: [1],
|
|
2635
|
+
gap: 1,
|
|
2636
|
+
options: [
|
|
2637
|
+
{ value: 1, label: "Option1" },
|
|
2638
|
+
{ value: 2, label: "Option2" },
|
|
2639
|
+
{ value: 3, label: "Option3" }
|
|
2640
|
+
]
|
|
2641
|
+
}
|
|
2642
|
+
),
|
|
2643
|
+
/* @__PURE__ */ jsx(
|
|
2644
|
+
Input.Radio,
|
|
2645
|
+
{
|
|
2646
|
+
tone: "normal",
|
|
2647
|
+
value: [1],
|
|
2648
|
+
options: [
|
|
2649
|
+
{ value: 1, label: "Option1" },
|
|
2650
|
+
{ value: 2, label: "Option2" },
|
|
2651
|
+
{ value: 3, label: "Option3" }
|
|
2652
|
+
]
|
|
2653
|
+
}
|
|
2654
|
+
),
|
|
2655
|
+
/* @__PURE__ */ jsx(
|
|
2656
|
+
Input.Radio,
|
|
2657
|
+
{
|
|
2658
|
+
tone: "cloud",
|
|
2659
|
+
value: [1],
|
|
2660
|
+
options: [
|
|
2661
|
+
{ value: 1, label: "Option1" },
|
|
2662
|
+
{ value: 2, label: "Option2" },
|
|
2663
|
+
{ value: 3, label: "Option3" }
|
|
2664
|
+
]
|
|
2665
|
+
}
|
|
2666
|
+
),
|
|
2667
|
+
/* @__PURE__ */ jsx(
|
|
2668
|
+
Input.Radio,
|
|
2669
|
+
{
|
|
2670
|
+
tone: "border",
|
|
2671
|
+
value: [1],
|
|
2672
|
+
options: [
|
|
2673
|
+
{ value: 1, label: "Option1" },
|
|
2674
|
+
{ value: 2, label: "Option2" },
|
|
2675
|
+
{ value: 3, label: "Option3" }
|
|
2676
|
+
]
|
|
2677
|
+
}
|
|
2678
|
+
),
|
|
2679
|
+
/* @__PURE__ */ jsx(
|
|
2680
|
+
Input.Radio,
|
|
2681
|
+
{
|
|
2682
|
+
tone: "vivid",
|
|
2683
|
+
value: [1],
|
|
2684
|
+
options: [
|
|
2685
|
+
{ value: 1, label: "Option1" },
|
|
2686
|
+
{ value: 2, label: "Option2" },
|
|
2687
|
+
{ value: 3, label: "Option3" }
|
|
2688
|
+
]
|
|
2689
|
+
}
|
|
2690
|
+
)
|
|
2691
|
+
]
|
|
2692
|
+
}
|
|
2693
|
+
)
|
|
2694
|
+
] })
|
|
2695
|
+
] }) })
|
|
2696
|
+
] }) }),
|
|
2697
|
+
Select: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2698
|
+
/* @__PURE__ */ jsx(
|
|
2699
|
+
Text.Paragraph,
|
|
2700
|
+
{
|
|
2701
|
+
padding: 1,
|
|
2702
|
+
borderBottom: true,
|
|
2703
|
+
children: "Select,Search,Chips Input"
|
|
2704
|
+
}
|
|
2705
|
+
),
|
|
2706
|
+
/* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsxs(
|
|
2707
|
+
Flex,
|
|
2708
|
+
{
|
|
2709
|
+
gap: 2,
|
|
2710
|
+
flexChilds: "auto",
|
|
2711
|
+
children: [
|
|
2712
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2713
|
+
"Input.Select",
|
|
2714
|
+
/* @__PURE__ */ jsx(
|
|
2715
|
+
Input.Select,
|
|
2716
|
+
{
|
|
2717
|
+
required: true,
|
|
2718
|
+
value: 3,
|
|
2719
|
+
options: [
|
|
2720
|
+
{ value: 1, label: "option1" },
|
|
2721
|
+
{ value: 2, label: "option2" },
|
|
2722
|
+
{ value: 3, label: "option3a" },
|
|
2723
|
+
{ value: 4, label: "option4" }
|
|
2724
|
+
]
|
|
2725
|
+
}
|
|
2726
|
+
)
|
|
2727
|
+
] }),
|
|
2728
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2729
|
+
"Input.Search",
|
|
2730
|
+
/* @__PURE__ */ jsx(
|
|
2731
|
+
Input.Search,
|
|
2732
|
+
{
|
|
2733
|
+
required: true,
|
|
2734
|
+
defaultOptions: [
|
|
2735
|
+
{
|
|
2736
|
+
value: 1,
|
|
2737
|
+
label: "1"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
value: {
|
|
2741
|
+
value1: 2,
|
|
2742
|
+
value2: 3
|
|
2743
|
+
},
|
|
2744
|
+
label: "Object"
|
|
2745
|
+
},
|
|
2746
|
+
{ value: 3, label: "3" },
|
|
2747
|
+
{
|
|
2748
|
+
value: 101,
|
|
2749
|
+
label: "101"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
value: 102,
|
|
2753
|
+
label: "102"
|
|
2754
|
+
}
|
|
2755
|
+
],
|
|
2756
|
+
onDynamicSearch: (...args) => __async(void 0, null, function* () {
|
|
2757
|
+
let options = [];
|
|
2758
|
+
for (let i = 0; i < 100; i++) {
|
|
2759
|
+
options.push({
|
|
2760
|
+
value: i,
|
|
2761
|
+
label: String(i)
|
|
2762
|
+
});
|
|
2763
|
+
}
|
|
2764
|
+
return { options };
|
|
2765
|
+
})
|
|
2766
|
+
}
|
|
2767
|
+
)
|
|
2768
|
+
] }),
|
|
2769
|
+
/* @__PURE__ */ jsxs(
|
|
2770
|
+
Box,
|
|
2771
|
+
{
|
|
2772
|
+
flexNewLine: true,
|
|
2773
|
+
children: [
|
|
2774
|
+
"Input.Chips",
|
|
2775
|
+
/* @__PURE__ */ jsx(
|
|
2776
|
+
Input.Chips,
|
|
2777
|
+
{
|
|
2778
|
+
limit: 5,
|
|
2779
|
+
value: [
|
|
2780
|
+
{ value: "option3", label: "option3" }
|
|
2781
|
+
],
|
|
2782
|
+
onUpdateValidValue: ({ value }) => {
|
|
2783
|
+
console.log(value);
|
|
2784
|
+
},
|
|
2785
|
+
defaultOptions: [
|
|
2786
|
+
{ value: 1, label: "option1" },
|
|
2787
|
+
{ value: 2, label: "option2" },
|
|
2788
|
+
{ value: 3, label: "option3" },
|
|
2789
|
+
{ value: 4, label: "option4" }
|
|
2790
|
+
]
|
|
2791
|
+
}
|
|
2792
|
+
)
|
|
2793
|
+
]
|
|
2794
|
+
}
|
|
2795
|
+
)
|
|
2796
|
+
]
|
|
2797
|
+
}
|
|
2798
|
+
) }) })
|
|
2799
|
+
] }) }),
|
|
2800
|
+
Variables: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2801
|
+
/* @__PURE__ */ jsx(
|
|
2802
|
+
Text.Paragraph,
|
|
2803
|
+
{
|
|
2804
|
+
padding: 1,
|
|
2805
|
+
borderBottom: true,
|
|
2806
|
+
children: "Variables"
|
|
2807
|
+
}
|
|
2808
|
+
),
|
|
2809
|
+
/* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsxs(
|
|
2810
|
+
Flex,
|
|
2811
|
+
{
|
|
2812
|
+
gap: 2,
|
|
2813
|
+
flexChilds: "auto",
|
|
2814
|
+
children: [
|
|
2815
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2816
|
+
"Input.File",
|
|
2817
|
+
/* @__PURE__ */ jsx(
|
|
2818
|
+
Input.Filer,
|
|
2819
|
+
{
|
|
2820
|
+
limit: 3
|
|
2821
|
+
}
|
|
2822
|
+
)
|
|
2823
|
+
] }),
|
|
2824
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2825
|
+
"Input.Switch",
|
|
2826
|
+
/* @__PURE__ */ jsxs(
|
|
2827
|
+
Flex,
|
|
2828
|
+
{
|
|
2829
|
+
gap: 2,
|
|
2830
|
+
children: [
|
|
2831
|
+
/* @__PURE__ */ jsx(
|
|
2832
|
+
Input.Switch,
|
|
2833
|
+
{}
|
|
2834
|
+
),
|
|
2835
|
+
/* @__PURE__ */ jsx(
|
|
2836
|
+
Input.Switch,
|
|
2837
|
+
{
|
|
2838
|
+
appearance: "applely",
|
|
2839
|
+
color: "icicles",
|
|
2840
|
+
value: true
|
|
2841
|
+
}
|
|
2842
|
+
),
|
|
2843
|
+
/* @__PURE__ */ jsx(
|
|
2844
|
+
Input.Switch,
|
|
2845
|
+
{
|
|
2846
|
+
appearance: "applely",
|
|
2847
|
+
icon: /* @__PURE__ */ jsx(FAI.Check, {}),
|
|
2848
|
+
color: "warn",
|
|
2849
|
+
value: true
|
|
2850
|
+
}
|
|
2851
|
+
)
|
|
2852
|
+
]
|
|
2853
|
+
}
|
|
2854
|
+
)
|
|
2855
|
+
] }),
|
|
2856
|
+
/* @__PURE__ */ jsxs(
|
|
2857
|
+
Box,
|
|
2858
|
+
{
|
|
2859
|
+
flexNewLine: true,
|
|
2860
|
+
children: [
|
|
2861
|
+
"Input.Slider",
|
|
2862
|
+
/* @__PURE__ */ jsx(
|
|
2863
|
+
Input.Slider,
|
|
2864
|
+
{
|
|
2865
|
+
color: "battery",
|
|
2866
|
+
name: "sliderInput",
|
|
2867
|
+
value: 40,
|
|
2868
|
+
step: 10,
|
|
2869
|
+
min: 0,
|
|
2870
|
+
max: 100
|
|
2871
|
+
}
|
|
2872
|
+
)
|
|
2873
|
+
]
|
|
2874
|
+
}
|
|
2875
|
+
)
|
|
2876
|
+
]
|
|
2877
|
+
}
|
|
2878
|
+
) }) })
|
|
2879
|
+
] }) })
|
|
2880
|
+
};
|
|
2881
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
|
|
2882
|
+
Layout.Plate,
|
|
2883
|
+
{
|
|
2884
|
+
size: "L",
|
|
2885
|
+
children: /* @__PURE__ */ jsxs(
|
|
2886
|
+
Grid,
|
|
2887
|
+
{
|
|
2888
|
+
gap: 2,
|
|
2889
|
+
gridCols: 2,
|
|
2890
|
+
children: [
|
|
2891
|
+
/* @__PURE__ */ jsx(InputComps.Basic, {}),
|
|
2892
|
+
/* @__PURE__ */ jsx(InputComps.Select, {}),
|
|
2893
|
+
/* @__PURE__ */ jsx(InputComps.Time, {}),
|
|
2894
|
+
/* @__PURE__ */ jsx(InputComps.List, {}),
|
|
2895
|
+
/* @__PURE__ */ jsx(InputComps.Variables, {})
|
|
2896
|
+
]
|
|
2897
|
+
}
|
|
2898
|
+
)
|
|
2899
|
+
}
|
|
2900
|
+
) });
|
|
2901
|
+
};
|
|
2902
|
+
const Styling = () => {
|
|
2903
|
+
const SheetContent = (type) => {
|
|
2904
|
+
let sheetID = "testModal2";
|
|
2905
|
+
Sheet.open({
|
|
2906
|
+
type,
|
|
2907
|
+
sheetID,
|
|
2908
|
+
size: "S",
|
|
2909
|
+
padding: 2,
|
|
2910
|
+
content: /* @__PURE__ */ jsxs(
|
|
2911
|
+
Sheet.Comps.Body,
|
|
2912
|
+
{
|
|
2913
|
+
padding: 1,
|
|
2914
|
+
children: [
|
|
2915
|
+
/* @__PURE__ */ jsx(
|
|
2916
|
+
Box,
|
|
2917
|
+
{
|
|
2918
|
+
padding: 2,
|
|
2919
|
+
minHeight: "viewHeight",
|
|
2920
|
+
children: "Content"
|
|
2921
|
+
}
|
|
2922
|
+
),
|
|
2923
|
+
/* @__PURE__ */ jsx(Row.Right, { children: /* @__PURE__ */ jsx(
|
|
2924
|
+
Button.Button.Prime.R,
|
|
2925
|
+
{
|
|
2926
|
+
onClick: () => {
|
|
2927
|
+
Sheet.close(sheetID);
|
|
2928
|
+
},
|
|
2929
|
+
children: "\u9589\u3058\u308B"
|
|
2930
|
+
}
|
|
2931
|
+
) })
|
|
2932
|
+
]
|
|
2933
|
+
}
|
|
2934
|
+
)
|
|
2935
|
+
});
|
|
2936
|
+
};
|
|
2937
|
+
useEffect(() => {
|
|
2938
|
+
SheetContent("normal.middleCenter");
|
|
2939
|
+
}, []);
|
|
2940
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2941
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2942
|
+
/* @__PURE__ */ jsx(
|
|
2943
|
+
Text.SubTitle,
|
|
2944
|
+
{
|
|
2945
|
+
padding: 1,
|
|
2946
|
+
borderBottom: true,
|
|
2947
|
+
children: "CardBox"
|
|
2948
|
+
}
|
|
2949
|
+
),
|
|
2950
|
+
/* @__PURE__ */ jsx(
|
|
2951
|
+
Box,
|
|
2952
|
+
{
|
|
2953
|
+
padding: 1,
|
|
2954
|
+
overflow: "auto",
|
|
2955
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box ssCardBox>
|
|
77
2956
|
<Box>
|
|
78
2957
|
Header
|
|
79
2958
|
</Box>
|
|
@@ -84,16 +2963,756 @@ Some Text`})]}),t(B.Separate,{children:[e(r.Button.Sub.S,{color:"white",onClick:
|
|
|
84
2963
|
<Box>
|
|
85
2964
|
Footer
|
|
86
2965
|
</Box>
|
|
87
|
-
</Box>`})
|
|
2966
|
+
</Box>` })
|
|
2967
|
+
}
|
|
2968
|
+
),
|
|
2969
|
+
/* @__PURE__ */ jsx(
|
|
2970
|
+
Box,
|
|
2971
|
+
{
|
|
2972
|
+
padding: 2,
|
|
2973
|
+
children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2974
|
+
/* @__PURE__ */ jsx(
|
|
2975
|
+
Text.SubTitle,
|
|
2976
|
+
{
|
|
2977
|
+
padding: 1,
|
|
2978
|
+
borderBottom: true,
|
|
2979
|
+
children: "Header"
|
|
2980
|
+
}
|
|
2981
|
+
),
|
|
2982
|
+
/* @__PURE__ */ jsx(
|
|
2983
|
+
Box,
|
|
2984
|
+
{
|
|
2985
|
+
padding: 1,
|
|
2986
|
+
overflow: "auto",
|
|
2987
|
+
children: "Body"
|
|
2988
|
+
}
|
|
2989
|
+
),
|
|
2990
|
+
/* @__PURE__ */ jsx(Box, { padding: 1, children: "Footer" })
|
|
2991
|
+
] })
|
|
2992
|
+
}
|
|
2993
|
+
)
|
|
2994
|
+
] }),
|
|
2995
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
2996
|
+
/* @__PURE__ */ jsx(
|
|
2997
|
+
Text.SubTitle,
|
|
2998
|
+
{
|
|
2999
|
+
padding: 1,
|
|
3000
|
+
borderBottom: true,
|
|
3001
|
+
children: "List"
|
|
3002
|
+
}
|
|
3003
|
+
),
|
|
3004
|
+
/* @__PURE__ */ jsx(
|
|
3005
|
+
Box,
|
|
3006
|
+
{
|
|
3007
|
+
padding: 1,
|
|
3008
|
+
overflow: "auto",
|
|
3009
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `<List
|
|
88
3010
|
options={ [
|
|
89
3011
|
{
|
|
90
3012
|
title?: LeftSideReactComponent,
|
|
91
3013
|
content: RightSideReactComponent
|
|
92
3014
|
}
|
|
93
3015
|
] }
|
|
94
|
-
/>`})
|
|
3016
|
+
/>` })
|
|
3017
|
+
}
|
|
3018
|
+
),
|
|
3019
|
+
/* @__PURE__ */ jsx(
|
|
3020
|
+
Box,
|
|
3021
|
+
{
|
|
3022
|
+
padding: 2,
|
|
3023
|
+
overflow: "auto",
|
|
3024
|
+
children: /* @__PURE__ */ jsx(
|
|
3025
|
+
List,
|
|
3026
|
+
{
|
|
3027
|
+
border: true,
|
|
3028
|
+
rowStyles: {
|
|
3029
|
+
padding: 1,
|
|
3030
|
+
borderBottom: true
|
|
3031
|
+
},
|
|
3032
|
+
rows: [
|
|
3033
|
+
{
|
|
3034
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3035
|
+
/* @__PURE__ */ jsx(Box, { children: "Title1" }),
|
|
3036
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content1" }) })
|
|
3037
|
+
] }),
|
|
3038
|
+
horizontalAlign: "between"
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3042
|
+
/* @__PURE__ */ jsx(
|
|
3043
|
+
Box,
|
|
3044
|
+
{
|
|
3045
|
+
flexGrid: 1,
|
|
3046
|
+
children: "Title2"
|
|
3047
|
+
}
|
|
3048
|
+
),
|
|
3049
|
+
/* @__PURE__ */ jsx(
|
|
3050
|
+
Box,
|
|
3051
|
+
{
|
|
3052
|
+
flexGrid: 2,
|
|
3053
|
+
children: /* @__PURE__ */ jsx(Box, { children: "Content2" })
|
|
3054
|
+
}
|
|
3055
|
+
)
|
|
3056
|
+
] })
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3060
|
+
/* @__PURE__ */ jsx(Box, { children: "Title3" }),
|
|
3061
|
+
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content3" }) })
|
|
3062
|
+
] }),
|
|
3063
|
+
flexType: "col"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content4" }) }) }),
|
|
3067
|
+
borderBottom: "unset"
|
|
3068
|
+
}
|
|
3069
|
+
]
|
|
3070
|
+
}
|
|
3071
|
+
)
|
|
3072
|
+
}
|
|
3073
|
+
)
|
|
3074
|
+
] }),
|
|
3075
|
+
/* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
|
|
3076
|
+
/* @__PURE__ */ jsx(
|
|
3077
|
+
Text.SubTitle,
|
|
3078
|
+
{
|
|
3079
|
+
padding: 1,
|
|
3080
|
+
borderBottom: true,
|
|
3081
|
+
children: "Sheet"
|
|
3082
|
+
}
|
|
3083
|
+
),
|
|
3084
|
+
/* @__PURE__ */ jsx(
|
|
3085
|
+
Box,
|
|
3086
|
+
{
|
|
3087
|
+
padding: 1,
|
|
3088
|
+
overflow: "auto",
|
|
3089
|
+
children: /* @__PURE__ */ jsx(Text.Description, { children: `Sheet.open( {
|
|
95
3090
|
sheetID: 'sheetID',
|
|
96
3091
|
header: ReactElement | React.FC< { modalClose } >,
|
|
97
3092
|
body: ReactElement | React.FC< { modalClose } >,
|
|
98
3093
|
footer: ReactElement | React.FC< { modalClose } >
|
|
99
|
-
} );`
|
|
3094
|
+
} );` })
|
|
3095
|
+
}
|
|
3096
|
+
),
|
|
3097
|
+
/* @__PURE__ */ jsxs(
|
|
3098
|
+
Column,
|
|
3099
|
+
{
|
|
3100
|
+
padding: 2,
|
|
3101
|
+
children: [
|
|
3102
|
+
/* @__PURE__ */ jsx(
|
|
3103
|
+
Box,
|
|
3104
|
+
{
|
|
3105
|
+
flexCenter: true,
|
|
3106
|
+
children: /* @__PURE__ */ jsxs(
|
|
3107
|
+
Grid,
|
|
3108
|
+
{
|
|
3109
|
+
gridCols: 3,
|
|
3110
|
+
gap: 1,
|
|
3111
|
+
children: [
|
|
3112
|
+
/* @__PURE__ */ jsx(
|
|
3113
|
+
Button.Button.Border.R,
|
|
3114
|
+
{
|
|
3115
|
+
onClick: () => {
|
|
3116
|
+
SheetContent("normal.topLeft");
|
|
3117
|
+
},
|
|
3118
|
+
children: "Top Left"
|
|
3119
|
+
}
|
|
3120
|
+
),
|
|
3121
|
+
/* @__PURE__ */ jsx(
|
|
3122
|
+
Button.Button.Border.R,
|
|
3123
|
+
{
|
|
3124
|
+
onClick: () => {
|
|
3125
|
+
SheetContent("normal.topCenter");
|
|
3126
|
+
},
|
|
3127
|
+
children: "Top Center"
|
|
3128
|
+
}
|
|
3129
|
+
),
|
|
3130
|
+
/* @__PURE__ */ jsx(
|
|
3131
|
+
Button.Button.Border.R,
|
|
3132
|
+
{
|
|
3133
|
+
onClick: () => {
|
|
3134
|
+
SheetContent("normal.topRight");
|
|
3135
|
+
},
|
|
3136
|
+
children: "Top Right"
|
|
3137
|
+
}
|
|
3138
|
+
),
|
|
3139
|
+
/* @__PURE__ */ jsx(
|
|
3140
|
+
Button.Button.Border.R,
|
|
3141
|
+
{
|
|
3142
|
+
onClick: () => {
|
|
3143
|
+
SheetContent("normal.middleLeft");
|
|
3144
|
+
},
|
|
3145
|
+
children: "Middle Left"
|
|
3146
|
+
}
|
|
3147
|
+
),
|
|
3148
|
+
/* @__PURE__ */ jsx(
|
|
3149
|
+
Button.Button.Border.R,
|
|
3150
|
+
{
|
|
3151
|
+
onClick: () => {
|
|
3152
|
+
SheetContent("normal.middleCenter");
|
|
3153
|
+
},
|
|
3154
|
+
children: "Middle Center"
|
|
3155
|
+
}
|
|
3156
|
+
),
|
|
3157
|
+
/* @__PURE__ */ jsx(
|
|
3158
|
+
Button.Button.Border.R,
|
|
3159
|
+
{
|
|
3160
|
+
onClick: () => {
|
|
3161
|
+
SheetContent("normal.middleRight");
|
|
3162
|
+
},
|
|
3163
|
+
children: "Middle Right"
|
|
3164
|
+
}
|
|
3165
|
+
),
|
|
3166
|
+
/* @__PURE__ */ jsx(
|
|
3167
|
+
Button.Button.Border.R,
|
|
3168
|
+
{
|
|
3169
|
+
onClick: () => {
|
|
3170
|
+
SheetContent("normal.bottomLeft");
|
|
3171
|
+
},
|
|
3172
|
+
children: "Bottom Left"
|
|
3173
|
+
}
|
|
3174
|
+
),
|
|
3175
|
+
/* @__PURE__ */ jsx(
|
|
3176
|
+
Button.Button.Border.R,
|
|
3177
|
+
{
|
|
3178
|
+
onClick: () => {
|
|
3179
|
+
SheetContent("normal.bottomCenter");
|
|
3180
|
+
},
|
|
3181
|
+
children: "Bottom Center"
|
|
3182
|
+
}
|
|
3183
|
+
),
|
|
3184
|
+
/* @__PURE__ */ jsx(
|
|
3185
|
+
Button.Button.Border.R,
|
|
3186
|
+
{
|
|
3187
|
+
onClick: () => {
|
|
3188
|
+
SheetContent("normal.bottomRight");
|
|
3189
|
+
},
|
|
3190
|
+
children: "Bottom Right"
|
|
3191
|
+
}
|
|
3192
|
+
),
|
|
3193
|
+
/* @__PURE__ */ jsx(
|
|
3194
|
+
Button.Button.Border.R,
|
|
3195
|
+
{
|
|
3196
|
+
onClick: () => {
|
|
3197
|
+
SheetContent("drawer.left");
|
|
3198
|
+
},
|
|
3199
|
+
children: "Drawer Left"
|
|
3200
|
+
}
|
|
3201
|
+
),
|
|
3202
|
+
/* @__PURE__ */ jsx(
|
|
3203
|
+
Button.Button.Border.R,
|
|
3204
|
+
{
|
|
3205
|
+
onClick: () => {
|
|
3206
|
+
SheetContent("drawer.bottom");
|
|
3207
|
+
},
|
|
3208
|
+
children: "Drawer Bottom"
|
|
3209
|
+
}
|
|
3210
|
+
),
|
|
3211
|
+
/* @__PURE__ */ jsx(
|
|
3212
|
+
Button.Button.Border.R,
|
|
3213
|
+
{
|
|
3214
|
+
onClick: () => {
|
|
3215
|
+
SheetContent("drawer.right");
|
|
3216
|
+
},
|
|
3217
|
+
children: "Drawer Right"
|
|
3218
|
+
}
|
|
3219
|
+
),
|
|
3220
|
+
/* @__PURE__ */ jsx(
|
|
3221
|
+
Button.Button.Border.R,
|
|
3222
|
+
{
|
|
3223
|
+
onClick: (event) => {
|
|
3224
|
+
Tooltips.open({
|
|
3225
|
+
tipsID: "test40",
|
|
3226
|
+
content: /* @__PURE__ */ jsx(
|
|
3227
|
+
Box,
|
|
3228
|
+
{
|
|
3229
|
+
padding: 1,
|
|
3230
|
+
border: true,
|
|
3231
|
+
borderRadius: 2,
|
|
3232
|
+
backgroundColor: "dark",
|
|
3233
|
+
fontColor: "white",
|
|
3234
|
+
children: "Content"
|
|
3235
|
+
}
|
|
3236
|
+
),
|
|
3237
|
+
parent: event.target
|
|
3238
|
+
});
|
|
3239
|
+
},
|
|
3240
|
+
children: "Open Tooltips"
|
|
3241
|
+
}
|
|
3242
|
+
)
|
|
3243
|
+
]
|
|
3244
|
+
}
|
|
3245
|
+
)
|
|
3246
|
+
}
|
|
3247
|
+
),
|
|
3248
|
+
/* @__PURE__ */ jsxs(Row.Center, { children: [
|
|
3249
|
+
"Image Picker",
|
|
3250
|
+
/* @__PURE__ */ jsx(
|
|
3251
|
+
Img,
|
|
3252
|
+
{
|
|
3253
|
+
src: Logo.Images.defaultIcon("user"),
|
|
3254
|
+
unitWidth: 6,
|
|
3255
|
+
unitHeight: 6,
|
|
3256
|
+
showExpand: true
|
|
3257
|
+
}
|
|
3258
|
+
)
|
|
3259
|
+
] })
|
|
3260
|
+
]
|
|
3261
|
+
}
|
|
3262
|
+
)
|
|
3263
|
+
] })
|
|
3264
|
+
] });
|
|
3265
|
+
};
|
|
3266
|
+
const Tables = {
|
|
3267
|
+
_: () => {
|
|
3268
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Column, { children: [
|
|
3269
|
+
/* @__PURE__ */ jsx(Tables.Data, {}),
|
|
3270
|
+
/* @__PURE__ */ jsx(Tables.Normal, {}),
|
|
3271
|
+
/* @__PURE__ */ jsx(Tables.Drag, {}),
|
|
3272
|
+
/* @__PURE__ */ jsx(Tables.Spread, {})
|
|
3273
|
+
] }) });
|
|
3274
|
+
},
|
|
3275
|
+
Normal: () => {
|
|
3276
|
+
let PureData = [];
|
|
3277
|
+
for (var i = 0; i < 10; i++) {
|
|
3278
|
+
let Row2 = [
|
|
3279
|
+
{ children: "head_" + i },
|
|
3280
|
+
{ children: "data_" + i },
|
|
3281
|
+
{ children: "data_" + i }
|
|
3282
|
+
];
|
|
3283
|
+
PureData.push(Row2);
|
|
3284
|
+
}
|
|
3285
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3286
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Normal" }),
|
|
3287
|
+
/* @__PURE__ */ jsx(
|
|
3288
|
+
Table.Normal,
|
|
3289
|
+
{
|
|
3290
|
+
colLength: 3,
|
|
3291
|
+
head: [
|
|
3292
|
+
{ children: "head1" },
|
|
3293
|
+
{ children: "head2" },
|
|
3294
|
+
{ children: "head3" }
|
|
3295
|
+
],
|
|
3296
|
+
rows: PureData,
|
|
3297
|
+
ssCardBox: true,
|
|
3298
|
+
onRowClick: (rowID) => {
|
|
3299
|
+
console.log(rowID);
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
)
|
|
3303
|
+
] });
|
|
3304
|
+
},
|
|
3305
|
+
Drag: () => {
|
|
3306
|
+
let DragData = [];
|
|
3307
|
+
for (var i = 0; i < 4; i++) {
|
|
3308
|
+
let Row2 = [
|
|
3309
|
+
{ children: "head_" + i },
|
|
3310
|
+
{ children: "data_" + i },
|
|
3311
|
+
{ children: "data_" + i }
|
|
3312
|
+
];
|
|
3313
|
+
Row2.rowID = "rowID-" + i;
|
|
3314
|
+
DragData.push(Row2);
|
|
3315
|
+
}
|
|
3316
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3317
|
+
/* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Drag" }),
|
|
3318
|
+
/* @__PURE__ */ jsx(
|
|
3319
|
+
Table.Drag,
|
|
3320
|
+
{
|
|
3321
|
+
colLength: 3,
|
|
3322
|
+
head: [
|
|
3323
|
+
{ children: "head1" },
|
|
3324
|
+
{ children: "head2" },
|
|
3325
|
+
{ children: "head3" }
|
|
3326
|
+
],
|
|
3327
|
+
rows: DragData,
|
|
3328
|
+
ssCardBox: true,
|
|
3329
|
+
onOrderChanged: (args) => {
|
|
3330
|
+
console.log(args);
|
|
3331
|
+
}
|
|
3332
|
+
}
|
|
3333
|
+
)
|
|
3334
|
+
] });
|
|
3335
|
+
},
|
|
3336
|
+
Data: () => {
|
|
3337
|
+
let DataData = [];
|
|
3338
|
+
for (var i = 0; i < 100; i++) {
|
|
3339
|
+
let random1 = Math.round(Math.random() * 50 + 1);
|
|
3340
|
+
let random2 = Math.round(Math.random() * 50 + 1);
|
|
3341
|
+
let random3 = Math.round(Math.random() * 50 + 1);
|
|
3342
|
+
let Data1 = "name_" + random1;
|
|
3343
|
+
let Data2 = "data_" + random2;
|
|
3344
|
+
let Data3 = "data_" + random3;
|
|
3345
|
+
let Row2 = [
|
|
3346
|
+
{
|
|
3347
|
+
type: "th",
|
|
3348
|
+
children: i + ":" + Data1,
|
|
3349
|
+
data: Data1,
|
|
3350
|
+
orderIndex: i
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
type: "td",
|
|
3354
|
+
children: Data2,
|
|
3355
|
+
data: Data2
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
type: "td",
|
|
3359
|
+
children: Data3,
|
|
3360
|
+
data: Data3
|
|
3361
|
+
}
|
|
3362
|
+
];
|
|
3363
|
+
DataData.push(Row2);
|
|
3364
|
+
}
|
|
3365
|
+
DataData[1].checked = true;
|
|
3366
|
+
DataData[4].checked = true;
|
|
3367
|
+
DataData[10].checked = true;
|
|
3368
|
+
let tableID = "testDataTable";
|
|
3369
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3370
|
+
/* @__PURE__ */ jsxs(
|
|
3371
|
+
Flex,
|
|
3372
|
+
{
|
|
3373
|
+
horizontalAlign: "between",
|
|
3374
|
+
children: [
|
|
3375
|
+
/* @__PURE__ */ jsx(
|
|
3376
|
+
Box,
|
|
3377
|
+
{
|
|
3378
|
+
fontSize: "5.subTitle",
|
|
3379
|
+
children: "Table.Data"
|
|
3380
|
+
}
|
|
3381
|
+
),
|
|
3382
|
+
/* @__PURE__ */ jsxs(
|
|
3383
|
+
Flex,
|
|
3384
|
+
{
|
|
3385
|
+
gap: "1/2",
|
|
3386
|
+
backgroundColor: "theme",
|
|
3387
|
+
borderRadius: "1.tone.primary",
|
|
3388
|
+
overflow: "hidden",
|
|
3389
|
+
fontColor: "white",
|
|
3390
|
+
children: [
|
|
3391
|
+
/* @__PURE__ */ jsx(
|
|
3392
|
+
Button.Button.Clear.R,
|
|
3393
|
+
{
|
|
3394
|
+
color: "white",
|
|
3395
|
+
children: "SubmitButton"
|
|
3396
|
+
}
|
|
3397
|
+
),
|
|
3398
|
+
/* @__PURE__ */ jsx(
|
|
3399
|
+
Box,
|
|
3400
|
+
{
|
|
3401
|
+
flexSizing: "none",
|
|
3402
|
+
unitWidth: "1/4",
|
|
3403
|
+
backgroundColor: "lcOpMiddle",
|
|
3404
|
+
isRounded: true,
|
|
3405
|
+
margin: ["2/3", 0]
|
|
3406
|
+
}
|
|
3407
|
+
),
|
|
3408
|
+
/* @__PURE__ */ jsx(
|
|
3409
|
+
Button.Button.Clear.R,
|
|
3410
|
+
{
|
|
3411
|
+
padding: [0, 1],
|
|
3412
|
+
color: "white",
|
|
3413
|
+
onClick: (event) => {
|
|
3414
|
+
Tooltips.open({
|
|
3415
|
+
tipsID: $$.uuid.gen(),
|
|
3416
|
+
parent: event.target,
|
|
3417
|
+
gravityPoint: 24,
|
|
3418
|
+
close_option: {
|
|
3419
|
+
aroundClick: true,
|
|
3420
|
+
parentBlur: false
|
|
3421
|
+
},
|
|
3422
|
+
content: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
|
|
3423
|
+
Column,
|
|
3424
|
+
{
|
|
3425
|
+
gap: 0,
|
|
3426
|
+
padding: ["2/3", 0],
|
|
3427
|
+
backgroundColor: "1.layer.base",
|
|
3428
|
+
borderRadius: 2,
|
|
3429
|
+
boxShadow: "0.normal",
|
|
3430
|
+
overflow: "hidden",
|
|
3431
|
+
children: [
|
|
3432
|
+
/* @__PURE__ */ jsx(
|
|
3433
|
+
Button.Button.Clear.S,
|
|
3434
|
+
{
|
|
3435
|
+
borderRadius: 0,
|
|
3436
|
+
borderBottom: "1.thin",
|
|
3437
|
+
children: "\u3059\u3079\u3066\u3092\u51FA\u529B"
|
|
3438
|
+
}
|
|
3439
|
+
),
|
|
3440
|
+
/* @__PURE__ */ jsx(
|
|
3441
|
+
Button.Button.Clear.S,
|
|
3442
|
+
{
|
|
3443
|
+
borderRadius: 0,
|
|
3444
|
+
borderBottom: "1.thin",
|
|
3445
|
+
children: "\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"
|
|
3446
|
+
}
|
|
3447
|
+
),
|
|
3448
|
+
/* @__PURE__ */ jsx(
|
|
3449
|
+
Button.Button.Clear.S,
|
|
3450
|
+
{
|
|
3451
|
+
borderRadius: 0,
|
|
3452
|
+
children: "\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"
|
|
3453
|
+
}
|
|
3454
|
+
)
|
|
3455
|
+
]
|
|
3456
|
+
}
|
|
3457
|
+
) })
|
|
3458
|
+
});
|
|
3459
|
+
},
|
|
3460
|
+
children: /* @__PURE__ */ jsx(FAI.EllipsisV, {})
|
|
3461
|
+
}
|
|
3462
|
+
)
|
|
3463
|
+
]
|
|
3464
|
+
}
|
|
3465
|
+
)
|
|
3466
|
+
]
|
|
3467
|
+
}
|
|
3468
|
+
),
|
|
3469
|
+
/* @__PURE__ */ jsxs(
|
|
3470
|
+
Row.Separate,
|
|
3471
|
+
{
|
|
3472
|
+
verticalAlign: "bottom",
|
|
3473
|
+
children: [
|
|
3474
|
+
/* @__PURE__ */ jsxs(
|
|
3475
|
+
Row.Left,
|
|
3476
|
+
{
|
|
3477
|
+
verticalAlign: "bottom",
|
|
3478
|
+
children: [
|
|
3479
|
+
/* @__PURE__ */ jsx(Table.Data.SearchInput, { tableID }),
|
|
3480
|
+
/* @__PURE__ */ jsx(Table.Data.Info, { tableID })
|
|
3481
|
+
]
|
|
3482
|
+
}
|
|
3483
|
+
),
|
|
3484
|
+
/* @__PURE__ */ jsxs(
|
|
3485
|
+
Row.Right,
|
|
3486
|
+
{
|
|
3487
|
+
verticalAlign: "unset",
|
|
3488
|
+
children: [
|
|
3489
|
+
/* @__PURE__ */ jsx(
|
|
3490
|
+
Table.Data.RowLength,
|
|
3491
|
+
{
|
|
3492
|
+
tableID,
|
|
3493
|
+
lengthSelect: [30, 50, 100]
|
|
3494
|
+
}
|
|
3495
|
+
),
|
|
3496
|
+
/* @__PURE__ */ jsx(Table.Data.Paging, { tableID })
|
|
3497
|
+
]
|
|
3498
|
+
}
|
|
3499
|
+
)
|
|
3500
|
+
]
|
|
3501
|
+
}
|
|
3502
|
+
),
|
|
3503
|
+
/* @__PURE__ */ jsx(
|
|
3504
|
+
Table.Data,
|
|
3505
|
+
{
|
|
3506
|
+
tableID,
|
|
3507
|
+
colLength: 3,
|
|
3508
|
+
head: [
|
|
3509
|
+
{ data: "head1" },
|
|
3510
|
+
{ data: "head2" },
|
|
3511
|
+
{ data: "head3" }
|
|
3512
|
+
],
|
|
3513
|
+
rows: DataData,
|
|
3514
|
+
pageRowLength: 30,
|
|
3515
|
+
ssCardBox: true,
|
|
3516
|
+
filter: [true],
|
|
3517
|
+
checker: true
|
|
3518
|
+
}
|
|
3519
|
+
)
|
|
3520
|
+
] });
|
|
3521
|
+
},
|
|
3522
|
+
Spread: () => {
|
|
3523
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Spread" }) });
|
|
3524
|
+
}
|
|
3525
|
+
};
|
|
3526
|
+
const Cropping = () => {
|
|
3527
|
+
let [val_ImageUrl1, set_ImageUrl1] = React.useState("");
|
|
3528
|
+
let [val_ImageUrl2, set_ImageUrl2] = React.useState("");
|
|
3529
|
+
let [val_ImageUrl3, set_ImageUrl3] = React.useState("");
|
|
3530
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
3531
|
+
/* @__PURE__ */ jsxs(
|
|
3532
|
+
Button.Button.Prime.R,
|
|
3533
|
+
{
|
|
3534
|
+
onClick: () => {
|
|
3535
|
+
Cropper.open({
|
|
3536
|
+
use: "square",
|
|
3537
|
+
develops: [
|
|
3538
|
+
{
|
|
3539
|
+
size: "S"
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
size: "R"
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
size: "L"
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
onProcessFinished: (develops) => __async(void 0, null, function* () {
|
|
3549
|
+
set_ImageUrl1(yield develops[0].toDataUrl());
|
|
3550
|
+
set_ImageUrl2(yield develops[1].toDataUrl());
|
|
3551
|
+
set_ImageUrl3(yield develops[2].toDataUrl());
|
|
3552
|
+
})
|
|
3553
|
+
});
|
|
3554
|
+
},
|
|
3555
|
+
children: [
|
|
3556
|
+
/* @__PURE__ */ jsx(FAI.Image, {}),
|
|
3557
|
+
" \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"
|
|
3558
|
+
]
|
|
3559
|
+
}
|
|
3560
|
+
),
|
|
3561
|
+
/* @__PURE__ */ jsxs(Flex, { verticalAlign: "top", gap: 1, children: [
|
|
3562
|
+
val_ImageUrl1 && /* @__PURE__ */ jsx(
|
|
3563
|
+
Img,
|
|
3564
|
+
{
|
|
3565
|
+
isRounded: true,
|
|
3566
|
+
src: val_ImageUrl1,
|
|
3567
|
+
alt: "",
|
|
3568
|
+
showExpand: true,
|
|
3569
|
+
freeCSS: {
|
|
3570
|
+
maxWidth: 12 * 12
|
|
3571
|
+
}
|
|
3572
|
+
}
|
|
3573
|
+
),
|
|
3574
|
+
val_ImageUrl2 && /* @__PURE__ */ jsx(
|
|
3575
|
+
Img,
|
|
3576
|
+
{
|
|
3577
|
+
style: {
|
|
3578
|
+
maxWidth: 24 * 12
|
|
3579
|
+
},
|
|
3580
|
+
src: val_ImageUrl2,
|
|
3581
|
+
alt: "",
|
|
3582
|
+
showExpand: true
|
|
3583
|
+
}
|
|
3584
|
+
),
|
|
3585
|
+
val_ImageUrl3 && /* @__PURE__ */ jsx(
|
|
3586
|
+
Img,
|
|
3587
|
+
{
|
|
3588
|
+
style: {
|
|
3589
|
+
maxWidth: 24 * 12
|
|
3590
|
+
},
|
|
3591
|
+
src: val_ImageUrl3,
|
|
3592
|
+
alt: "",
|
|
3593
|
+
showExpand: true
|
|
3594
|
+
}
|
|
3595
|
+
),
|
|
3596
|
+
/* @__PURE__ */ jsx(
|
|
3597
|
+
Layout.SwipeView,
|
|
3598
|
+
{
|
|
3599
|
+
border: true,
|
|
3600
|
+
borderWidth: 3,
|
|
3601
|
+
margin: [3, "auto"],
|
|
3602
|
+
freeCSS: {
|
|
3603
|
+
// maxWidth: 12 * 30
|
|
3604
|
+
width: 12 * 10
|
|
3605
|
+
},
|
|
3606
|
+
slideIndex: 1,
|
|
3607
|
+
options: {
|
|
3608
|
+
loop: true,
|
|
3609
|
+
onSlideCallback: (index) => {
|
|
3610
|
+
}
|
|
3611
|
+
},
|
|
3612
|
+
slides: [
|
|
3613
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "nega", padding: 3, flexCenter: true, children: "test1" }),
|
|
3614
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "posi", padding: 3, flexCenter: true, children: "test2" }),
|
|
3615
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "warn", padding: 3, flexCenter: true, children: "test3" }),
|
|
3616
|
+
/* @__PURE__ */ jsx(Box, { backgroundColor: "theme", padding: 3, flexCenter: true, children: "test4" })
|
|
3617
|
+
]
|
|
3618
|
+
}
|
|
3619
|
+
)
|
|
3620
|
+
] })
|
|
3621
|
+
] }) });
|
|
3622
|
+
};
|
|
3623
|
+
const DesignBook = () => {
|
|
3624
|
+
let [val_tabIndex, set_tabIndex] = React.useState(Number($$.getQueryParams().ti) || 0);
|
|
3625
|
+
React.useEffect(() => {
|
|
3626
|
+
$$.setQueryParam({ key: "ti", value: val_tabIndex });
|
|
3627
|
+
}, [val_tabIndex]);
|
|
3628
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
|
|
3629
|
+
Column,
|
|
3630
|
+
{
|
|
3631
|
+
gap: 0,
|
|
3632
|
+
minHeight: "contentHeight",
|
|
3633
|
+
backgroundColor: "1.layer.base",
|
|
3634
|
+
children: [
|
|
3635
|
+
/* @__PURE__ */ jsx(
|
|
3636
|
+
Layout.TabBar,
|
|
3637
|
+
{
|
|
3638
|
+
borderBottom: true,
|
|
3639
|
+
position: "sticky",
|
|
3640
|
+
backgroundColor: "1.layer.base",
|
|
3641
|
+
top: "topBase",
|
|
3642
|
+
tabIndex: val_tabIndex,
|
|
3643
|
+
tabs: [
|
|
3644
|
+
"Profiles",
|
|
3645
|
+
"Basic",
|
|
3646
|
+
"Buttons",
|
|
3647
|
+
"Inputs",
|
|
3648
|
+
"Styling",
|
|
3649
|
+
"Effection",
|
|
3650
|
+
"Tables",
|
|
3651
|
+
"Croppie",
|
|
3652
|
+
"PlayGround",
|
|
3653
|
+
"Logo"
|
|
3654
|
+
],
|
|
3655
|
+
onTabChange: (index) => {
|
|
3656
|
+
localStorage.setItem("designTabHeader", String(index));
|
|
3657
|
+
set_tabIndex(index);
|
|
3658
|
+
},
|
|
3659
|
+
UnderBreakPointStyles: {
|
|
3660
|
+
position: "static",
|
|
3661
|
+
top: 0
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
),
|
|
3665
|
+
/* @__PURE__ */ jsx(
|
|
3666
|
+
Box,
|
|
3667
|
+
{
|
|
3668
|
+
flexSizing: 0,
|
|
3669
|
+
position: "relative",
|
|
3670
|
+
freeCSS: {
|
|
3671
|
+
zIndex: 1
|
|
3672
|
+
},
|
|
3673
|
+
children: /* @__PURE__ */ jsx(
|
|
3674
|
+
Layout.PageViewController,
|
|
3675
|
+
{
|
|
3676
|
+
viewIndex: val_tabIndex,
|
|
3677
|
+
views: [
|
|
3678
|
+
/* @__PURE__ */ jsx(Profiles._, {}),
|
|
3679
|
+
/* @__PURE__ */ jsx(Basic._, {}),
|
|
3680
|
+
/* @__PURE__ */ jsx(Buttons._, {}),
|
|
3681
|
+
/* @__PURE__ */ jsx(Inputs, {}),
|
|
3682
|
+
/* @__PURE__ */ jsx(Styling, {}),
|
|
3683
|
+
/* @__PURE__ */ jsx(Effections._, {}),
|
|
3684
|
+
/* @__PURE__ */ jsx(Tables._, {}),
|
|
3685
|
+
/* @__PURE__ */ jsx(Cropping, {}),
|
|
3686
|
+
/* @__PURE__ */ jsx(Logos._, {})
|
|
3687
|
+
],
|
|
3688
|
+
wrapper: (View) => {
|
|
3689
|
+
return /* @__PURE__ */ jsx(
|
|
3690
|
+
Effect.FadeIn,
|
|
3691
|
+
{
|
|
3692
|
+
animationTime: 200,
|
|
3693
|
+
children: /* @__PURE__ */ jsx(Layout.Plate, { children: /* @__PURE__ */ jsx(
|
|
3694
|
+
Flex,
|
|
3695
|
+
{
|
|
3696
|
+
gap: 2,
|
|
3697
|
+
padding: 2,
|
|
3698
|
+
flexWrap: true,
|
|
3699
|
+
flexChilds: "auto",
|
|
3700
|
+
children: View
|
|
3701
|
+
}
|
|
3702
|
+
) })
|
|
3703
|
+
},
|
|
3704
|
+
val_tabIndex
|
|
3705
|
+
);
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
)
|
|
3709
|
+
}
|
|
3710
|
+
)
|
|
3711
|
+
]
|
|
3712
|
+
}
|
|
3713
|
+
) });
|
|
3714
|
+
};
|
|
3715
|
+
export {
|
|
3716
|
+
DesignBook,
|
|
3717
|
+
DesignBook as default
|
|
3718
|
+
};
|