amotify 0.1.44 → 0.1.45

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.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.43
3
+ * amotify 0.1.44
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/24
9
+ * Latest updated at: 2024/6/25
10
10
  */
11
11
 
12
12
  /* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/a_img.module.scss */
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
 
1025
1025
  /* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_input.module.scss */
1026
- ._Wrapper_gmkyt_1 textarea {
1026
+ ._Wrapper_m8cj1_1 textarea {
1027
1027
  display: block;
1028
1028
  width: 100%;
1029
1029
  min-height: calc(var(--grid-unit) * 4);
@@ -1033,44 +1033,44 @@
1033
1033
  box-shadow,
1034
1034
  background-color !important;
1035
1035
  }
1036
- ._Wrapper_gmkyt_1 input,
1037
- ._Wrapper_gmkyt_1 select,
1038
- ._Wrapper_gmkyt_1 textarea {
1036
+ ._Wrapper_m8cj1_1 input,
1037
+ ._Wrapper_m8cj1_1 select,
1038
+ ._Wrapper_m8cj1_1 textarea {
1039
1039
  display: inline-block;
1040
1040
  }
1041
- ._Wrapper_gmkyt_1 input[disabled],
1042
- ._Wrapper_gmkyt_1 select[disabled],
1043
- ._Wrapper_gmkyt_1 textarea[disabled] {
1041
+ ._Wrapper_m8cj1_1 input[disabled],
1042
+ ._Wrapper_m8cj1_1 select[disabled],
1043
+ ._Wrapper_m8cj1_1 textarea[disabled] {
1044
1044
  box-shadow: none !important;
1045
1045
  background-color: hsl(var(--color-layer3-hsl)) !important;
1046
1046
  color: rgb(var(--font-color5-rgb)) !important;
1047
1047
  filter: grayscale(50%);
1048
1048
  cursor: not-allowed !important;
1049
1049
  }
1050
- ._Wrapper_gmkyt_1 input,
1051
- ._Wrapper_gmkyt_1 textarea {
1050
+ ._Wrapper_m8cj1_1 input,
1051
+ ._Wrapper_m8cj1_1 textarea {
1052
1052
  cursor: text;
1053
1053
  }
1054
- ._Wrapper_gmkyt_1 input::placeholder,
1055
- ._Wrapper_gmkyt_1 textarea::placeholder {
1054
+ ._Wrapper_m8cj1_1 input::placeholder,
1055
+ ._Wrapper_m8cj1_1 textarea::placeholder {
1056
1056
  font-family: inherit;
1057
1057
  color: rgb(var(--font-color4-rgb));
1058
1058
  }
1059
- ._Wrapper_gmkyt_1 input {
1059
+ ._Wrapper_m8cj1_1 input {
1060
1060
  min-width: 0;
1061
1061
  display: block;
1062
1062
  }
1063
- ._Wrapper_gmkyt_1 input[type=text],
1064
- ._Wrapper_gmkyt_1 input[type=number] {
1063
+ ._Wrapper_m8cj1_1 input[type=text],
1064
+ ._Wrapper_m8cj1_1 input[type=number] {
1065
1065
  width: 100%;
1066
1066
  }
1067
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-inner-spin-button,
1068
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-outer-spin-button {
1067
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-inner-spin-button,
1068
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-outer-spin-button {
1069
1069
  -webkit-appearance: none;
1070
1070
  }
1071
- ._Wrapper_gmkyt_1 input[type=radio],
1072
- ._Wrapper_gmkyt_1 input[type=checkbox],
1073
- ._Wrapper_gmkyt_1 input[type=file] {
1071
+ ._Wrapper_m8cj1_1 input[type=radio],
1072
+ ._Wrapper_m8cj1_1 input[type=checkbox],
1073
+ ._Wrapper_m8cj1_1 input[type=file] {
1074
1074
  opacity: 0;
1075
1075
  width: 0;
1076
1076
  height: 0;
@@ -1078,51 +1078,48 @@
1078
1078
  position: absolute;
1079
1079
  appearance: none;
1080
1080
  }
1081
- ._Wrapper_gmkyt_1 input:-webkit-autofill {
1081
+ ._Wrapper_m8cj1_1 input:-webkit-autofill {
1082
1082
  box-shadow: 0 0 0 100rem hsl(var(--color-layer3-hsl)) inset !important;
1083
1083
  -webkit-text-fill-color: rgb(var(--font-color3-rgb));
1084
1084
  }
1085
- ._Input_gmkyt_48 {
1085
+ ._Input_m8cj1_48 {
1086
1086
  outline: none !important;
1087
1087
  }
1088
- ._Input_gmkyt_48:focus,
1089
- ._Input_gmkyt_48:active {
1088
+ ._Input_m8cj1_48:focus,
1089
+ ._Input_m8cj1_48:active {
1090
1090
  z-index: 1;
1091
1091
  background-color: hsl(var(--color-layer1-hsl));
1092
1092
  }
1093
- ._Input_gmkyt_48:focus {
1093
+ ._Input_m8cj1_48:focus {
1094
1094
  border-color: hsl(var(--color-theme-hsl)) !important;
1095
1095
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
1096
1096
  }
1097
- ._Input_gmkyt_48:active {
1097
+ ._Input_m8cj1_48:active {
1098
1098
  box-shadow: 0 0 0 transparent inset, 0 0 0 transparent;
1099
1099
  transition: var(--animation-time3);
1100
1100
  }
1101
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
1101
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
1102
1102
  z-index: 1;
1103
1103
  background-color: hsl(var(--color-layer1-hsl));
1104
1104
  }
1105
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
1105
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
1106
1106
  border-color: hsl(var(--color-theme-hsl)) !important;
1107
1107
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
1108
1108
  }
1109
- @keyframes _ShowCell_gmkyt_1 {
1109
+ @keyframes _ShowCell_m8cj1_1 {
1110
1110
  100% {
1111
1111
  opacity: 1;
1112
1112
  transform: scale(1);
1113
1113
  }
1114
1114
  }
1115
- ._IndicatorIcon_gmkyt_78 {
1116
- transform: translateY(-50%);
1117
- }
1118
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:not(:first-child):not(:last-child) {
1115
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:not(:first-child):not(:last-child) {
1119
1116
  border-radius: 0 !important;
1120
1117
  }
1121
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:first-child {
1118
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:first-child {
1122
1119
  border-top-right-radius: 0 !important;
1123
1120
  border-bottom-right-radius: 0 !important;
1124
1121
  }
1125
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:last-child {
1122
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:last-child {
1126
1123
  border-top-left-radius: 0 !important;
1127
1124
  border-bottom-left-radius: 0 !important;
1128
1125
  }
@@ -240,13 +240,12 @@ var f_button_module_default = {
240
240
 
241
241
  // src/@styles/componentClasses/f_input.module.scss
242
242
  var f_input_module_default = {
243
- "Wrapper": "_Wrapper_gmkyt_1",
244
- "Input": "_Input_gmkyt_48",
245
- "InputCover": "_InputCover_gmkyt_63",
246
- "IndicatorIcon": "_IndicatorIcon_gmkyt_78",
247
- "DigitCharacterCell": "_DigitCharacterCell_gmkyt_82",
248
- "Combined": "_Combined_gmkyt_82",
249
- "ShowCell": "_ShowCell_gmkyt_1"
243
+ "Wrapper": "_Wrapper_m8cj1_1",
244
+ "Input": "_Input_m8cj1_48",
245
+ "InputCover": "_InputCover_m8cj1_63",
246
+ "DigitCharacterCell": "_DigitCharacterCell_m8cj1_78",
247
+ "Combined": "_Combined_m8cj1_78",
248
+ "ShowCell": "_ShowCell_m8cj1_1"
250
249
  };
251
250
 
252
251
  // src/@styles/componentClasses/f_input_chips.module.scss
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.43
3
+ * amotify 0.1.44
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/24
9
+ * Latest updated at: 2024/6/25
10
10
  */
11
11
 
12
12
  /* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/a_img.module.scss */
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
 
1025
1025
  /* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_input.module.scss */
1026
- ._Wrapper_gmkyt_1 textarea {
1026
+ ._Wrapper_m8cj1_1 textarea {
1027
1027
  display: block;
1028
1028
  width: 100%;
1029
1029
  min-height: calc(var(--grid-unit) * 4);
@@ -1033,44 +1033,44 @@
1033
1033
  box-shadow,
1034
1034
  background-color !important;
1035
1035
  }
1036
- ._Wrapper_gmkyt_1 input,
1037
- ._Wrapper_gmkyt_1 select,
1038
- ._Wrapper_gmkyt_1 textarea {
1036
+ ._Wrapper_m8cj1_1 input,
1037
+ ._Wrapper_m8cj1_1 select,
1038
+ ._Wrapper_m8cj1_1 textarea {
1039
1039
  display: inline-block;
1040
1040
  }
1041
- ._Wrapper_gmkyt_1 input[disabled],
1042
- ._Wrapper_gmkyt_1 select[disabled],
1043
- ._Wrapper_gmkyt_1 textarea[disabled] {
1041
+ ._Wrapper_m8cj1_1 input[disabled],
1042
+ ._Wrapper_m8cj1_1 select[disabled],
1043
+ ._Wrapper_m8cj1_1 textarea[disabled] {
1044
1044
  box-shadow: none !important;
1045
1045
  background-color: hsl(var(--color-layer3-hsl)) !important;
1046
1046
  color: rgb(var(--font-color5-rgb)) !important;
1047
1047
  filter: grayscale(50%);
1048
1048
  cursor: not-allowed !important;
1049
1049
  }
1050
- ._Wrapper_gmkyt_1 input,
1051
- ._Wrapper_gmkyt_1 textarea {
1050
+ ._Wrapper_m8cj1_1 input,
1051
+ ._Wrapper_m8cj1_1 textarea {
1052
1052
  cursor: text;
1053
1053
  }
1054
- ._Wrapper_gmkyt_1 input::placeholder,
1055
- ._Wrapper_gmkyt_1 textarea::placeholder {
1054
+ ._Wrapper_m8cj1_1 input::placeholder,
1055
+ ._Wrapper_m8cj1_1 textarea::placeholder {
1056
1056
  font-family: inherit;
1057
1057
  color: rgb(var(--font-color4-rgb));
1058
1058
  }
1059
- ._Wrapper_gmkyt_1 input {
1059
+ ._Wrapper_m8cj1_1 input {
1060
1060
  min-width: 0;
1061
1061
  display: block;
1062
1062
  }
1063
- ._Wrapper_gmkyt_1 input[type=text],
1064
- ._Wrapper_gmkyt_1 input[type=number] {
1063
+ ._Wrapper_m8cj1_1 input[type=text],
1064
+ ._Wrapper_m8cj1_1 input[type=number] {
1065
1065
  width: 100%;
1066
1066
  }
1067
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-inner-spin-button,
1068
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-outer-spin-button {
1067
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-inner-spin-button,
1068
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-outer-spin-button {
1069
1069
  -webkit-appearance: none;
1070
1070
  }
1071
- ._Wrapper_gmkyt_1 input[type=radio],
1072
- ._Wrapper_gmkyt_1 input[type=checkbox],
1073
- ._Wrapper_gmkyt_1 input[type=file] {
1071
+ ._Wrapper_m8cj1_1 input[type=radio],
1072
+ ._Wrapper_m8cj1_1 input[type=checkbox],
1073
+ ._Wrapper_m8cj1_1 input[type=file] {
1074
1074
  opacity: 0;
1075
1075
  width: 0;
1076
1076
  height: 0;
@@ -1078,51 +1078,48 @@
1078
1078
  position: absolute;
1079
1079
  appearance: none;
1080
1080
  }
1081
- ._Wrapper_gmkyt_1 input:-webkit-autofill {
1081
+ ._Wrapper_m8cj1_1 input:-webkit-autofill {
1082
1082
  box-shadow: 0 0 0 100rem hsl(var(--color-layer3-hsl)) inset !important;
1083
1083
  -webkit-text-fill-color: rgb(var(--font-color3-rgb));
1084
1084
  }
1085
- ._Input_gmkyt_48 {
1085
+ ._Input_m8cj1_48 {
1086
1086
  outline: none !important;
1087
1087
  }
1088
- ._Input_gmkyt_48:focus,
1089
- ._Input_gmkyt_48:active {
1088
+ ._Input_m8cj1_48:focus,
1089
+ ._Input_m8cj1_48:active {
1090
1090
  z-index: 1;
1091
1091
  background-color: hsl(var(--color-layer1-hsl));
1092
1092
  }
1093
- ._Input_gmkyt_48:focus {
1093
+ ._Input_m8cj1_48:focus {
1094
1094
  border-color: hsl(var(--color-theme-hsl)) !important;
1095
1095
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
1096
1096
  }
1097
- ._Input_gmkyt_48:active {
1097
+ ._Input_m8cj1_48:active {
1098
1098
  box-shadow: 0 0 0 transparent inset, 0 0 0 transparent;
1099
1099
  transition: var(--animation-time3);
1100
1100
  }
1101
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
1101
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
1102
1102
  z-index: 1;
1103
1103
  background-color: hsl(var(--color-layer1-hsl));
1104
1104
  }
1105
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
1105
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
1106
1106
  border-color: hsl(var(--color-theme-hsl)) !important;
1107
1107
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
1108
1108
  }
1109
- @keyframes _ShowCell_gmkyt_1 {
1109
+ @keyframes _ShowCell_m8cj1_1 {
1110
1110
  100% {
1111
1111
  opacity: 1;
1112
1112
  transform: scale(1);
1113
1113
  }
1114
1114
  }
1115
- ._IndicatorIcon_gmkyt_78 {
1116
- transform: translateY(-50%);
1117
- }
1118
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:not(:first-child):not(:last-child) {
1115
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:not(:first-child):not(:last-child) {
1119
1116
  border-radius: 0 !important;
1120
1117
  }
1121
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:first-child {
1118
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:first-child {
1122
1119
  border-top-right-radius: 0 !important;
1123
1120
  border-bottom-right-radius: 0 !important;
1124
1121
  }
1125
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:last-child {
1122
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:last-child {
1126
1123
  border-top-left-radius: 0 !important;
1127
1124
  border-bottom-left-radius: 0 !important;
1128
1125
  }
@@ -240,13 +240,12 @@ var f_button_module_default = {
240
240
 
241
241
  // src/@styles/componentClasses/f_input.module.scss
242
242
  var f_input_module_default = {
243
- "Wrapper": "_Wrapper_gmkyt_1",
244
- "Input": "_Input_gmkyt_48",
245
- "InputCover": "_InputCover_gmkyt_63",
246
- "IndicatorIcon": "_IndicatorIcon_gmkyt_78",
247
- "DigitCharacterCell": "_DigitCharacterCell_gmkyt_82",
248
- "Combined": "_Combined_gmkyt_82",
249
- "ShowCell": "_ShowCell_gmkyt_1"
243
+ "Wrapper": "_Wrapper_m8cj1_1",
244
+ "Input": "_Input_m8cj1_48",
245
+ "InputCover": "_InputCover_m8cj1_63",
246
+ "DigitCharacterCell": "_DigitCharacterCell_m8cj1_78",
247
+ "Combined": "_Combined_m8cj1_78",
248
+ "ShowCell": "_ShowCell_m8cj1_1"
250
249
  };
251
250
 
252
251
  // src/@styles/componentClasses/f_input_chips.module.scss
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.43
3
+ * amotify 0.1.44
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/24
9
+ * Latest updated at: 2024/6/25
10
10
  */
11
11
 
12
12
  /* src/@styles/init.scss */
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.43
3
+ * amotify 0.1.44
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/24
9
+ * Latest updated at: 2024/6/25
10
10
  */
11
11
 
12
12
  /* src/@styles/@app.scss */
@@ -2370,7 +2370,7 @@ amotify-app {
2370
2370
  }
2371
2371
 
2372
2372
  /* esbuild-sass-plugin:css-chunk:src/@styles/componentClasses/f_input.module.scss */
2373
- ._Wrapper_gmkyt_1 textarea {
2373
+ ._Wrapper_m8cj1_1 textarea {
2374
2374
  display: block;
2375
2375
  width: 100%;
2376
2376
  min-height: calc(var(--grid-unit) * 4);
@@ -2380,44 +2380,44 @@ amotify-app {
2380
2380
  box-shadow,
2381
2381
  background-color !important;
2382
2382
  }
2383
- ._Wrapper_gmkyt_1 input,
2384
- ._Wrapper_gmkyt_1 select,
2385
- ._Wrapper_gmkyt_1 textarea {
2383
+ ._Wrapper_m8cj1_1 input,
2384
+ ._Wrapper_m8cj1_1 select,
2385
+ ._Wrapper_m8cj1_1 textarea {
2386
2386
  display: inline-block;
2387
2387
  }
2388
- ._Wrapper_gmkyt_1 input[disabled],
2389
- ._Wrapper_gmkyt_1 select[disabled],
2390
- ._Wrapper_gmkyt_1 textarea[disabled] {
2388
+ ._Wrapper_m8cj1_1 input[disabled],
2389
+ ._Wrapper_m8cj1_1 select[disabled],
2390
+ ._Wrapper_m8cj1_1 textarea[disabled] {
2391
2391
  box-shadow: none !important;
2392
2392
  background-color: hsl(var(--color-layer3-hsl)) !important;
2393
2393
  color: rgb(var(--font-color5-rgb)) !important;
2394
2394
  filter: grayscale(50%);
2395
2395
  cursor: not-allowed !important;
2396
2396
  }
2397
- ._Wrapper_gmkyt_1 input,
2398
- ._Wrapper_gmkyt_1 textarea {
2397
+ ._Wrapper_m8cj1_1 input,
2398
+ ._Wrapper_m8cj1_1 textarea {
2399
2399
  cursor: text;
2400
2400
  }
2401
- ._Wrapper_gmkyt_1 input::placeholder,
2402
- ._Wrapper_gmkyt_1 textarea::placeholder {
2401
+ ._Wrapper_m8cj1_1 input::placeholder,
2402
+ ._Wrapper_m8cj1_1 textarea::placeholder {
2403
2403
  font-family: inherit;
2404
2404
  color: rgb(var(--font-color4-rgb));
2405
2405
  }
2406
- ._Wrapper_gmkyt_1 input {
2406
+ ._Wrapper_m8cj1_1 input {
2407
2407
  min-width: 0;
2408
2408
  display: block;
2409
2409
  }
2410
- ._Wrapper_gmkyt_1 input[type=text],
2411
- ._Wrapper_gmkyt_1 input[type=number] {
2410
+ ._Wrapper_m8cj1_1 input[type=text],
2411
+ ._Wrapper_m8cj1_1 input[type=number] {
2412
2412
  width: 100%;
2413
2413
  }
2414
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-inner-spin-button,
2415
- ._Wrapper_gmkyt_1 input[type=number]::-webkit-outer-spin-button {
2414
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-inner-spin-button,
2415
+ ._Wrapper_m8cj1_1 input[type=number]::-webkit-outer-spin-button {
2416
2416
  -webkit-appearance: none;
2417
2417
  }
2418
- ._Wrapper_gmkyt_1 input[type=radio],
2419
- ._Wrapper_gmkyt_1 input[type=checkbox],
2420
- ._Wrapper_gmkyt_1 input[type=file] {
2418
+ ._Wrapper_m8cj1_1 input[type=radio],
2419
+ ._Wrapper_m8cj1_1 input[type=checkbox],
2420
+ ._Wrapper_m8cj1_1 input[type=file] {
2421
2421
  opacity: 0;
2422
2422
  width: 0;
2423
2423
  height: 0;
@@ -2425,51 +2425,48 @@ amotify-app {
2425
2425
  position: absolute;
2426
2426
  appearance: none;
2427
2427
  }
2428
- ._Wrapper_gmkyt_1 input:-webkit-autofill {
2428
+ ._Wrapper_m8cj1_1 input:-webkit-autofill {
2429
2429
  box-shadow: 0 0 0 100rem hsl(var(--color-layer3-hsl)) inset !important;
2430
2430
  -webkit-text-fill-color: rgb(var(--font-color3-rgb));
2431
2431
  }
2432
- ._Input_gmkyt_48 {
2432
+ ._Input_m8cj1_48 {
2433
2433
  outline: none !important;
2434
2434
  }
2435
- ._Input_gmkyt_48:focus,
2436
- ._Input_gmkyt_48:active {
2435
+ ._Input_m8cj1_48:focus,
2436
+ ._Input_m8cj1_48:active {
2437
2437
  z-index: 1;
2438
2438
  background-color: hsl(var(--color-layer1-hsl));
2439
2439
  }
2440
- ._Input_gmkyt_48:focus {
2440
+ ._Input_m8cj1_48:focus {
2441
2441
  border-color: hsl(var(--color-theme-hsl)) !important;
2442
2442
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
2443
2443
  }
2444
- ._Input_gmkyt_48:active {
2444
+ ._Input_m8cj1_48:active {
2445
2445
  box-shadow: 0 0 0 transparent inset, 0 0 0 transparent;
2446
2446
  transition: var(--animation-time3);
2447
2447
  }
2448
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
2448
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
2449
2449
  z-index: 1;
2450
2450
  background-color: hsl(var(--color-layer1-hsl));
2451
2451
  }
2452
- ._Input_gmkyt_48._InputCover_gmkyt_63:focus-within {
2452
+ ._Input_m8cj1_48._InputCover_m8cj1_63:focus-within {
2453
2453
  border-color: hsl(var(--color-theme-hsl)) !important;
2454
2454
  box-shadow: 0 0 0 transparent inset, 0 0 0 calc(var(--grid-unit) * 1 / 3) hsla(var(--color-theme-hsl), var(--color-theme-opacity-low));
2455
2455
  }
2456
- @keyframes _ShowCell_gmkyt_1 {
2456
+ @keyframes _ShowCell_m8cj1_1 {
2457
2457
  100% {
2458
2458
  opacity: 1;
2459
2459
  transform: scale(1);
2460
2460
  }
2461
2461
  }
2462
- ._IndicatorIcon_gmkyt_78 {
2463
- transform: translateY(-50%);
2464
- }
2465
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:not(:first-child):not(:last-child) {
2462
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:not(:first-child):not(:last-child) {
2466
2463
  border-radius: 0 !important;
2467
2464
  }
2468
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:first-child {
2465
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:first-child {
2469
2466
  border-top-right-radius: 0 !important;
2470
2467
  border-bottom-right-radius: 0 !important;
2471
2468
  }
2472
- ._DigitCharacterCell_gmkyt_82._Combined_gmkyt_82:last-child {
2469
+ ._DigitCharacterCell_m8cj1_78._Combined_m8cj1_78:last-child {
2473
2470
  border-top-left-radius: 0 !important;
2474
2471
  border-bottom-left-radius: 0 !important;
2475
2472
  }
@@ -240,13 +240,12 @@ var f_button_module_default = {
240
240
 
241
241
  // src/@styles/componentClasses/f_input.module.scss
242
242
  var f_input_module_default = {
243
- "Wrapper": "_Wrapper_gmkyt_1",
244
- "Input": "_Input_gmkyt_48",
245
- "InputCover": "_InputCover_gmkyt_63",
246
- "IndicatorIcon": "_IndicatorIcon_gmkyt_78",
247
- "DigitCharacterCell": "_DigitCharacterCell_gmkyt_82",
248
- "Combined": "_Combined_gmkyt_82",
249
- "ShowCell": "_ShowCell_gmkyt_1"
243
+ "Wrapper": "_Wrapper_m8cj1_1",
244
+ "Input": "_Input_m8cj1_48",
245
+ "InputCover": "_InputCover_m8cj1_63",
246
+ "DigitCharacterCell": "_DigitCharacterCell_m8cj1_78",
247
+ "Combined": "_Combined_m8cj1_78",
248
+ "ShowCell": "_ShowCell_m8cj1_1"
250
249
  };
251
250
 
252
251
  // src/@styles/componentClasses/f_input_chips.module.scss
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * @license amotify
3
- * amotify 0.1.43
3
+ * amotify 0.1.44
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/24
9
+ * Latest updated at: 2024/6/25
10
10
  */
11
11
 
12
12
  /* src/@styles/var.scss */
@@ -1 +1 @@
1
- import{b as t,c as n,d}from"../../chunk-VY3566IV.js";import{jsx as a}from"react/jsx-runtime";import p from"../../atoms/Box";import s from"../../atoms/Span";import{DefaultStyles as c}from"./core";import{InputClasses as u}from"../../@styles/componentClasses/_";const I={RequiredSign:e=>a(s,t({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary",children:"\u5FC5\u9808"},e)),RequiredShortSign:e=>a(s,t({fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",children:"*"},e)),OmitSign:e=>a(s,t({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6",children:"\u7701\u7565\u53EF"},e)),LeftIndicator:e=>{let r=e,{tone:i}=r,o=d(r,["tone"]);return a(p,t(n(t({},c.Indicator(i)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),o))},RightIndicator:e=>{let r=e,{tone:i}=r,o=d(r,["tone"]);return a(p,t(n(t({},c.Indicator(i)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),o))},RightIcon:e=>{let r=e,{tone:i="border"}=r,o=d(r,["tone"]);return a(p,n(t(n(t({},c.IndicatorIcon),{right:"3/4",className:u("IndicatorIcon")}),o),{freeCSS:t({zIndex:6,pointerEvents:"none"},o.freeCSS)}))},LeftIcon:e=>{let r=e,{tone:i="border"}=r,o=d(r,["tone"]);return a(p,n(t(n(t({},c.IndicatorIcon),{left:"3/4",className:u("IndicatorIcon")}),o),{freeCSS:t({zIndex:6,pointerEvents:"none"},o.freeCSS)}))}};export{I as Parts,I as default};
1
+ import{b as t,c as n,d as p}from"../../chunk-VY3566IV.js";import{jsx as i}from"react/jsx-runtime";import c from"../../atoms/Box";import s from"../../atoms/Span";import{DefaultStyles as a}from"./core";const u={RequiredSign:e=>i(s,t({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],backgroundColor:"nega",borderRadius:"3.tone.tertiary",children:"\u5FC5\u9808"},e)),RequiredShortSign:e=>i(s,t({fontColor:"nega",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",children:"*"},e)),OmitSign:e=>i(s,t({fontColor:"white",fontSize:"0.xs",padding:["1/4","1/3"],borderRadius:"3.tone.tertiary",backgroundColor:"layer.6",children:"\u7701\u7565\u53EF"},e)),LeftIndicator:e=>{let r=e,{tone:d}=r,o=p(r,["tone"]);return i(c,t(n(t({},a.Indicator(d)),{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3"}),o))},RightIndicator:e=>{let r=e,{tone:d}=r,o=p(r,["tone"]);return i(c,t(n(t({},a.Indicator(d)),{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3"}),o))},RightIcon:e=>{let r=e,{tone:d="border"}=r,o=p(r,["tone"]);return i(c,n(t(n(t({},a.IndicatorIcon),{right:"3/4"}),o),{freeCSS:t(t({zIndex:6,pointerEvents:"none"},a.IndicatorIcon.freeCSS),o.freeCSS)}))},LeftIcon:e=>{let r=e,{tone:d="border"}=r,o=p(r,["tone"]);return i(c,n(t(n(t({},a.IndicatorIcon),{left:"3/4"}),o),{freeCSS:t(t({zIndex:6,pointerEvents:"none"},a.IndicatorIcon.freeCSS),o.freeCSS)}))}};export{u as Parts,u as default};
@@ -1 +1 @@
1
- import{b as o,c as a,e as B}from"../../chunk-VY3566IV.js";import{jsx as m,jsxs as b}from"react/jsx-runtime";import{useState as N,useEffect as T,useRef as O}from"react";import{$$ as l,$$fromRoot as W,Config as z,useStore as v,GenerateClassName as P}from"../../@utils/_";import{InputClasses as k}from"../../@styles/componentClasses/_";import x from"../../atoms/Box";import E from"../../atoms/Flex";import V from"../../atoms/FAI";import L from"../../mols/Row";import A from"../../mols/Column";import U from"../Button";import D from"../Tooltips";const se=e=>{let[t]=N(e.componentID||l.uuid.gen());e=o({},e),e.params=a(o({enableFormSubmit:!0,status_id:l.uuid.gen(),override:"never",name:l.uuid.gen(),id:l.uuid.gen(),"aria-label":"Input-"+t},e.params),{componentID:t});let{children:n}=e;return m(n,o({},e.params))},ue=e=>{let{children:t,val_status:n,set_status:r,val_validate:c,params:i}=e,{clearButton:s,rightIcon:u,leftIcon:p,wrapStyles:y}=i;return n.eventType=="init"&&!i.checkValidationAtFirst&&(c.notice=[]),b(x,a(o({position:"relative"},y),{id:"BoxWrapper-"+n.componentID,children:[b(E,{flexWrap:!1,flexSizing:0,className:k("Wrapper"),children:[i.leftIndicator,b(E,{position:"relative",flexSizing:"auto",children:[p,t,s&&n.dataValue?m(U.Button.Normal.R,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3},className:k("IndicatorIcon"),onClick:()=>{r(a(o({},n),{dataValue:"",formatValue:"",eventType:"update",eventID:l.uuid.gen()}))},children:m(V.Times,{})}):u]}),i.rightIndicator]}),m($,{notice:c.notice,val_status:n})]}))},$=e=>{let{notice:t,val_status:n}=e,{componentID:r,eventType:c}=n;l.interval.clear("NoticeTimer-"+r),l.interval.clear("NoticeTimerClose-"+r);let i="notice-"+e.val_status.componentID,s="notice-tips-"+e.val_status.componentID;if(!t.length)return D.close(s),null;let u=t.map(p=>{let{type:y,label:I}=p,S=y=="invalid"?V.Times:y=="warn"?V.Exclamation:V.Check;return b(L.Left,{gap:0,borderRadius:"2.tone.secondary",children:[m(S,{flexCenter:!0,fontSize:"3.paragraph",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[y]}),m(x,{fontColor:"white",children:I})]})});return l.interval.standBy("NoticeTimer-"+r,350,()=>{D.open({tipsID:s,parent:"#"+i,padding:["1/2",0],content:b(D.Comps.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[m(x,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),m(A,{gap:"1/3",position:"relative",freeCSS:{zIndex:2},backgroundColor:"inherit",children:u})]})}),l.interval.standBy("NoticeTimerClose-"+r,7500,()=>{D.close(s)})}),m(x,{className:k("Notices"),id:i})},de=e=>{let{type:t,params:n,val_status:r,set_status:c,ExtraOverrideParams:i,ExtraStoreParams:s,val_validate:u,set_validate:p,DefaultValidation:y,onUpdateValue:I,onUpdateValidValue:S}=e;n=o({},n);let{componentID:R}=r,[w,F]=N(l.uuid.gen());T(()=>(v.update({key:R,value:o({ResolveRefresh:null,Refresh:()=>new Promise((d,f)=>{v.get(R).ResolveRefresh=d,F(l.uuid.gen())}),GenNotice:d=>{let{ok:f,notice:h}=d;p({ok:f,notice:h})}},s)}),()=>{v.delete(R)}),[]);const _=O(!1);T(()=>{_.current?c(a(o({},r),{eventType:"refresh",eventID:l.uuid.gen()})):_.current=!0},[w]),T(()=>{n.value=r.dataValue,l.interval.clear("ValidationTimer-"+R),j({val_status:r,set_validate:p,DefaultValidation:y,params:n})},[r.eventID]),(()=>{let{override:d}=n;if(d=="never"||d=="beforeModified"&&!["init","override"].includes(r.eventType))return;let f=v.get(r.componentID);f&&(n.value!=r.dataValue&&n.status_id!=f.status_id&&c(a(o(a(o({},r),{dataValue:n.value}),i),{eventType:"override",eventID:l.uuid.gen()})),f.status_id=n.status_id)})(),T(()=>{let{componentID:d,eventType:f,dataValue:h}=r,g=h;if(t=="list"?g=h.map(C=>JSON.parse(C)):t=="select"||t=="richSelect"?g=JSON.parse(h):t=="file"&&v.update({key:d,value:{Files:r.dataValue}}),f=="refresh"){let C=v.get(d);C&&C.ResolveRefresh&&C.ResolveRefresh(null)}f=="update"&&(I&&I({componentID:d,value:g,storeData:v.get(d),eventType:f}),l.scope(()=>{u.ok&&S&&S({componentID:d,value:g,storeData:v.get(d),eventType:f})}))},[u])},j=e=>{let{val_status:t,params:n,set_validate:r,DefaultValidation:c}=e,i=c({value:t.dataValue,params:n});if(!i.ok){r(i);return}let s=i.notice;const u=()=>B(void 0,null,function*(){if(!n.onValidate)return;let p=yield n.onValidate({value:t.dataValue,eventType:t.eventType,props:e});if(!p.ok){r({ok:!1,notice:[...s,...p.notice]});return}r({ok:!0,notice:[...s,...p.notice]})});n.onValidate?t.eventType=="refresh"?u():l.interval.standBy("ValidationTimer-"+t.componentID,450,u):r({ok:!0,notice:s})},ce=e=>{let t=e.target,{form:n,formName:r}=t.dataset;n=r||n;let c=!1,i=W(`[data-form-submit-button="${n}"]`)[0];if(!i)return c;let s=i.dataset.sdfike||"",u=e.key,p=e.ctrlKey||e.metaKey;return l.scope(()=>{s.includes("enter")&&(u!="Enter"||e.nativeEvent.isComposing||z.get().browserIs=="safari"&&e.keyCode==229)||((u=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&p)||u==" "&&s.includes("space"))&&(i.click(),e.preventDefault()),c=!0)}),c},K={Input:e=>{if(e=="plain")return{};let t={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.thin"};return e=="border"?t=a(o({},t),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):e=="cloud"?t=a(o({},t),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):e=="bottomBorder"&&(t=a(o({},t),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),t},ListCell:e=>{e=o({},e),e.tone||(e.tone="border");let{tone:t}=e;return t=="plain"||(e=a(o({},e),{cellStyles:o({position:"relative",padding:["3/4",1],borderRadius:"2.tone.secondary",transition:"middle"},e.cellStyles)}),t=="normal"?e=a(o({gap:"1/2"},e),{cellStyles:o({isSemiBoldFont:!0},e.cellStyles),cellCheckedStyles:{backgroundColor:"cloud"}}):(e=a(o({gap:"3/4"},e),{cellStyles:o({boxShadow:"0.thin"},e.cellStyles)}),(t=="cloud"||t=="vivid")&&(e.cellStyles=o({border:"1.thin",backgroundColor:"layer.2"},e.cellStyles)),t=="border"?(e.cellStyles=o({border:!0,backgroundColor:"layer.1"},e.cellStyles),e.cellCheckedStyles=o({borderColor:"theme",fontColor:"theme"},e.cellCheckedStyles)):t=="cloud"?e.cellCheckedStyles=o({backgroundColor:"theme.opa.few",fontColor:"theme",borderColor:"theme"},e.cellCheckedStyles):t=="vivid"&&(e.cellCheckedStyles=o({backgroundColor:"theme",fontColor:"white",borderColor:"theme"},e.cellCheckedStyles)))),P(e)},Boxish:e=>{e=o({},e),e.tone||(e.tone="border");let t=a(o(o(o(a(o({},K.Input(e.tone)),{fontColor:"2.normal"}),e),!!e.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!e.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),{className:[k("Input"),e.className].join(" ")});return P(t)},Indicator:e=>{if(e||(e="border"),e=="plain")return{};let t={flexSizing:"none",flexCenter:!0,padding:[0,1],borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return e=="border"?t=a(o({},t),{border:!0}):e=="cloud"?t=a(o({},t),{border:"1.thin"}):e=="bottomBorder"&&(t=a(o({},t),{borderRadius:0,borderBottom:!0})),t},IndicatorIcon:{position:"absolute",unitWidth:2,unitHeight:2,top:"50%",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit"}};export{ue as BoxWrapper,de as CommonEffects,K as DefaultStyles,ce as SubmitForm,j as ValidationCheck,se as Wrapper};
1
+ import{b as o,c as a,e as D}from"../../chunk-VY3566IV.js";import{jsx as v,jsxs as V}from"react/jsx-runtime";import{useState as _,useEffect as R,useRef as O}from"react";import{$$ as i,$$fromRoot as z,Config as L,useStore as y,GenerateClassName as B}from"../../@utils/_";import{InputClasses as N}from"../../@styles/componentClasses/_";import P from"../../atoms/Box";import A from"../../atoms/Flex";import T from"../../atoms/FAI";import E from"../../mols/Row";import W from"../../mols/Column";import U from"../Button";import k from"../Tooltips";const se=e=>{let[t]=_(e.componentID||i.uuid.gen());e=o({},e),e.params=a(o({enableFormSubmit:!0,status_id:i.uuid.gen(),override:"never",name:i.uuid.gen(),id:i.uuid.gen(),"aria-label":"Input-"+t},e.params),{componentID:t});let{children:r}=e;return v(r,o({},e.params))},ue=e=>{let{children:t,val_status:r,set_status:n,val_validate:c,params:l}=e,{clearButton:s,rightIcon:u,leftIcon:p,wrapStyles:m}=l;return r.eventType=="init"&&!l.checkValidationAtFirst&&(c.notice=[]),V(E.Center,a(o({position:"relative",verticalAlign:"unset",gap:0},m),{className:N("Wrapper"),"data-notice-uid":r.componentID,children:[v($,{notice:c.notice,val_status:r}),l.leftIndicator,V(A,{position:"relative",flexSizing:"auto",children:[p,t,s&&r.dataValue?v(U.Button.Normal.R,{ssSphere:2,flexCenter:!0,fontColor:"5.translucent",ssEffectsOnActive:["ripple.theme"],position:"absolute",right:1,top:"50%",freeCSS:{zIndex:3,transform:"translateY(-50%)"},onClick:()=>{n(a(o({},r),{dataValue:"",formatValue:"",eventType:"update",eventID:i.uuid.gen()}))},children:v(T.Times,{})}):u]}),l.rightIndicator]}))},$=e=>{let{notice:t,val_status:r}=e,{componentID:n,eventType:c}=r,l="NoticeTimer-"+n,s="NoticeTimerClose-"+n,u="notice-tips-"+n;return i.interval.clear(l),i.interval.clear(s),t.length?(i.interval.standBy(l,350,()=>{k.open({tipsID:u,parent:`[data-notice-uid="${n}"]`,gravityPoint:22,padding:[1,0],close_option:{parentBlur:!1},content:V(k.Comps.Body,{padding:["1/2","2/3"],fontSize:"1.mini",position:"relative",children:[v(P,{position:"absolute",unitHeight:1,unitWidth:1,left:1,backgroundColor:"dark",freeCSS:{zIndex:1,transform:"rotate(45deg)",top:-6}}),v(W,{gap:"1/3",position:"relative",freeCSS:{zIndex:2},backgroundColor:"inherit",children:t.map(p=>{let{type:m,label:S}=p,b=m=="invalid"?T.Times:m=="warn"?T.Exclamation:T.Check;return V(E.Left,{gap:0,borderRadius:"2.tone.secondary",children:[v(b,{flexCenter:!0,fontSize:"3.paragraph",fontColor:{invalid:"nega",warn:"warn",valid:"posi"}[m]}),v(P,{fontColor:"white",children:S})]})})})]})})}),i.interval.standBy(s,6e3,()=>{k.close(u)}),null):(k.close(u),null)},de=e=>{let{type:t,params:r,val_status:n,set_status:c,ExtraOverrideParams:l,ExtraStoreParams:s,val_validate:u,set_validate:p,DefaultValidation:m,onUpdateValue:S,onUpdateValidValue:b}=e;r=o({},r);let{componentID:I}=n,[w,F]=_(i.uuid.gen());R(()=>(y.update({key:I,value:o({ResolveRefresh:null,Refresh:()=>new Promise((d,f)=>{y.get(I).ResolveRefresh=d,F(i.uuid.gen())}),GenNotice:d=>{let{ok:f,notice:g}=d;p({ok:f,notice:g})}},s)}),()=>{y.delete(I)}),[]);const x=O(!1);R(()=>{x.current?c(a(o({},n),{eventType:"refresh",eventID:i.uuid.gen()})):x.current=!0},[w]),R(()=>{r.value=n.dataValue,i.interval.clear("ValidationTimer-"+I),j({val_status:n,set_validate:p,DefaultValidation:m,params:r})},[n.eventID]),(()=>{let{override:d}=r;if(d=="never"||d=="beforeModified"&&!["init","override"].includes(n.eventType))return;let f=y.get(n.componentID);f&&(r.value!=n.dataValue&&r.status_id!=f.status_id&&c(a(o(a(o({},n),{dataValue:r.value}),l),{eventType:"override",eventID:i.uuid.gen()})),f.status_id=r.status_id)})(),R(()=>{let{componentID:d,eventType:f,dataValue:g}=n,h=g;if(t=="list"?h=g.map(C=>JSON.parse(C)):t=="select"||t=="richSelect"?h=JSON.parse(g):t=="file"&&y.update({key:d,value:{Files:n.dataValue}}),f=="refresh"){let C=y.get(d);C&&C.ResolveRefresh&&C.ResolveRefresh(null)}f=="update"&&(S&&S({componentID:d,value:h,storeData:y.get(d),eventType:f}),i.scope(()=>{u.ok&&b&&b({componentID:d,value:h,storeData:y.get(d),eventType:f})}))},[u])},j=e=>{let{val_status:t,params:r,set_validate:n,DefaultValidation:c}=e,l=c({value:t.dataValue,params:r});if(!l.ok){n(l);return}let s=l.notice;const u=()=>D(void 0,null,function*(){if(!r.onValidate)return;let p=yield r.onValidate({value:t.dataValue,eventType:t.eventType,props:e});if(!p.ok){n({ok:!1,notice:[...s,...p.notice]});return}n({ok:!0,notice:[...s,...p.notice]})});r.onValidate?t.eventType=="refresh"?u():i.interval.standBy("ValidationTimer-"+t.componentID,450,u):n({ok:!0,notice:s})},ce=e=>{let t=e.target,{form:r,formName:n}=t.dataset;r=n||r;let c=!1,l=z(`[data-form-submit-button="${r}"]`)[0];if(!l)return c;let s=l.dataset.sdfike||"",u=e.key,p=e.ctrlKey||e.metaKey;return i.scope(()=>{s.includes("enter")&&(u!="Enter"||e.nativeEvent.isComposing||L.get().browserIs=="safari"&&e.keyCode==229)||((u=="Enter"&&(s.includes("enter")||s.includes("auxEnter")&&p)||u==" "&&s.includes("space"))&&(l.click(),e.preventDefault()),c=!0)}),c},K={Input:e=>{if(e=="plain")return{};let t={padding:"3/4",transition:"middle",flexSizing:"auto",boxShadow:"0.thin"};return e=="border"?t=a(o({},t),{border:!0,borderRadius:"2.tone.secondary",backgroundColor:"layer.1"}):e=="cloud"?t=a(o({},t),{border:"1.thin",borderRadius:"2.tone.secondary",backgroundColor:"cloud"}):e=="bottomBorder"&&(t=a(o({},t),{borderRadius:0,border:"unset",borderBottom:!0,backgroundColor:"cloud"})),t},ListCell:e=>{e=o({},e),e.tone||(e.tone="border");let{tone:t}=e;return t=="plain"||(e=a(o({},e),{cellStyles:o({position:"relative",padding:["3/4",1],borderRadius:"2.tone.secondary",transition:"middle"},e.cellStyles)}),t=="normal"?e=a(o({gap:"1/2"},e),{cellStyles:o({isSemiBoldFont:!0},e.cellStyles),cellCheckedStyles:{backgroundColor:"cloud"}}):(e=a(o({gap:"3/4"},e),{cellStyles:o({boxShadow:"0.thin"},e.cellStyles)}),(t=="cloud"||t=="vivid")&&(e.cellStyles=o({border:"1.thin",backgroundColor:"layer.2"},e.cellStyles)),t=="border"?(e.cellStyles=o({border:!0,backgroundColor:"layer.1"},e.cellStyles),e.cellCheckedStyles=o({borderColor:"theme",fontColor:"theme"},e.cellCheckedStyles)):t=="cloud"?e.cellCheckedStyles=o({backgroundColor:"theme.opa.few",fontColor:"theme",borderColor:"theme"},e.cellCheckedStyles):t=="vivid"&&(e.cellCheckedStyles=o({backgroundColor:"theme",fontColor:"white",borderColor:"theme"},e.cellCheckedStyles)))),B(e)},Boxish:e=>{e=o({},e),e.tone||(e.tone="border");let t=a(o(o(o(a(o({},K.Input(e.tone)),{fontColor:"2.normal"}),e),!!e.leftIndicator&&{borderTopLeftRadius:"2/3",borderBottomLeftRadius:"2/3",marginLeft:"1/4"}),!!e.rightIndicator&&{borderTopRightRadius:"2/3",borderBottomRightRadius:"2/3",marginRight:"1/4"}),{className:[N("Input"),e.className].join(" ")});return B(t)},Indicator:e=>{if(e||(e="border"),e=="plain")return{};let t={flexSizing:"none",flexCenter:!0,padding:[0,1],borderRadius:"2.tone.secondary",backgroundColor:"cloud"};return e=="border"?t=a(o({},t),{border:!0}):e=="cloud"?t=a(o({},t),{border:"1.thin"}):e=="bottomBorder"&&(t=a(o({},t),{borderRadius:0,borderBottom:!0})),t},IndicatorIcon:{position:"absolute",ssSquare:2,top:"50%",flexCenter:!0,fontColor:"theme",fontSize:"1.mini",backgroundColor:"inherit",freeCSS:{transform:"translateY(-50%)"}}};export{ue as BoxWrapper,de as CommonEffects,K as DefaultStyles,ce as SubmitForm,j as ValidationCheck,se as Wrapper};
@@ -73,7 +73,7 @@ Some Text`})]}),t(B.Separate,{children:[e(r.Button.Sub.S,{color:"white",onClick:
73
73
  text2
74
74
  text3
75
75
  text4
76
- text5`,rows:5})]})]})]})]})}),Time:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Time Input"}),e(o,{padding:1,children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Time.Clock",e(i.Time.Clock,{})]}),t(o,{children:["Input.Time.Date",e(i.Time.Date,{})]}),t(o,{children:["Input.Time.Week",e(i.Time.Week,{})]}),t(o,{children:["Input.Time.Month",e(i.Time.Month,{})]}),t(o,{children:["Input.Time.Year",e(i.Time.Year,{})]}),t(o,{children:["Input.Time.Periods.Date",e(i.Time.Periods.Date,{})]}),t(o,{children:["Input.Time.Periods.Month",e(i.Time.Periods.Month,{})]}),t(o,{children:["Input.Time.DateWareki",e(i.Time.DateWareki,{})]}),t(o,{children:["Input.Time.picker",e(i.Select,{id:"timePicker",options:[{value:"clock",label:"clock"},{value:"date",label:"date"},{value:"week",label:"week"},{value:"month",label:"month"},{value:"year",label:"year"},{value:"dates",label:"dates"},{value:"months",label:"months"},{value:"dateWareki",label:"dateWareki"}],onUpdateValidValue:({value:u})=>{i.Time.fn.picker.launch({parent:"#timePicker",restrict:u,defaultValue:"",onValueUpdate:s=>{console.log(s)}})}})]})]})})]})}),List:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Radio & Checkbox Input"}),e(o,{padding:1,children:t(h,{children:[t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Radio",e(i.Radio,{value:[1],options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"}]})]}),t(o,{children:["Input.Checkbox",e(i.Checkbox,{value:[2,"3"],options:[{value:"1",label:"option1"},{value:"2",label:"option2"},{value:"3",label:"option3"}]})]})]}),t(h,{children:[e(n.Paragraph,{children:"Tones"}),t(c,{gap:2,flexChilds:"auto",children:[e(i.Radio,{tone:"plain",value:[1],gap:1,options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"normal",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"cloud",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"border",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"vivid",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]})]})]})]})})]})}),Select:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Select,Search,Chips Input"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Select",e(i.Select,{required:!0,value:3,options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3a"},{value:4,label:"option4"}]})]}),t(o,{children:["Input.Search",e(i.Search,{required:!0,defaultOptions:[{value:1,label:"1"},{value:{value1:2,value2:3},label:"Object"},{value:3,label:"3"},{value:101,label:"101"},{value:102,label:"102"}],onDynamicSearch:(...u)=>I(void 0,null,function*(){let s=[];for(let x=0;x<100;x++)s.push({value:x,label:String(x)});return{options:s}})})]}),t(o,{flexNewLine:!0,children:["Input.Chips",e(i.Chips,{limit:5,value:[{value:"option3",label:"option3"}],onUpdateValidValue:({value:u})=>{console.log(u)},defaultOptions:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"},{value:4,label:"option4"}]})]})]})})})]})}),Variables:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Variables"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.File",e(i.Filer,{limit:3})]}),t(o,{children:["Input.Switch",t(c,{gap:2,children:[e(i.Switch,{}),e(i.Switch,{appearance:"applely",color:"icicles",value:!0}),e(i.Switch,{appearance:"applely",icon:e(g.Check,{}),color:"warn",value:!0})]})]}),t(o,{flexNewLine:!0,children:["Input.Slider",e(i.Slider,{color:"battery",name:"sliderInput",value:40,step:10,min:0,max:100})]})]})})})]})})};return e(d,{children:e(k.Plate,{size:"L",children:t(p,{gap:2,gridCols:2,children:[e(a.Basic,{}),e(a.Select,{}),e(a.Time,{}),e(a.List,{}),e(a.Variables,{})]})})})},j=()=>{const a=u=>{let s="testModal2";O.open({type:u,sheetID:s,size:"S",padding:2,content:t(O.Comps.Body,{padding:1,children:[e(o,{padding:2,minHeight:"viewHeight",children:"Content"}),e(B.Right,{children:e(r.Button.Prime.R,{onClick:()=>{O.close(s)},children:"\u9589\u3058\u308B"})})]})})};return t(d,{children:[t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"CardBox"}),e(o,{padding:1,overflow:"auto",children:e(n.Description,{children:`<Box ssCardBox>
76
+ text5`,rows:5})]})]})]})]})}),Time:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Time Input"}),e(o,{padding:1,children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Time.Clock",e(i.Time.Clock,{})]}),t(o,{children:["Input.Time.Date",e(i.Time.Date,{})]}),t(o,{children:["Input.Time.Week",e(i.Time.Week,{})]}),t(o,{children:["Input.Time.Month",e(i.Time.Month,{})]}),t(o,{children:["Input.Time.Year",e(i.Time.Year,{})]}),t(o,{children:["Input.Time.Periods.Date",e(i.Time.Periods.Date,{})]}),t(o,{children:["Input.Time.Periods.Month",e(i.Time.Periods.Month,{})]}),t(o,{children:["Input.Time.DateWareki",e(i.Time.DateWareki,{})]}),t(o,{children:["Input.Time.picker",e(i.Select,{id:"timePicker",options:[{value:"clock",label:"clock"},{value:"date",label:"date"},{value:"week",label:"week"},{value:"month",label:"month"},{value:"year",label:"year"},{value:"dates",label:"dates"},{value:"months",label:"months"},{value:"dateWareki",label:"dateWareki"}],onUpdateValidValue:({value:u})=>{i.Time.fn.picker.launch({parent:"#timePicker",restrict:u,defaultValue:"",onValueUpdate:s=>{console.log(s)}})}})]})]})})]})}),List:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Radio & Checkbox Input"}),e(o,{padding:1,children:t(h,{children:[t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Radio",e(i.Radio,{value:[1],options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"},{value:4,label:"option4"},{value:5,label:"option5"}]})]}),t(o,{children:["Input.Checkbox",e(i.Checkbox,{value:[2,"3"],options:[{value:"1",label:"option1"},{value:"2",label:"option2"},{value:"3",label:"option3"}]})]})]}),t(h,{children:[e(n.Paragraph,{children:"Tones"}),t(c,{gap:2,flexChilds:"auto",children:[e(i.Radio,{tone:"plain",value:[1],gap:1,options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"normal",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"cloud",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"border",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"vivid",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]})]})]})]})})]})}),Select:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Select,Search,Chips Input"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Select",e(i.Select,{required:!0,value:3,options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3a"},{value:4,label:"option4"}]})]}),t(o,{children:["Input.Search",e(i.Search,{required:!0,defaultOptions:[{value:1,label:"1"},{value:{value1:2,value2:3},label:"Object"},{value:3,label:"3"},{value:101,label:"101"},{value:102,label:"102"}],onDynamicSearch:(...u)=>I(void 0,null,function*(){let s=[];for(let x=0;x<100;x++)s.push({value:x,label:String(x)});return{options:s}})})]}),t(o,{flexNewLine:!0,children:["Input.Chips",e(i.Chips,{limit:5,value:[{value:"option3",label:"option3"}],onUpdateValidValue:({value:u})=>{console.log(u)},defaultOptions:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"},{value:4,label:"option4"}]})]})]})})})]})}),Variables:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Variables"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.File",e(i.Filer,{limit:3})]}),t(o,{children:["Input.Switch",t(c,{gap:2,children:[e(i.Switch,{}),e(i.Switch,{appearance:"applely",color:"icicles",value:!0}),e(i.Switch,{appearance:"applely",icon:e(g.Check,{}),color:"warn",value:!0})]})]}),t(o,{flexNewLine:!0,children:["Input.Slider",e(i.Slider,{color:"battery",name:"sliderInput",value:40,step:10,min:0,max:100})]})]})})})]})})};return e(d,{children:e(k.Plate,{size:"L",children:t(p,{gap:2,gridCols:2,children:[e(a.Basic,{}),e(a.Select,{}),e(a.Time,{}),e(a.List,{}),e(a.Variables,{})]})})})},j=()=>{const a=u=>{let s="testModal2";O.open({type:u,sheetID:s,size:"S",padding:2,content:t(O.Comps.Body,{padding:1,children:[e(o,{padding:2,minHeight:"viewHeight",children:"Content"}),e(B.Right,{children:e(r.Button.Prime.R,{onClick:()=>{O.close(s)},children:"\u9589\u3058\u308B"})})]})})};return t(d,{children:[t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"CardBox"}),e(o,{padding:1,overflow:"auto",children:e(n.Description,{children:`<Box ssCardBox>
77
77
  <Box>
78
78
  Header
79
79
  </Box>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "UI FW for React",
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",