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