amotify 0.1.22 → 0.1.23
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/@styles/componentClasses/_.css +65 -66
- package/dist/@styles/componentClasses/_.js +39 -39
- package/dist/fn/Sheet.js +1 -1
- package/dist/style.css +65 -66
- package/dist/style.js +39 -39
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license amotify
|
|
3
|
-
* amotify 0.1.
|
|
3
|
+
* amotify 0.1.22
|
|
4
4
|
* https://mingoo.co.jp/
|
|
5
5
|
|
|
6
6
|
* Copyright (c) mingoo, LLC.
|
|
7
7
|
* Released under the MIT license
|
|
8
8
|
|
|
9
|
-
* Latest updated at: 2024/6/
|
|
9
|
+
* Latest updated at: 2024/6/12
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/a_img.module.scss */
|
|
@@ -188,21 +188,21 @@
|
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
/* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_sheet.module.scss */
|
|
191
|
-
.
|
|
191
|
+
._FixScroll_81ouy_1 {
|
|
192
192
|
overflow: hidden !important;
|
|
193
193
|
min-height: 0 !important;
|
|
194
194
|
height: calc(var(--viewHeight));
|
|
195
195
|
width: 100vw;
|
|
196
196
|
transition: var(--animation-time3);
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
._FixScroll_81ouy_1._Float_81ouy_8 {
|
|
199
199
|
opacity: 0.8 !important;
|
|
200
200
|
pointer-events: none;
|
|
201
201
|
transform-origin: center center;
|
|
202
202
|
transform: scale(0.96);
|
|
203
203
|
border-radius: calc((2vw + 2vh) / 2);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
._Wrapper_81ouy_16 {
|
|
206
206
|
position: fixed;
|
|
207
207
|
top: 0;
|
|
208
208
|
left: 0;
|
|
@@ -211,11 +211,11 @@
|
|
|
211
211
|
pointer-events: none;
|
|
212
212
|
z-index: 6;
|
|
213
213
|
}
|
|
214
|
-
.
|
|
214
|
+
._Wrap_81ouy_16 {
|
|
215
215
|
pointer-events: none !important;
|
|
216
216
|
height: 0;
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
._Wrap_81ouy_16 ._TapSensor_81ouy_30 {
|
|
219
219
|
position: sticky;
|
|
220
220
|
top: 0;
|
|
221
221
|
height: 0;
|
|
@@ -224,158 +224,157 @@
|
|
|
224
224
|
-webkit-touch-callout: none;
|
|
225
225
|
flex: none;
|
|
226
226
|
}
|
|
227
|
-
.
|
|
227
|
+
._Wrap_81ouy_16 ._TapSensor_81ouy_30 ._TapContent_81ouy_39 {
|
|
228
228
|
height: var(--viewHeight);
|
|
229
229
|
width: 100vw;
|
|
230
230
|
}
|
|
231
|
-
.
|
|
231
|
+
._Wrap_81ouy_16._Hide_81ouy_43 {
|
|
232
232
|
display: none !important;
|
|
233
233
|
}
|
|
234
|
-
.
|
|
234
|
+
._Wrap_81ouy_16._Open_81ouy_46._isNewSheet_true_81ouy_46 ._Content_81ouy_46 {
|
|
235
235
|
pointer-events: all !important;
|
|
236
236
|
background-color: rgba(var(--color-dark-rgb), 0.25);
|
|
237
237
|
}
|
|
238
|
-
.
|
|
238
|
+
._Wrap_81ouy_16._Open_81ouy_46._isNewSheet_false_81ouy_50 ._BB_81ouy_50 {
|
|
239
239
|
pointer-events: all !important;
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
242
242
|
transform: scale(1.015);
|
|
243
243
|
transition: var(--animation-time1);
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 ._BaseBody_81ouy_57 {
|
|
246
246
|
transition: var(--animation-time1);
|
|
247
247
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_4) var(--shadow_color_remark);
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._BB_81ouy_50 {
|
|
250
250
|
transform: scale(0.75);
|
|
251
|
-
padding: var(--grid-unit);
|
|
252
251
|
pointer-events: none !important;
|
|
253
252
|
}
|
|
254
|
-
.
|
|
253
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._BB_81ouy_50 > * {
|
|
255
254
|
pointer-events: all;
|
|
256
255
|
}
|
|
257
|
-
.
|
|
256
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53._Open_81ouy_46 ._BB_81ouy_50 {
|
|
258
257
|
transform: scale(1);
|
|
259
258
|
opacity: 1;
|
|
260
259
|
}
|
|
261
|
-
.
|
|
260
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._Content_81ouy_46 {
|
|
262
261
|
overflow: hidden auto;
|
|
263
262
|
}
|
|
264
|
-
.
|
|
263
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
265
264
|
transition: var(--animation-time1);
|
|
266
265
|
left: calc(-1 * var(--grid-unit) * 2);
|
|
267
266
|
}
|
|
268
|
-
.
|
|
267
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._BB_81ouy_50 {
|
|
269
268
|
max-width: 100vw;
|
|
270
269
|
left: -10%;
|
|
271
270
|
}
|
|
272
|
-
.
|
|
271
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72._Open_81ouy_46 ._BB_81ouy_50 {
|
|
273
272
|
left: 0;
|
|
274
273
|
opacity: 1;
|
|
275
274
|
}
|
|
276
|
-
.
|
|
275
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._Content_81ouy_46 {
|
|
277
276
|
overflow: hidden auto;
|
|
278
277
|
}
|
|
279
|
-
.
|
|
278
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
280
279
|
transition: var(--animation-time1);
|
|
281
280
|
right: calc(-1 * var(--grid-unit) * 2);
|
|
282
281
|
}
|
|
283
|
-
.
|
|
282
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._BB_81ouy_50 {
|
|
284
283
|
max-width: 100vw;
|
|
285
284
|
right: -10%;
|
|
286
285
|
}
|
|
287
|
-
.
|
|
286
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87._Open_81ouy_46 ._BB_81ouy_50 {
|
|
288
287
|
right: 0;
|
|
289
288
|
opacity: 1;
|
|
290
289
|
}
|
|
291
|
-
.
|
|
290
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
292
291
|
padding-top: 2vh !important;
|
|
293
292
|
transition: var(--animation-time1) !important;
|
|
294
293
|
}
|
|
295
|
-
.
|
|
294
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._BB_81ouy_50 {
|
|
296
295
|
padding-top: 10vh;
|
|
297
296
|
}
|
|
298
|
-
.
|
|
297
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._BB_81ouy_50 ._DragBar_81ouy_109 {
|
|
299
298
|
position: relative;
|
|
300
299
|
}
|
|
301
|
-
.
|
|
300
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102._Open_81ouy_46 ._BB_81ouy_50 {
|
|
302
301
|
padding-top: 0;
|
|
303
302
|
opacity: 1 !important;
|
|
304
303
|
transition: var(--animation-time3);
|
|
305
304
|
}
|
|
306
|
-
.
|
|
305
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
307
306
|
transform: scale(1.015);
|
|
308
307
|
transition: var(--animation-time1);
|
|
309
308
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_4) var(--shadow_color_remark);
|
|
310
309
|
}
|
|
311
|
-
.
|
|
310
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._BB_81ouy_50 {
|
|
312
311
|
transform: scale(0.95);
|
|
313
312
|
}
|
|
314
|
-
.
|
|
313
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._BB_81ouy_50._CustomSheet_81ouy_125 {
|
|
315
314
|
position: relative;
|
|
316
315
|
}
|
|
317
|
-
.
|
|
318
|
-
.
|
|
319
|
-
.
|
|
320
|
-
.
|
|
316
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_1_81ouy_128,
|
|
317
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_4_81ouy_128,
|
|
318
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_1_81ouy_128,
|
|
319
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_4_81ouy_128 {
|
|
321
320
|
transform-origin: bottom right;
|
|
322
321
|
}
|
|
323
|
-
.
|
|
324
|
-
.
|
|
325
|
-
.
|
|
326
|
-
.
|
|
322
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_2_81ouy_131,
|
|
323
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_5_81ouy_131,
|
|
324
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_2_81ouy_131,
|
|
325
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_5_81ouy_131 {
|
|
327
326
|
transform-origin: top right;
|
|
328
327
|
}
|
|
329
|
-
.
|
|
330
|
-
.
|
|
331
|
-
.
|
|
332
|
-
.
|
|
328
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_1_81ouy_128,
|
|
329
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_4_81ouy_128,
|
|
330
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_1_81ouy_128,
|
|
331
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_4_81ouy_128 {
|
|
333
332
|
transform-origin: bottom left;
|
|
334
333
|
}
|
|
335
|
-
.
|
|
336
|
-
.
|
|
337
|
-
.
|
|
338
|
-
.
|
|
334
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_2_81ouy_131,
|
|
335
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_5_81ouy_131,
|
|
336
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_2_81ouy_131,
|
|
337
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_5_81ouy_131 {
|
|
339
338
|
transform-origin: top left;
|
|
340
339
|
}
|
|
341
|
-
.
|
|
342
|
-
.
|
|
340
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_3_81ouy_140,
|
|
341
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_18_81ouy_140 {
|
|
343
342
|
transform-origin: bottom;
|
|
344
343
|
}
|
|
345
|
-
.
|
|
346
|
-
.
|
|
344
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_8_81ouy_143,
|
|
345
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_23_81ouy_143 {
|
|
347
346
|
transform-origin: top;
|
|
348
347
|
}
|
|
349
|
-
.
|
|
350
|
-
.
|
|
348
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_11_81ouy_146,
|
|
349
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_14_81ouy_146 {
|
|
351
350
|
transform-origin: right;
|
|
352
351
|
}
|
|
353
|
-
.
|
|
354
|
-
.
|
|
352
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_12_81ouy_149,
|
|
353
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_15_81ouy_149 {
|
|
355
354
|
transform-origin: left;
|
|
356
355
|
}
|
|
357
|
-
.
|
|
358
|
-
.
|
|
356
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128,
|
|
357
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128 {
|
|
359
358
|
right: 0;
|
|
360
359
|
justify-content: flex-end;
|
|
361
360
|
}
|
|
362
|
-
.
|
|
363
|
-
.
|
|
361
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134,
|
|
362
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134 {
|
|
364
363
|
left: 0;
|
|
365
364
|
}
|
|
366
|
-
.
|
|
365
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_3_81ouy_159 {
|
|
367
366
|
align-items: center;
|
|
368
367
|
justify-content: center;
|
|
369
368
|
}
|
|
370
|
-
.
|
|
371
|
-
.
|
|
369
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_1_81ouy_128,
|
|
370
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_4_81ouy_128 {
|
|
372
371
|
bottom: 0;
|
|
373
372
|
}
|
|
374
|
-
.
|
|
375
|
-
.
|
|
373
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_2_81ouy_131,
|
|
374
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_5_81ouy_131 {
|
|
376
375
|
top: 0;
|
|
377
376
|
}
|
|
378
|
-
.
|
|
377
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117._Open_81ouy_46 ._BB_81ouy_50 {
|
|
379
378
|
transform: scale(1);
|
|
380
379
|
opacity: 1;
|
|
381
380
|
}
|
|
@@ -57,45 +57,45 @@ var f_snackbar_module_default = {
|
|
|
57
57
|
|
|
58
58
|
// src/@styles/componentClasses/f_sheet.module.scss
|
|
59
59
|
var f_sheet_module_default = {
|
|
60
|
-
"FixScroll": "
|
|
61
|
-
"Float": "
|
|
62
|
-
"Wrapper": "
|
|
63
|
-
"Wrap": "
|
|
64
|
-
"TapSensor": "
|
|
65
|
-
"TapContent": "
|
|
66
|
-
"Hide": "
|
|
67
|
-
"Open": "
|
|
68
|
-
"isNewSheet_true": "
|
|
69
|
-
"Content": "
|
|
70
|
-
"isNewSheet_false": "
|
|
71
|
-
"BB": "
|
|
72
|
-
"Tcate_normal": "
|
|
73
|
-
"BaseBody": "
|
|
74
|
-
"Tcate_drawer": "
|
|
75
|
-
"Tpos_left": "
|
|
76
|
-
"Tpos_right": "
|
|
77
|
-
"Tpos_bottom": "
|
|
78
|
-
"DragBar": "
|
|
79
|
-
"Tcate_custom": "
|
|
80
|
-
"CustomSheet": "
|
|
81
|
-
"GPT": "
|
|
82
|
-
"Col_1": "
|
|
83
|
-
"Row_1": "
|
|
84
|
-
"Row_4": "
|
|
85
|
-
"Col_4": "
|
|
86
|
-
"Row_2": "
|
|
87
|
-
"Row_5": "
|
|
88
|
-
"Col_2": "
|
|
89
|
-
"Col_5": "
|
|
90
|
-
"GPT_3": "
|
|
91
|
-
"GPT_18": "
|
|
92
|
-
"GPT_8": "
|
|
93
|
-
"GPT_23": "
|
|
94
|
-
"GPT_11": "
|
|
95
|
-
"GPT_14": "
|
|
96
|
-
"GPT_12": "
|
|
97
|
-
"GPT_15": "
|
|
98
|
-
"Col_3": "
|
|
60
|
+
"FixScroll": "_FixScroll_81ouy_1",
|
|
61
|
+
"Float": "_Float_81ouy_8",
|
|
62
|
+
"Wrapper": "_Wrapper_81ouy_16",
|
|
63
|
+
"Wrap": "_Wrap_81ouy_16",
|
|
64
|
+
"TapSensor": "_TapSensor_81ouy_30",
|
|
65
|
+
"TapContent": "_TapContent_81ouy_39",
|
|
66
|
+
"Hide": "_Hide_81ouy_43",
|
|
67
|
+
"Open": "_Open_81ouy_46",
|
|
68
|
+
"isNewSheet_true": "_isNewSheet_true_81ouy_46",
|
|
69
|
+
"Content": "_Content_81ouy_46",
|
|
70
|
+
"isNewSheet_false": "_isNewSheet_false_81ouy_50",
|
|
71
|
+
"BB": "_BB_81ouy_50",
|
|
72
|
+
"Tcate_normal": "_Tcate_normal_81ouy_53",
|
|
73
|
+
"BaseBody": "_BaseBody_81ouy_57",
|
|
74
|
+
"Tcate_drawer": "_Tcate_drawer_81ouy_72",
|
|
75
|
+
"Tpos_left": "_Tpos_left_81ouy_72",
|
|
76
|
+
"Tpos_right": "_Tpos_right_81ouy_87",
|
|
77
|
+
"Tpos_bottom": "_Tpos_bottom_81ouy_102",
|
|
78
|
+
"DragBar": "_DragBar_81ouy_109",
|
|
79
|
+
"Tcate_custom": "_Tcate_custom_81ouy_117",
|
|
80
|
+
"CustomSheet": "_CustomSheet_81ouy_125",
|
|
81
|
+
"GPT": "_GPT_81ouy_128",
|
|
82
|
+
"Col_1": "_Col_1_81ouy_128",
|
|
83
|
+
"Row_1": "_Row_1_81ouy_128",
|
|
84
|
+
"Row_4": "_Row_4_81ouy_128",
|
|
85
|
+
"Col_4": "_Col_4_81ouy_128",
|
|
86
|
+
"Row_2": "_Row_2_81ouy_131",
|
|
87
|
+
"Row_5": "_Row_5_81ouy_131",
|
|
88
|
+
"Col_2": "_Col_2_81ouy_134",
|
|
89
|
+
"Col_5": "_Col_5_81ouy_134",
|
|
90
|
+
"GPT_3": "_GPT_3_81ouy_140",
|
|
91
|
+
"GPT_18": "_GPT_18_81ouy_140",
|
|
92
|
+
"GPT_8": "_GPT_8_81ouy_143",
|
|
93
|
+
"GPT_23": "_GPT_23_81ouy_143",
|
|
94
|
+
"GPT_11": "_GPT_11_81ouy_146",
|
|
95
|
+
"GPT_14": "_GPT_14_81ouy_146",
|
|
96
|
+
"GPT_12": "_GPT_12_81ouy_149",
|
|
97
|
+
"GPT_15": "_GPT_15_81ouy_149",
|
|
98
|
+
"Col_3": "_Col_3_81ouy_159"
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
// src/@styles/componentClasses/f_loader.module.scss
|
package/dist/fn/Sheet.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as h,c as I,d as M}from"../chunk-VY3566IV.js";import{jsx as i,jsxs as j}from"react/jsx-runtime";import{useState as z,useEffect as W,useRef as Z}from"react";import{$$ as a,$$fromRoot as P,Config as U,useStore as T}from"../@utils/_";import R from"../atoms/Box";import $ from"../atoms/Img";import X from"../atoms/FAI";import J from"../atoms/Flex";import G from"../mols/Column";import Y from"../mols/Row";import V from"./Button";import Q from"./Layout/_";import q from"./Input/_";import{SheetClasses as c}from"../@styles/componentClasses/_";const d={mainSheetScrolls:0,subSheetLength:0,currentIndex:0,contents:{},addNewSheet:function(e){if(e=I(h({sheetGroups:e.sheetGroups||[],backgroundEffect:!0,overwrap:e.type=="custom",hold_state:!1},e),{sheetID:e.sheetID||a.uuid.gen(),close_option:h({pageTransit:!0,escapeKeyDown:!0,aroundClick:e.type=="custom"},e.close_option)}),this.contents[e.sheetID]){let s=T.get(e.sheetID);s&&s.refresh&&s.refresh(e,!0);return}this.contents[e.sheetID]={isOpen:!0,hold_state:!!e.hold_state,params:e,created_at:a.Time()};let t=T.get("Sheet-"+U.get().sessionUID);t&&t.refresh()},Wrapper:()=>{let[e,t]=z(a.uuid.gen());W(()=>{T.set({key:"Sheet-"+U.get().sessionUID,value:{refresh:()=>{t(a.uuid.gen())}}}),a(U.get().appRoot).addEvent({eventType:"keyup",callback:function(r){let{key:o,metaKey:f}=r;if(o=="Escape"||o==","&&f){let v=Object.values(d.contents).filter(S=>S.isOpen);if(!v.length)return;let n=v.reduce((S,w)=>S.created_at.value>w.created_at.value?S:w);x.close(n.params.sheetID,o)}}}).addEvent({eventType:"click",callback:function(r){var v;let o=Object.values(d.contents).filter(n=>n.params.type=="custom");!o.length||o.find(n=>{let{params:S}=n,w=S.parent,_=r.target,g=P(w)[0];return!!(w==_||g===_||a(g).find(_).length)})||(v=r.target)!=null&&v.closest("."+c("CustomSheet"))||o.forEach(n=>{var S;(S=n.params.close_option)!=null&&S.aroundClick&&x.close(n.params.sheetID)})}})},[]);let s=Object.entries(d.contents).map(([r,o])=>i(R,{id:"Sheet-"+r,children:i(d.Core,h({isOpen:o.isOpen},o.params),r)},r));return i(R,{className:["AMOTIFY_be",c("Wrapper")].join(" "),children:s})},Core:e=>{var y;let[t]=z(a.uuid.gen()),[s,r]=z(e),[o,f]=z(!0),{type:v,sheetID:n,openAfter:S,closeAfter:w}=s,_=!e.overwrap,g=d.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[v]];W(()=>{T.set({key:n,value:{refresh:(p,m)=>{r(p),f(m!=null?m:!1)},resize:p=>{if(v=="drawer.bottom"){let m=T.get(t);m&&m.resize&&m.resize(p)}else(s.type.includes("normal")||s.type.includes("drawer"))&&r(I(h({},s),{size:p}))},close:p=>{d.contents[n].isOpen=!1,f(!1)},open:()=>{d.contents[n].isOpen=!0,f(!0)}}})}),W(()=>{a.scope(()=>{if(_&&e.backgroundEffect){if(d.subSheetLength=d.subSheetLength+(o?1:-1),o){let p=a("html");if(d.subSheetLength==1){let m=p[0].scrollTop;d.mainSheetScrolls=m}U.get().isPhone||(p.callback(()=>{P(".AMOTIFY_be_root").addClass(c("FixScroll")).callback(m=>{m[0].scrollTop=d.mainSheetScrolls}).await(40).addClass(c("Float"))})[0].scrollTop=0);return}d.subSheetLength==0&&(U.get().isPhone||P(".AMOTIFY_be_root").removeClass(c("Float")).await(251).removeClass(c("FixScroll")).callback(()=>{a("html")[0].scrollTop=d.mainSheetScrolls|0,P(".AMOTIFY_be_root")[0].scrollTop=0}))}}),a.scope(()=>{let p=P("#"+t);if(o){p.await(10).removeClass(c("Hide")).await(10).addClass(c("Open")).callback(()=>{d.contents[n].isOpen=!0,S&&S()});return}p.await(10).removeClass(c("Open")).await(251).addClass(c("Hide")).callback(()=>{if(!w||w(),d.contents[n].isOpen=!1,e.hold_state)return;delete d.contents[n];let m=T.get("Sheet-"+U.get().sessionUID);m&&m.refresh()})})},[o]),W(()=>{d.currentIndex++;let{close_option:p}=e;a.scope(()=>{if(!(p!=null&&p.parentBlur))return;let m=a(s.parent);m[0]&&m.addEvent({eventID:"SheetClosation-"+n,eventType:"mouseout",callback:()=>{m.removeEvent("SheetClosation-"+n),f(!1)}})})},[]);let[B,C]=v.split(".");return i(R,{className:[c("Wrap"),c("Tcate_"+B),c("Tpos_"+C),c("isNewSheet_"+_)].join(" "),width:1,height:0,ssAbsoluteCovered:!0,freeCSS:{zIndex:d.currentIndex+1},id:t,children:j(G,{className:c("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[_?i(d.TapSensor,{sheetID:n,delegateAroundClick:(y=e.close_option)==null?void 0:y.aroundClick}):null,i(g,h({componentID:t},s))]})},t)},Types:{Normal:e=>{let m=e,{sheetID:t,sheetGroups:s,content:r,className:o="",type:f,size:v="R",freeCSS:n,openAfter:S,hold_state:w,overwrap:_}=m,g=M(m,["sheetID","sheetGroups","content","className","type","size","freeCSS","openAfter","hold_state","overwrap"]),[B,C]=f.split("."),y={},p=[];return C.match(/top/)?(p.push("top"),y.marginBottom="auto"):C.match(/middle/)?(p.push("center"),y.marginTop="auto",y.marginBottom="auto"):C.match(/bottom/)&&(p.push("bottom"),y.marginTop="auto"),C.match(/left/i)?(p.push("left"),y.marginRight="auto"):C.match(/center/i)?(p.push("center"),y.marginLeft="auto",y.marginRight="auto"):C.match(/right/i)&&(p.push("right"),y.marginLeft="auto"),i(R,I(h(h({className:[c("BB"),o].join(" "),transition:"long",opacity:"trans"},y),g),{freeCSS:h({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"95vw"}[v],maxWidth:"96vw",transformOrigin:p.join(" ")},n),children:a.is.function(r)?i(r,{}):r}))},Edge:e=>{let B=e,{sheetID:t,sheetGroups:s,type:r,content:o,className:f="",size:v="R",freeCSS:n,close_option:S,hold_state:w,overwrap:_}=B,g=M(B,["sheetID","sheetGroups","type","content","className","size","freeCSS","close_option","hold_state","overwrap"]);return i(R,I(h(h({opacity:"trans",transition:"long",position:"relative",backgroundColor:"1.layer.base",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark",className:[c("BB"),f].join(" ")},r=="drawer.right"?{marginLeft:"auto"}:r=="drawer.left"?{marginRight:"auto"}:{}),g),{freeCSS:h({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"95vw"}[v]},n),children:a.is.function(o)?i(o,{}):o}))},Bottom:e=>{let H=e,{componentID:t,sheetID:s,sheetGroups:r,content:o,size:f="R",sizeChanged:v,baseStyles:n,close_option:{swipeDown:S=!0}={},hold_state:w,overwrap:_}=H,g=M(H,["componentID","sheetID","sheetGroups","content","size","sizeChanged","baseStyles","close_option","hold_state","overwrap"]),B=a.getScreenSize(),C=[0,.2,.6,.95],y={ZERO:0,S:1,R:2,L:3},[p,m]=z(f),[N,A]=z({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:C[y[f]]});T.update({key:t,value:{val_edit:N,resize:k=>{let l=C[y[k]];A(I(h({},N),{value:l})),m(k)}}});const D={Start:k=>{a(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:D.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:D.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:D.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:D.End});let l=a.getCursor(k),u=I(h({},N),{process:!0,processStart:new Date().getTime(),originY:l.y,originValue:N.value,viewHeight:a.getScreenSize().height});T.update({key:t,value:{val_edit:u}}),A(u)},Move:k=>{var O;let l=(O=T.get(t))==null?void 0:O.val_edit;if(!l.process)return;let E=(a.getCursor(k).y-l.originY)/l.viewHeight,b=l.originValue-E;if(b>.95)b=.95+(b-.95)*.5;else if(b<.2){let L=.2-b;L-=.1,b=.1+(.1-L)*.5}A(I(h({},l),{value:b}))},End:k=>{var b;let l=(b=T.get(t))==null?void 0:b.val_edit;if(!l.process)return;a(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let u=0;if(l.value<.1||(l.value<.5?u=1:l.value>.75?u=3:u=2),new Date().getTime()-l.processStart<300){let O=a.getCursor(k).y-l.originY;if(Math.abs(O)>=20){let L=+(O<0)*2-1;u+=L,u=Math.min(Math.max(u,0),C.length-1)}}u==0&&(S||(u=1)),m(["ZERO","S","R","L"][u]),A(I(h({},l),{value:C[u],process:!1}))}},F=Z(!1);return W(()=>{F.current?p=="ZERO"?S&&x.close(s):setTimeout(()=>{e.sizeChanged&&e.sizeChanged(p)},250):F.current=!0},[p]),i(R,{className:c("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:h({maxWidth:12*60,height:B.height*N.value},N.process?{transition:"0s"}:{}),children:j(G,I(h({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},n),{children:[j(Y.Separate,{padding:"1/2",backgroundColor:"1.layer.base",position:"relative",freeCSS:{userSelect:"none"},children:[i(Y.Center,{flexSizing:0,padding:"2/3",onMouseDown:D.Start,onTouchStart:D.Start,ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:i(R,{unitWidth:6,unitHeight:"1/2",backgroundColor:"5.layer.darker",isRounded:!0,className:c("DragBar")})}),i(V.Button.Sub.R,{color:"cloud",ssSphere:2,onClick:()=>{x.close(s)},children:i(X.Times,{})})]}),i(R,I(h({backgroundColor:"1.layer.base",flexSizing:0,overflow:"auto"},g),{children:a.is.function(o)?i(o,{}):o}))]}))})},Custom:e=>{let k=e,{sheetID:t,sheetGroups:s,parent:r,gravityPoint:o=22,content:f,close_option:v,hold_state:n,overwrap:S,openAfter:w,closeAfter:_}=k,g=M(k,["sheetID","sheetGroups","parent","gravityPoint","content","close_option","hold_state","overwrap","openAfter","closeAfter"]),[B]=z(a.uuid.gen()),C=a.is.element(r)?a(r):a.is.jsmin(r)?r:P(r),y='[data-sheet-id="'+B+'"]',p='[data-sheet-content="'+B+'"]';o=o;let m=o%5||5,N=Math.ceil(o/5);const A=()=>{let l={},{top:u,right:E,bottom:b,left:O,height:L,width:K}=C.position();return[1,2].includes(m)?l.left=O:m==3?l.left=O+K/2:[4,5].includes(m)&&(l.left=E),o<=10?l.top=u:o<=15?l.top=u+L/2:o<=25&&(l.top=b),l};let[D,F]=z(A());const H=()=>{let l=P(y).position(),u=P(p).position(),E=a.getScreenSize(),b=h({},D);return u.top<0&&(b.top=l.top-u.top),u.left<0&&(b.left=l.left-u.left),u.right>E.width&&(b.left=l.left-(u.right-E.width)),u.bottom>E.height&&(b.top=l.top-(u.bottom-E.height)),b};return W(()=>{P(y).await(10).addClass(c("Open")).await(250).callback(()=>{F(H())}),T.update({key:"customSheet-"+e.sheetID,value:{reposition:()=>{setTimeout(()=>{F(H())},200)}}})},[]),C[0]?i(R,{className:[c("BB"),c("CustomSheet")].join(" "),"data-sheet-id":B,transition:"long",opacity:"trans",position:"absolute",width:0,height:0,flexCenter:!0,freeCSS:D,children:i(J,{className:[c("GPT"),c("GPT_"+o),c("Col_"+m),c("Row_"+N)].join(" "),position:"absolute",children:i(R,I(h({flexSizing:"none","data-sheet-content":B,maxHeight:"viewHeight",overflow:"auto",padding:1},g),{freeCSS:h({maxWidth:"98vw"},g.freeCSS),children:a.is.function(f)?i(f,{}):f}))})}):null}},TapSensor:e=>i(V.Button.Plain,{className:c("TapSensor"),onClick:()=>{var t;(t=e.delegateAroundClick)!=null&&t&&x.close(e.sheetID)},freeCSS:{cursor:"default"},children:i(R,{className:c("TapContent")})})},x={Wrapper:()=>i(d.Wrapper,{}),open:e=>{if(e.sheetID=(e.sheetID||"").replace(/\./g,"-"),e.type=="image"){let s=e.sheetID||a.uuid.gen(),t=e,{type:r,src:o}=t,f=M(t,["type","src"]);x.open(I(h({type:"normal.topCenter",backgroundColor:"trans"},f),{sheetID:s,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[v]=z(a.flatArray(o)),[n,S]=z(0),w=[],_=[];return v.forEach((g,B)=>{w.push({value:B,label:i($,{src:a.flatArray(g)[0],width:"auto",height:1,freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),_.push(i($,{width:1,height:"auto",src:a.flatArray(g)[0]}))}),j(G,{gap:0,children:[j(Y.Separate,{gap:2,padding:1,backgroundColor:"1.layer.base",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",children:[i(q.Radio,{tone:"border",icon:!1,value:n,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:g})=>{S(g[0])},cellStyles:{borderWidth:2,padding:"1/3"},options:w}),j(V.Button.Border.R,{color:"cloud",isRounded:!0,onClick:()=>{x.close(s)},children:["\u9589\u3058\u308B ",i(X.Times,{})]})]}),i(Q.SwipeView,{slideIndex:n,options:{loop:v.length>1,onSlideCallback:g=>{S(g)}},slides:_,wrapper:g=>i(R,{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary",children:g})})]})}}));return}d.addNewSheet(e)},refresh:(e,t)=>{e.sheetID=(e.sheetID||"").replace(/\./g,"-");let s=T.get(e.sheetID);s&&s.refresh&&s.refresh(e,t)},resize:e=>{e.sheetID=(e.sheetID||"").replace(/\./g,"-");let t=T.get(e.sheetID);t&&t.resize&&t.resize(e.size)},reposition:e=>{let t=T.get("customSheet-"+e);t&&t.reposition&&t.reposition()},close:function(e,t,s){var o;e=e==null?void 0:e.replace(/\./g,"-");let r=d.contents[e];if(r&&!(t=="Escape"&&!((o=r.params.close_option)!=null&&o.escapeKeyDown))){let{params:f}=r,{sheetID:v}=f,n=T.get(v);n&&n.close&&n.close(s)}},closeGroup:e=>{var t;e=(e||"").replace(/\./g,"-");for(let[s,r]of Object.entries(d.contents))(t=r.params.sheetGroups)!=null&&t.includes(e)&&x.close(s)},closeAll:e=>{var t;for(let[s,r]of Object.entries(d.contents))e&&((t=r.params.close_option)==null?void 0:t.pageTransit)==!1||x.close(s,"pageTransit",!0)},Comps:{Body:e=>i(R,h({className:c("BaseBody"),backgroundColor:"1.layer.base",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},e))}};export{x as Sheet,x as default};
|
|
1
|
+
import{b as h,c as I,d as M}from"../chunk-VY3566IV.js";import{jsx as i,jsxs as j}from"react/jsx-runtime";import{useState as z,useEffect as W,useRef as Z}from"react";import{$$ as a,$$fromRoot as P,Config as U,useStore as T}from"../@utils/_";import R from"../atoms/Box";import $ from"../atoms/Img";import X from"../atoms/FAI";import J from"../atoms/Flex";import G from"../mols/Column";import Y from"../mols/Row";import V from"./Button";import Q from"./Layout/_";import q from"./Input/_";import{SheetClasses as c}from"../@styles/componentClasses/_";const d={mainSheetScrolls:0,subSheetLength:0,currentIndex:0,contents:{},addNewSheet:function(e){if(e=I(h({sheetGroups:e.sheetGroups||[],backgroundEffect:!0,overwrap:e.type=="custom",hold_state:!1},e),{sheetID:e.sheetID||a.uuid.gen(),close_option:h({pageTransit:!0,escapeKeyDown:!0,aroundClick:e.type=="custom"},e.close_option)}),this.contents[e.sheetID]){let s=T.get(e.sheetID);s&&s.refresh&&s.refresh(e,!0);return}this.contents[e.sheetID]={isOpen:!0,hold_state:!!e.hold_state,params:e,created_at:a.Time()};let t=T.get("Sheet-"+U.get().sessionUID);t&&t.refresh()},Wrapper:()=>{let[e,t]=z(a.uuid.gen());W(()=>{T.set({key:"Sheet-"+U.get().sessionUID,value:{refresh:()=>{t(a.uuid.gen())}}}),a(U.get().appRoot).addEvent({eventType:"keyup",callback:function(r){let{key:o,metaKey:f}=r;if(o=="Escape"||o==","&&f){let v=Object.values(d.contents).filter(S=>S.isOpen);if(!v.length)return;let n=v.reduce((S,w)=>S.created_at.value>w.created_at.value?S:w);x.close(n.params.sheetID,o)}}}).addEvent({eventType:"click",callback:function(r){var v;let o=Object.values(d.contents).filter(n=>n.params.type=="custom");!o.length||o.find(n=>{let{params:S}=n,w=S.parent,_=r.target,g=P(w)[0];return!!(w==_||g===_||a(g).find(_).length)})||(v=r.target)!=null&&v.closest("."+c("CustomSheet"))||o.forEach(n=>{var S;(S=n.params.close_option)!=null&&S.aroundClick&&x.close(n.params.sheetID)})}})},[]);let s=Object.entries(d.contents).map(([r,o])=>i(R,{id:"Sheet-"+r,children:i(d.Core,h({isOpen:o.isOpen},o.params),r)},r));return i(R,{className:["AMOTIFY_be",c("Wrapper")].join(" "),children:s})},Core:e=>{var y;let[t]=z(a.uuid.gen()),[s,r]=z(e),[o,f]=z(!0),{type:v,sheetID:n,openAfter:S,closeAfter:w}=s,_=!e.overwrap,g=d.Types[{"normal.topLeft":"Normal","normal.topCenter":"Normal","normal.topRight":"Normal","normal.middleLeft":"Normal","normal.middleCenter":"Normal","normal.middleRight":"Normal","normal.bottomLeft":"Normal","normal.bottomCenter":"Normal","normal.bottomRight":"Normal",image:"Normal","drawer.left":"Edge","drawer.right":"Edge","drawer.bottom":"Bottom",custom:"Custom"}[v]];W(()=>{T.set({key:n,value:{refresh:(p,m)=>{r(p),f(m!=null?m:!1)},resize:p=>{if(v=="drawer.bottom"){let m=T.get(t);m&&m.resize&&m.resize(p)}else(s.type.includes("normal")||s.type.includes("drawer"))&&r(I(h({},s),{size:p}))},close:p=>{d.contents[n].isOpen=!1,f(!1)},open:()=>{d.contents[n].isOpen=!0,f(!0)}}})}),W(()=>{a.scope(()=>{if(_&&e.backgroundEffect){if(d.subSheetLength=d.subSheetLength+(o?1:-1),o){let p=a("html");if(d.subSheetLength==1){let m=p[0].scrollTop;d.mainSheetScrolls=m}U.get().isPhone||(p.callback(()=>{P(".AMOTIFY_be_root").addClass(c("FixScroll")).callback(m=>{m[0].scrollTop=d.mainSheetScrolls}).await(40).addClass(c("Float"))})[0].scrollTop=0);return}d.subSheetLength==0&&(U.get().isPhone||P(".AMOTIFY_be_root").removeClass(c("Float")).await(251).removeClass(c("FixScroll")).callback(()=>{a("html")[0].scrollTop=d.mainSheetScrolls|0,P(".AMOTIFY_be_root")[0].scrollTop=0}))}}),a.scope(()=>{let p=P("#"+t);if(o){p.await(10).removeClass(c("Hide")).await(10).addClass(c("Open")).callback(()=>{d.contents[n].isOpen=!0,S&&S()});return}p.await(10).removeClass(c("Open")).await(251).addClass(c("Hide")).callback(()=>{if(!w||w(),d.contents[n].isOpen=!1,e.hold_state)return;delete d.contents[n];let m=T.get("Sheet-"+U.get().sessionUID);m&&m.refresh()})})},[o]),W(()=>{d.currentIndex++;let{close_option:p}=e;a.scope(()=>{if(!(p!=null&&p.parentBlur))return;let m=a(s.parent);m[0]&&m.addEvent({eventID:"SheetClosation-"+n,eventType:"mouseout",callback:()=>{m.removeEvent("SheetClosation-"+n),f(!1)}})})},[]);let[B,C]=v.split(".");return i(R,{className:[c("Wrap"),c("Tcate_"+B),c("Tpos_"+C),c("isNewSheet_"+_)].join(" "),width:1,height:0,ssAbsoluteCovered:!0,freeCSS:{zIndex:d.currentIndex+1},id:t,children:j(G,{className:c("Content"),gap:0,height:"viewHeight",overflow:"auto",transition:"middle",children:[_?i(d.TapSensor,{sheetID:n,delegateAroundClick:(y=e.close_option)==null?void 0:y.aroundClick}):null,i(g,h({componentID:t},s))]})},t)},Types:{Normal:e=>{let m=e,{sheetID:t,sheetGroups:s,content:r,className:o="",type:f,size:v="R",freeCSS:n,openAfter:S,hold_state:w,overwrap:_}=m,g=M(m,["sheetID","sheetGroups","content","className","type","size","freeCSS","openAfter","hold_state","overwrap"]),[B,C]=f.split("."),y={},p=[];return C.match(/top/)?(p.push("top"),y.marginBottom="auto"):C.match(/middle/)?(p.push("center"),y.marginTop="auto",y.marginBottom="auto"):C.match(/bottom/)&&(p.push("bottom"),y.marginTop="auto"),C.match(/left/i)?(p.push("left"),y.marginRight="auto"):C.match(/center/i)?(p.push("center"),y.marginLeft="auto",y.marginRight="auto"):C.match(/right/i)&&(p.push("right"),y.marginLeft="auto"),i(R,I(h(h({className:[c("BB"),o].join(" "),padding:1,transition:"long",opacity:"trans"},y),g),{freeCSS:h({width:{S:"26rem",R:"36rem",L:"44rem","2L":"60rem","3L":"72rem",MAX:"100vw"}[v],maxWidth:"96vw",transformOrigin:p.join(" ")},n),children:a.is.function(r)?i(r,{}):r}))},Edge:e=>{let B=e,{sheetID:t,sheetGroups:s,type:r,content:o,className:f="",size:v="R",freeCSS:n,close_option:S,hold_state:w,overwrap:_}=B,g=M(B,["sheetID","sheetGroups","type","content","className","size","freeCSS","close_option","hold_state","overwrap"]);return i(R,I(h(h({opacity:"trans",transition:"long",position:"relative",backgroundColor:"1.layer.base",flexSizing:"none",minHeight:"viewHeight",boxShadow:"3.remark",className:[c("BB"),f].join(" ")},r=="drawer.right"?{marginLeft:"auto"}:r=="drawer.left"?{marginRight:"auto"}:{}),g),{freeCSS:h({width:{S:"20rem",R:"27rem",L:"32rem","2L":"40rem","3L":"58rem",MAX:"95vw"}[v]},n),children:a.is.function(o)?i(o,{}):o}))},Bottom:e=>{let H=e,{componentID:t,sheetID:s,sheetGroups:r,content:o,size:f="R",sizeChanged:v,baseStyles:n,close_option:{swipeDown:S=!0}={},hold_state:w,overwrap:_}=H,g=M(H,["componentID","sheetID","sheetGroups","content","size","sizeChanged","baseStyles","close_option","hold_state","overwrap"]),B=a.getScreenSize(),C=[0,.2,.6,.95],y={ZERO:0,S:1,R:2,L:3},[p,m]=z(f),[N,A]=z({process:!1,processStart:0,originY:0,originValue:0,viewHeight:0,value:C[y[f]]});T.update({key:t,value:{val_edit:N,resize:k=>{let l=C[y[k]];A(I(h({},N),{value:l})),m(k)}}});const D={Start:k=>{a(document).addEvent({eventID:"BottomSheetMouseMove",eventType:"mousemove",callback:D.Move}).addEvent({eventID:"BottomSheetTouchMove",eventType:"touchmove",callback:D.Move}).addEvent({eventID:"BottomSheetMouseUp",eventType:"mouseup",callback:D.End}).addEvent({eventID:"BottomSheetTouchEnd",eventType:"touchend",callback:D.End});let l=a.getCursor(k),u=I(h({},N),{process:!0,processStart:new Date().getTime(),originY:l.y,originValue:N.value,viewHeight:a.getScreenSize().height});T.update({key:t,value:{val_edit:u}}),A(u)},Move:k=>{var O;let l=(O=T.get(t))==null?void 0:O.val_edit;if(!l.process)return;let E=(a.getCursor(k).y-l.originY)/l.viewHeight,b=l.originValue-E;if(b>.95)b=.95+(b-.95)*.5;else if(b<.2){let L=.2-b;L-=.1,b=.1+(.1-L)*.5}A(I(h({},l),{value:b}))},End:k=>{var b;let l=(b=T.get(t))==null?void 0:b.val_edit;if(!l.process)return;a(document).removeEvent(["BottomSheetMouseMove","BottomSheetTouchMove","BottomSheetMouseUp","BottomSheetTouchEnd"]);let u=0;if(l.value<.1||(l.value<.5?u=1:l.value>.75?u=3:u=2),new Date().getTime()-l.processStart<300){let O=a.getCursor(k).y-l.originY;if(Math.abs(O)>=20){let L=+(O<0)*2-1;u+=L,u=Math.min(Math.max(u,0),C.length-1)}}u==0&&(S||(u=1)),m(["ZERO","S","R","L"][u]),A(I(h({},l),{value:C[u],process:!1}))}},F=Z(!1);return W(()=>{F.current?p=="ZERO"?S&&x.close(s):setTimeout(()=>{e.sizeChanged&&e.sizeChanged(p)},250):F.current=!0},[p]),i(R,{className:c("BB"),margin:[0,"auto"],marginTop:"auto",opacity:"trans",width:1,transition:"long",freeCSS:h({maxWidth:12*60,height:B.height*N.value},N.process?{transition:"0s"}:{}),children:j(G,I(h({gap:0,flexSizing:"none",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",border:!0,borderBottom:"unset",boxShadow:"3.remark",position:"relative",overflow:"hidden",height:1},n),{children:[j(Y.Separate,{padding:"1/2",backgroundColor:"1.layer.base",position:"relative",freeCSS:{userSelect:"none"},children:[i(Y.Center,{flexSizing:0,padding:"2/3",onMouseDown:D.Start,onTouchStart:D.Start,ssPushable:!0,isRounded:!0,freeCSS:{cursor:"grab",userSelect:"none"},children:i(R,{unitWidth:6,unitHeight:"1/2",backgroundColor:"5.layer.darker",isRounded:!0,className:c("DragBar")})}),i(V.Button.Sub.R,{color:"cloud",ssSphere:2,onClick:()=>{x.close(s)},children:i(X.Times,{})})]}),i(R,I(h({backgroundColor:"1.layer.base",flexSizing:0,overflow:"auto"},g),{children:a.is.function(o)?i(o,{}):o}))]}))})},Custom:e=>{let k=e,{sheetID:t,sheetGroups:s,parent:r,gravityPoint:o=22,content:f,close_option:v,hold_state:n,overwrap:S,openAfter:w,closeAfter:_}=k,g=M(k,["sheetID","sheetGroups","parent","gravityPoint","content","close_option","hold_state","overwrap","openAfter","closeAfter"]),[B]=z(a.uuid.gen()),C=a.is.element(r)?a(r):a.is.jsmin(r)?r:P(r),y='[data-sheet-id="'+B+'"]',p='[data-sheet-content="'+B+'"]';o=o;let m=o%5||5,N=Math.ceil(o/5);const A=()=>{let l={},{top:u,right:E,bottom:b,left:O,height:L,width:K}=C.position();return[1,2].includes(m)?l.left=O:m==3?l.left=O+K/2:[4,5].includes(m)&&(l.left=E),o<=10?l.top=u:o<=15?l.top=u+L/2:o<=25&&(l.top=b),l};let[D,F]=z(A());const H=()=>{let l=P(y).position(),u=P(p).position(),E=a.getScreenSize(),b=h({},D);return u.top<0&&(b.top=l.top-u.top),u.left<0&&(b.left=l.left-u.left),u.right>E.width&&(b.left=l.left-(u.right-E.width)),u.bottom>E.height&&(b.top=l.top-(u.bottom-E.height)),b};return W(()=>{P(y).await(10).addClass(c("Open")).await(250).callback(()=>{F(H())}),T.update({key:"customSheet-"+e.sheetID,value:{reposition:()=>{setTimeout(()=>{F(H())},200)}}})},[]),C[0]?i(R,{className:[c("BB"),c("CustomSheet")].join(" "),"data-sheet-id":B,transition:"long",opacity:"trans",position:"absolute",width:0,height:0,flexCenter:!0,freeCSS:D,children:i(J,{className:[c("GPT"),c("GPT_"+o),c("Col_"+m),c("Row_"+N)].join(" "),position:"absolute",children:i(R,I(h({flexSizing:"none","data-sheet-content":B,maxHeight:"viewHeight",overflow:"auto",padding:1},g),{freeCSS:h({maxWidth:"98vw"},g.freeCSS),children:a.is.function(f)?i(f,{}):f}))})}):null}},TapSensor:e=>i(V.Button.Plain,{className:c("TapSensor"),onClick:()=>{var t;(t=e.delegateAroundClick)!=null&&t&&x.close(e.sheetID)},freeCSS:{cursor:"default"},children:i(R,{className:c("TapContent")})})},x={Wrapper:()=>i(d.Wrapper,{}),open:e=>{if(e.sheetID=(e.sheetID||"").replace(/\./g,"-"),e.type=="image"){let s=e.sheetID||a.uuid.gen(),t=e,{type:r,src:o}=t,f=M(t,["type","src"]);x.open(I(h({type:"normal.topCenter",backgroundColor:"trans"},f),{sheetID:s,freeCSS:{maxWidth:"96vw",transformOrigin:"top"},content:()=>{let[v]=z(a.flatArray(o)),[n,S]=z(0),w=[],_=[];return v.forEach((g,B)=>{w.push({value:B,label:i($,{src:a.flatArray(g)[0],width:"auto",height:1,freeCSS:{maxWidth:12*6,maxHeight:12*3}})}),_.push(i($,{width:1,height:"auto",src:a.flatArray(g)[0]}))}),j(G,{gap:0,children:[j(Y.Separate,{gap:2,padding:1,backgroundColor:"1.layer.base",borderTopLeftRadius:"1.tone.primary",borderTopRightRadius:"1.tone.primary",children:[i(q.Radio,{tone:"border",icon:!1,value:n,override:"force",horizontalAlign:"center",onUpdateValidValue:({value:g})=>{S(g[0])},cellStyles:{borderWidth:2,padding:"1/3"},options:w}),j(V.Button.Border.R,{color:"cloud",isRounded:!0,onClick:()=>{x.close(s)},children:["\u9589\u3058\u308B ",i(X.Times,{})]})]}),i(Q.SwipeView,{slideIndex:n,options:{loop:v.length>1,onSlideCallback:g=>{S(g)}},slides:_,wrapper:g=>i(R,{borderBottomLeftRadius:"1.tone.primary",borderBottomRightRadius:"1.tone.primary",children:g})})]})}}));return}d.addNewSheet(e)},refresh:(e,t)=>{e.sheetID=(e.sheetID||"").replace(/\./g,"-");let s=T.get(e.sheetID);s&&s.refresh&&s.refresh(e,t)},resize:e=>{e.sheetID=(e.sheetID||"").replace(/\./g,"-");let t=T.get(e.sheetID);t&&t.resize&&t.resize(e.size)},reposition:e=>{let t=T.get("customSheet-"+e);t&&t.reposition&&t.reposition()},close:function(e,t,s){var o;e=e==null?void 0:e.replace(/\./g,"-");let r=d.contents[e];if(r&&!(t=="Escape"&&!((o=r.params.close_option)!=null&&o.escapeKeyDown))){let{params:f}=r,{sheetID:v}=f,n=T.get(v);n&&n.close&&n.close(s)}},closeGroup:e=>{var t;e=(e||"").replace(/\./g,"-");for(let[s,r]of Object.entries(d.contents))(t=r.params.sheetGroups)!=null&&t.includes(e)&&x.close(s)},closeAll:e=>{var t;for(let[s,r]of Object.entries(d.contents))e&&((t=r.params.close_option)==null?void 0:t.pageTransit)==!1||x.close(s,"pageTransit",!0)},Comps:{Body:e=>i(R,h({className:c("BaseBody"),backgroundColor:"1.layer.base",borderRadius:"1.tone.primary",position:"relative",boxShadow:"3.remark",transition:"long"},e))}};export{x as Sheet,x as default};
|
package/dist/style.css
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license amotify
|
|
3
|
-
* amotify 0.1.
|
|
3
|
+
* amotify 0.1.22
|
|
4
4
|
* https://mingoo.co.jp/
|
|
5
5
|
|
|
6
6
|
* Copyright (c) mingoo, LLC.
|
|
7
7
|
* Released under the MIT license
|
|
8
8
|
|
|
9
|
-
* Latest updated at: 2024/6/
|
|
9
|
+
* Latest updated at: 2024/6/12
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/* src/@styles/@app.scss */
|
|
@@ -1535,21 +1535,21 @@ amotify-app {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
/* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_sheet.module.scss */
|
|
1538
|
-
.
|
|
1538
|
+
._FixScroll_81ouy_1 {
|
|
1539
1539
|
overflow: hidden !important;
|
|
1540
1540
|
min-height: 0 !important;
|
|
1541
1541
|
height: calc(var(--viewHeight));
|
|
1542
1542
|
width: 100vw;
|
|
1543
1543
|
transition: var(--animation-time3);
|
|
1544
1544
|
}
|
|
1545
|
-
.
|
|
1545
|
+
._FixScroll_81ouy_1._Float_81ouy_8 {
|
|
1546
1546
|
opacity: 0.8 !important;
|
|
1547
1547
|
pointer-events: none;
|
|
1548
1548
|
transform-origin: center center;
|
|
1549
1549
|
transform: scale(0.96);
|
|
1550
1550
|
border-radius: calc((2vw + 2vh) / 2);
|
|
1551
1551
|
}
|
|
1552
|
-
.
|
|
1552
|
+
._Wrapper_81ouy_16 {
|
|
1553
1553
|
position: fixed;
|
|
1554
1554
|
top: 0;
|
|
1555
1555
|
left: 0;
|
|
@@ -1558,11 +1558,11 @@ amotify-app {
|
|
|
1558
1558
|
pointer-events: none;
|
|
1559
1559
|
z-index: 6;
|
|
1560
1560
|
}
|
|
1561
|
-
.
|
|
1561
|
+
._Wrap_81ouy_16 {
|
|
1562
1562
|
pointer-events: none !important;
|
|
1563
1563
|
height: 0;
|
|
1564
1564
|
}
|
|
1565
|
-
.
|
|
1565
|
+
._Wrap_81ouy_16 ._TapSensor_81ouy_30 {
|
|
1566
1566
|
position: sticky;
|
|
1567
1567
|
top: 0;
|
|
1568
1568
|
height: 0;
|
|
@@ -1571,158 +1571,157 @@ amotify-app {
|
|
|
1571
1571
|
-webkit-touch-callout: none;
|
|
1572
1572
|
flex: none;
|
|
1573
1573
|
}
|
|
1574
|
-
.
|
|
1574
|
+
._Wrap_81ouy_16 ._TapSensor_81ouy_30 ._TapContent_81ouy_39 {
|
|
1575
1575
|
height: var(--viewHeight);
|
|
1576
1576
|
width: 100vw;
|
|
1577
1577
|
}
|
|
1578
|
-
.
|
|
1578
|
+
._Wrap_81ouy_16._Hide_81ouy_43 {
|
|
1579
1579
|
display: none !important;
|
|
1580
1580
|
}
|
|
1581
|
-
.
|
|
1581
|
+
._Wrap_81ouy_16._Open_81ouy_46._isNewSheet_true_81ouy_46 ._Content_81ouy_46 {
|
|
1582
1582
|
pointer-events: all !important;
|
|
1583
1583
|
background-color: rgba(var(--color-dark-rgb), 0.25);
|
|
1584
1584
|
}
|
|
1585
|
-
.
|
|
1585
|
+
._Wrap_81ouy_16._Open_81ouy_46._isNewSheet_false_81ouy_50 ._BB_81ouy_50 {
|
|
1586
1586
|
pointer-events: all !important;
|
|
1587
1587
|
}
|
|
1588
|
-
.
|
|
1588
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
1589
1589
|
transform: scale(1.015);
|
|
1590
1590
|
transition: var(--animation-time1);
|
|
1591
1591
|
}
|
|
1592
|
-
.
|
|
1592
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 ._BaseBody_81ouy_57 {
|
|
1593
1593
|
transition: var(--animation-time1);
|
|
1594
1594
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_4) var(--shadow_color_remark);
|
|
1595
1595
|
}
|
|
1596
|
-
.
|
|
1596
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._BB_81ouy_50 {
|
|
1597
1597
|
transform: scale(0.75);
|
|
1598
|
-
padding: var(--grid-unit);
|
|
1599
1598
|
pointer-events: none !important;
|
|
1600
1599
|
}
|
|
1601
|
-
.
|
|
1600
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53 ._BB_81ouy_50 > * {
|
|
1602
1601
|
pointer-events: all;
|
|
1603
1602
|
}
|
|
1604
|
-
.
|
|
1603
|
+
._Wrap_81ouy_16._Tcate_normal_81ouy_53._Open_81ouy_46 ._BB_81ouy_50 {
|
|
1605
1604
|
transform: scale(1);
|
|
1606
1605
|
opacity: 1;
|
|
1607
1606
|
}
|
|
1608
|
-
.
|
|
1607
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._Content_81ouy_46 {
|
|
1609
1608
|
overflow: hidden auto;
|
|
1610
1609
|
}
|
|
1611
|
-
.
|
|
1610
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
1612
1611
|
transition: var(--animation-time1);
|
|
1613
1612
|
left: calc(-1 * var(--grid-unit) * 2);
|
|
1614
1613
|
}
|
|
1615
|
-
.
|
|
1614
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72 ._BB_81ouy_50 {
|
|
1616
1615
|
max-width: 100vw;
|
|
1617
1616
|
left: -10%;
|
|
1618
1617
|
}
|
|
1619
|
-
.
|
|
1618
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_left_81ouy_72._Open_81ouy_46 ._BB_81ouy_50 {
|
|
1620
1619
|
left: 0;
|
|
1621
1620
|
opacity: 1;
|
|
1622
1621
|
}
|
|
1623
|
-
.
|
|
1622
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._Content_81ouy_46 {
|
|
1624
1623
|
overflow: hidden auto;
|
|
1625
1624
|
}
|
|
1626
|
-
.
|
|
1625
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
1627
1626
|
transition: var(--animation-time1);
|
|
1628
1627
|
right: calc(-1 * var(--grid-unit) * 2);
|
|
1629
1628
|
}
|
|
1630
|
-
.
|
|
1629
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87 ._BB_81ouy_50 {
|
|
1631
1630
|
max-width: 100vw;
|
|
1632
1631
|
right: -10%;
|
|
1633
1632
|
}
|
|
1634
|
-
.
|
|
1633
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_right_81ouy_87._Open_81ouy_46 ._BB_81ouy_50 {
|
|
1635
1634
|
right: 0;
|
|
1636
1635
|
opacity: 1;
|
|
1637
1636
|
}
|
|
1638
|
-
.
|
|
1637
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
1639
1638
|
padding-top: 2vh !important;
|
|
1640
1639
|
transition: var(--animation-time1) !important;
|
|
1641
1640
|
}
|
|
1642
|
-
.
|
|
1641
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._BB_81ouy_50 {
|
|
1643
1642
|
padding-top: 10vh;
|
|
1644
1643
|
}
|
|
1645
|
-
.
|
|
1644
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102 ._BB_81ouy_50 ._DragBar_81ouy_109 {
|
|
1646
1645
|
position: relative;
|
|
1647
1646
|
}
|
|
1648
|
-
.
|
|
1647
|
+
._Wrap_81ouy_16._Tcate_drawer_81ouy_72._Tpos_bottom_81ouy_102._Open_81ouy_46 ._BB_81ouy_50 {
|
|
1649
1648
|
padding-top: 0;
|
|
1650
1649
|
opacity: 1 !important;
|
|
1651
1650
|
transition: var(--animation-time3);
|
|
1652
1651
|
}
|
|
1653
|
-
.
|
|
1652
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._TapSensor_81ouy_30:active + ._BB_81ouy_50 {
|
|
1654
1653
|
transform: scale(1.015);
|
|
1655
1654
|
transition: var(--animation-time1);
|
|
1656
1655
|
box-shadow: 0 0 0 transparent inset, var(--shadow_style_4) var(--shadow_color_remark);
|
|
1657
1656
|
}
|
|
1658
|
-
.
|
|
1657
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._BB_81ouy_50 {
|
|
1659
1658
|
transform: scale(0.95);
|
|
1660
1659
|
}
|
|
1661
|
-
.
|
|
1660
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._BB_81ouy_50._CustomSheet_81ouy_125 {
|
|
1662
1661
|
position: relative;
|
|
1663
1662
|
}
|
|
1664
|
-
.
|
|
1665
|
-
.
|
|
1666
|
-
.
|
|
1667
|
-
.
|
|
1663
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_1_81ouy_128,
|
|
1664
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_4_81ouy_128,
|
|
1665
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_1_81ouy_128,
|
|
1666
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_4_81ouy_128 {
|
|
1668
1667
|
transform-origin: bottom right;
|
|
1669
1668
|
}
|
|
1670
|
-
.
|
|
1671
|
-
.
|
|
1672
|
-
.
|
|
1673
|
-
.
|
|
1669
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_2_81ouy_131,
|
|
1670
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128._Row_5_81ouy_131,
|
|
1671
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_2_81ouy_131,
|
|
1672
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128._Row_5_81ouy_131 {
|
|
1674
1673
|
transform-origin: top right;
|
|
1675
1674
|
}
|
|
1676
|
-
.
|
|
1677
|
-
.
|
|
1678
|
-
.
|
|
1679
|
-
.
|
|
1675
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_1_81ouy_128,
|
|
1676
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_4_81ouy_128,
|
|
1677
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_1_81ouy_128,
|
|
1678
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_4_81ouy_128 {
|
|
1680
1679
|
transform-origin: bottom left;
|
|
1681
1680
|
}
|
|
1682
|
-
.
|
|
1683
|
-
.
|
|
1684
|
-
.
|
|
1685
|
-
.
|
|
1681
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_2_81ouy_131,
|
|
1682
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134._Row_5_81ouy_131,
|
|
1683
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_2_81ouy_131,
|
|
1684
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134._Row_5_81ouy_131 {
|
|
1686
1685
|
transform-origin: top left;
|
|
1687
1686
|
}
|
|
1688
|
-
.
|
|
1689
|
-
.
|
|
1687
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_3_81ouy_140,
|
|
1688
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_18_81ouy_140 {
|
|
1690
1689
|
transform-origin: bottom;
|
|
1691
1690
|
}
|
|
1692
|
-
.
|
|
1693
|
-
.
|
|
1691
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_8_81ouy_143,
|
|
1692
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_23_81ouy_143 {
|
|
1694
1693
|
transform-origin: top;
|
|
1695
1694
|
}
|
|
1696
|
-
.
|
|
1697
|
-
.
|
|
1695
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_11_81ouy_146,
|
|
1696
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_14_81ouy_146 {
|
|
1698
1697
|
transform-origin: right;
|
|
1699
1698
|
}
|
|
1700
|
-
.
|
|
1701
|
-
.
|
|
1699
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_12_81ouy_149,
|
|
1700
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_15_81ouy_149 {
|
|
1702
1701
|
transform-origin: left;
|
|
1703
1702
|
}
|
|
1704
|
-
.
|
|
1705
|
-
.
|
|
1703
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_1_81ouy_128,
|
|
1704
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_4_81ouy_128 {
|
|
1706
1705
|
right: 0;
|
|
1707
1706
|
justify-content: flex-end;
|
|
1708
1707
|
}
|
|
1709
|
-
.
|
|
1710
|
-
.
|
|
1708
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_2_81ouy_134,
|
|
1709
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_5_81ouy_134 {
|
|
1711
1710
|
left: 0;
|
|
1712
1711
|
}
|
|
1713
|
-
.
|
|
1712
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Col_3_81ouy_159 {
|
|
1714
1713
|
align-items: center;
|
|
1715
1714
|
justify-content: center;
|
|
1716
1715
|
}
|
|
1717
|
-
.
|
|
1718
|
-
.
|
|
1716
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_1_81ouy_128,
|
|
1717
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_4_81ouy_128 {
|
|
1719
1718
|
bottom: 0;
|
|
1720
1719
|
}
|
|
1721
|
-
.
|
|
1722
|
-
.
|
|
1720
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_2_81ouy_131,
|
|
1721
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117 ._GPT_81ouy_128._Row_5_81ouy_131 {
|
|
1723
1722
|
top: 0;
|
|
1724
1723
|
}
|
|
1725
|
-
.
|
|
1724
|
+
._Wrap_81ouy_16._Tcate_custom_81ouy_117._Open_81ouy_46 ._BB_81ouy_50 {
|
|
1726
1725
|
transform: scale(1);
|
|
1727
1726
|
opacity: 1;
|
|
1728
1727
|
}
|
package/dist/style.js
CHANGED
|
@@ -57,45 +57,45 @@ var f_snackbar_module_default = {
|
|
|
57
57
|
|
|
58
58
|
// src/@styles/componentClasses/f_sheet.module.scss
|
|
59
59
|
var f_sheet_module_default = {
|
|
60
|
-
"FixScroll": "
|
|
61
|
-
"Float": "
|
|
62
|
-
"Wrapper": "
|
|
63
|
-
"Wrap": "
|
|
64
|
-
"TapSensor": "
|
|
65
|
-
"TapContent": "
|
|
66
|
-
"Hide": "
|
|
67
|
-
"Open": "
|
|
68
|
-
"isNewSheet_true": "
|
|
69
|
-
"Content": "
|
|
70
|
-
"isNewSheet_false": "
|
|
71
|
-
"BB": "
|
|
72
|
-
"Tcate_normal": "
|
|
73
|
-
"BaseBody": "
|
|
74
|
-
"Tcate_drawer": "
|
|
75
|
-
"Tpos_left": "
|
|
76
|
-
"Tpos_right": "
|
|
77
|
-
"Tpos_bottom": "
|
|
78
|
-
"DragBar": "
|
|
79
|
-
"Tcate_custom": "
|
|
80
|
-
"CustomSheet": "
|
|
81
|
-
"GPT": "
|
|
82
|
-
"Col_1": "
|
|
83
|
-
"Row_1": "
|
|
84
|
-
"Row_4": "
|
|
85
|
-
"Col_4": "
|
|
86
|
-
"Row_2": "
|
|
87
|
-
"Row_5": "
|
|
88
|
-
"Col_2": "
|
|
89
|
-
"Col_5": "
|
|
90
|
-
"GPT_3": "
|
|
91
|
-
"GPT_18": "
|
|
92
|
-
"GPT_8": "
|
|
93
|
-
"GPT_23": "
|
|
94
|
-
"GPT_11": "
|
|
95
|
-
"GPT_14": "
|
|
96
|
-
"GPT_12": "
|
|
97
|
-
"GPT_15": "
|
|
98
|
-
"Col_3": "
|
|
60
|
+
"FixScroll": "_FixScroll_81ouy_1",
|
|
61
|
+
"Float": "_Float_81ouy_8",
|
|
62
|
+
"Wrapper": "_Wrapper_81ouy_16",
|
|
63
|
+
"Wrap": "_Wrap_81ouy_16",
|
|
64
|
+
"TapSensor": "_TapSensor_81ouy_30",
|
|
65
|
+
"TapContent": "_TapContent_81ouy_39",
|
|
66
|
+
"Hide": "_Hide_81ouy_43",
|
|
67
|
+
"Open": "_Open_81ouy_46",
|
|
68
|
+
"isNewSheet_true": "_isNewSheet_true_81ouy_46",
|
|
69
|
+
"Content": "_Content_81ouy_46",
|
|
70
|
+
"isNewSheet_false": "_isNewSheet_false_81ouy_50",
|
|
71
|
+
"BB": "_BB_81ouy_50",
|
|
72
|
+
"Tcate_normal": "_Tcate_normal_81ouy_53",
|
|
73
|
+
"BaseBody": "_BaseBody_81ouy_57",
|
|
74
|
+
"Tcate_drawer": "_Tcate_drawer_81ouy_72",
|
|
75
|
+
"Tpos_left": "_Tpos_left_81ouy_72",
|
|
76
|
+
"Tpos_right": "_Tpos_right_81ouy_87",
|
|
77
|
+
"Tpos_bottom": "_Tpos_bottom_81ouy_102",
|
|
78
|
+
"DragBar": "_DragBar_81ouy_109",
|
|
79
|
+
"Tcate_custom": "_Tcate_custom_81ouy_117",
|
|
80
|
+
"CustomSheet": "_CustomSheet_81ouy_125",
|
|
81
|
+
"GPT": "_GPT_81ouy_128",
|
|
82
|
+
"Col_1": "_Col_1_81ouy_128",
|
|
83
|
+
"Row_1": "_Row_1_81ouy_128",
|
|
84
|
+
"Row_4": "_Row_4_81ouy_128",
|
|
85
|
+
"Col_4": "_Col_4_81ouy_128",
|
|
86
|
+
"Row_2": "_Row_2_81ouy_131",
|
|
87
|
+
"Row_5": "_Row_5_81ouy_131",
|
|
88
|
+
"Col_2": "_Col_2_81ouy_134",
|
|
89
|
+
"Col_5": "_Col_5_81ouy_134",
|
|
90
|
+
"GPT_3": "_GPT_3_81ouy_140",
|
|
91
|
+
"GPT_18": "_GPT_18_81ouy_140",
|
|
92
|
+
"GPT_8": "_GPT_8_81ouy_143",
|
|
93
|
+
"GPT_23": "_GPT_23_81ouy_143",
|
|
94
|
+
"GPT_11": "_GPT_11_81ouy_146",
|
|
95
|
+
"GPT_14": "_GPT_14_81ouy_146",
|
|
96
|
+
"GPT_12": "_GPT_12_81ouy_149",
|
|
97
|
+
"GPT_15": "_GPT_15_81ouy_149",
|
|
98
|
+
"Col_3": "_Col_3_81ouy_159"
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
// src/@styles/componentClasses/f_loader.module.scss
|