@stonecrop/aform 0.46.1 → 0.48.0
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/README.md +1 -1
- package/dist/aform.js +142 -88
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +61 -61
- package/dist/src/components/AForm.vue.d.ts.map +1 -1
- package/dist/src/components/form/ACurrencyInput.vue.d.ts.map +1 -1
- package/dist/src/components/form/ADropdown.vue.d.ts.map +1 -1
- package/dist/src/components/form/AFormLink.vue.d.ts.map +1 -1
- package/dist/src/components/form/AQuantityInput.vue.d.ts.map +1 -1
- package/dist/src/utils/currencyValue.d.ts.map +1 -1
- package/dist/src/utils/quantityValue.d.ts.map +1 -1
- package/dist/src/utils/recordNumber.d.ts +6 -0
- package/dist/src/utils/recordNumber.d.ts.map +1 -0
- package/package.json +5 -5
package/dist/assets/index.css
CHANGED
|
@@ -79,26 +79,26 @@
|
|
|
79
79
|
border-left-color: var(--sc-dropdown-option-selected-accent);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.autocomplete[data-v-
|
|
82
|
+
.autocomplete[data-v-a96ab394] {
|
|
83
83
|
position: relative;
|
|
84
84
|
}
|
|
85
|
-
.aform_form-element--embedded[data-v-
|
|
85
|
+
.aform_form-element--embedded[data-v-a96ab394] {
|
|
86
86
|
min-width: 0;
|
|
87
87
|
flex: 1 1 auto;
|
|
88
88
|
width: 100%;
|
|
89
89
|
padding-top: 0;
|
|
90
90
|
}
|
|
91
|
-
.aform_form-element--embedded .autocomplete[data-v-
|
|
91
|
+
.aform_form-element--embedded .autocomplete[data-v-a96ab394] {
|
|
92
92
|
display: flex;
|
|
93
93
|
flex: 1;
|
|
94
94
|
min-width: 0;
|
|
95
95
|
min-height: 0;
|
|
96
96
|
width: 100%;
|
|
97
97
|
}
|
|
98
|
-
.aform_dropdown--anchor-group .autocomplete[data-v-
|
|
98
|
+
.aform_dropdown--anchor-group .autocomplete[data-v-a96ab394] {
|
|
99
99
|
position: static;
|
|
100
100
|
}
|
|
101
|
-
.aform_input-field--embedded[data-v-
|
|
101
|
+
.aform_input-field--embedded[data-v-a96ab394] {
|
|
102
102
|
box-sizing: border-box;
|
|
103
103
|
width: 100%;
|
|
104
104
|
min-width: 0;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
background: transparent;
|
|
107
107
|
padding: 0.5rem 1ch;
|
|
108
108
|
}
|
|
109
|
-
.aform_dropdown-button[data-v-
|
|
109
|
+
.aform_dropdown-button[data-v-a96ab394] {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
gap: 0.75ch;
|
|
@@ -127,30 +127,30 @@
|
|
|
127
127
|
cursor: pointer;
|
|
128
128
|
-webkit-tap-highlight-color: transparent;
|
|
129
129
|
}
|
|
130
|
-
.aform_dropdown-button[data-v-
|
|
131
|
-
.aform_dropdown-button[data-v-
|
|
130
|
+
.aform_dropdown-button[data-v-a96ab394]:focus,
|
|
131
|
+
.aform_dropdown-button[data-v-a96ab394]:focus-visible {
|
|
132
132
|
outline: none;
|
|
133
133
|
box-shadow: none;
|
|
134
134
|
}
|
|
135
|
-
.aform_dropdown-button[data-v-
|
|
135
|
+
.aform_dropdown-button[data-v-a96ab394]::-moz-focus-inner {
|
|
136
136
|
border: 0;
|
|
137
137
|
padding: 0;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Merged fields (quantity UOM): same surface as the sibling input, not a nested addon chip. */
|
|
141
|
-
.aform_form-element--embedded .aform_dropdown-button[data-v-
|
|
141
|
+
.aform_form-element--embedded .aform_dropdown-button[data-v-a96ab394] {
|
|
142
142
|
background: transparent;
|
|
143
143
|
}
|
|
144
|
-
.aform_dropdown-button[data-v-
|
|
144
|
+
.aform_dropdown-button[data-v-a96ab394]:disabled {
|
|
145
145
|
cursor: not-allowed;
|
|
146
146
|
color: var(--sc-gray-50);
|
|
147
147
|
}
|
|
148
|
-
.aform_dropdown-button-value[data-v-
|
|
148
|
+
.aform_dropdown-button-value[data-v-a96ab394] {
|
|
149
149
|
flex: 1;
|
|
150
150
|
min-width: 0;
|
|
151
151
|
text-align: left;
|
|
152
152
|
}
|
|
153
|
-
.aform_dropdown-button-caret[data-v-
|
|
153
|
+
.aform_dropdown-button-caret[data-v-a96ab394] {
|
|
154
154
|
display: inline-block;
|
|
155
155
|
width: 0;
|
|
156
156
|
height: 0;
|
|
@@ -159,16 +159,16 @@
|
|
|
159
159
|
border-top: 0.3em solid currentColor;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
.acurrency__row[data-v-
|
|
162
|
+
.acurrency__row[data-v-f934faab] {
|
|
163
163
|
display: flex;
|
|
164
164
|
gap: 1ch;
|
|
165
165
|
}
|
|
166
|
-
.acurrency__field[data-v-
|
|
166
|
+
.acurrency__field[data-v-f934faab] {
|
|
167
167
|
position: relative;
|
|
168
168
|
flex: 1;
|
|
169
169
|
min-width: 0;
|
|
170
170
|
}
|
|
171
|
-
.acurrency__field--base-currency[data-v-
|
|
171
|
+
.acurrency__field--base-currency[data-v-f934faab] {
|
|
172
172
|
position: absolute;
|
|
173
173
|
width: 1px;
|
|
174
174
|
height: 1px;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
white-space: nowrap;
|
|
180
180
|
border: 0;
|
|
181
181
|
}
|
|
182
|
-
.acurrency__group[data-v-
|
|
182
|
+
.acurrency__group[data-v-f934faab] {
|
|
183
183
|
position: relative;
|
|
184
184
|
display: flex;
|
|
185
185
|
align-items: stretch;
|
|
@@ -189,20 +189,20 @@
|
|
|
189
189
|
border: 1px solid var(--sc-input-border-color);
|
|
190
190
|
border-radius: var(--sc-border-radius);
|
|
191
191
|
}
|
|
192
|
-
.acurrency__group[data-v-
|
|
192
|
+
.acurrency__group[data-v-f934faab]:focus-within {
|
|
193
193
|
border-color: var(--sc-input-active-border-color);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
/* Solid form surface behind long labels; the shared gradient only masks the top half and reads
|
|
197
197
|
poorly over the merged prefix + amount backgrounds. Matches the field's page/form parent. */
|
|
198
|
-
.acurrency__group > .aform_field-label[data-v-
|
|
198
|
+
.acurrency__group > .aform_field-label[data-v-f934faab] {
|
|
199
199
|
background: var(--sc-form-background);
|
|
200
200
|
}
|
|
201
|
-
.acurrency__amount-wrap[data-v-
|
|
201
|
+
.acurrency__amount-wrap[data-v-f934faab] {
|
|
202
202
|
flex: 1;
|
|
203
203
|
min-width: 0;
|
|
204
204
|
}
|
|
205
|
-
.acurrency__amount[data-v-
|
|
205
|
+
.acurrency__amount[data-v-f934faab] {
|
|
206
206
|
width: 100%;
|
|
207
207
|
box-sizing: border-box;
|
|
208
208
|
border: none;
|
|
@@ -217,8 +217,8 @@
|
|
|
217
217
|
appearance: textfield;
|
|
218
218
|
-moz-appearance: textfield;
|
|
219
219
|
}
|
|
220
|
-
.acurrency__amount[data-v-
|
|
221
|
-
.acurrency__amount[data-v-
|
|
220
|
+
.acurrency__amount[data-v-f934faab]::-webkit-outer-spin-button,
|
|
221
|
+
.acurrency__amount[data-v-f934faab]::-webkit-inner-spin-button {
|
|
222
222
|
appearance: none;
|
|
223
223
|
-webkit-appearance: none;
|
|
224
224
|
margin: 0;
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
tinted background, left-rounded to match the group's own
|
|
230
230
|
corner so the tint doesn't overhang the border. The dropdown itself isn't bound by this
|
|
231
231
|
width — ADropdown list spans the group — so search results still show full names. */
|
|
232
|
-
.acurrency__currency[data-v-
|
|
232
|
+
.acurrency__currency[data-v-f934faab] {
|
|
233
233
|
/* Fixed minimum prefix: 3rem content band + 1ch inset each side (fits NZD without shifting). */
|
|
234
234
|
flex: 0 0 calc(3rem + 2ch);
|
|
235
235
|
width: calc(3rem + 2ch);
|
|
@@ -241,16 +241,16 @@
|
|
|
241
241
|
border-right: 1px solid var(--sc-input-border-color);
|
|
242
242
|
border-radius: var(--sc-border-radius) 0 0 var(--sc-border-radius);
|
|
243
243
|
}
|
|
244
|
-
.acurrency__currency[data-v-
|
|
244
|
+
.acurrency__currency[data-v-f934faab] .aform_input-field--embedded {
|
|
245
245
|
padding-left: 1ch;
|
|
246
246
|
padding-right: 1ch;
|
|
247
247
|
text-align: right;
|
|
248
248
|
}
|
|
249
|
-
.acurrency__currency[data-v-
|
|
250
|
-
.acurrency__currency[data-v-
|
|
249
|
+
.acurrency__currency[data-v-f934faab] .aform_form-element--embedded,
|
|
250
|
+
.acurrency__currency[data-v-f934faab] .autocomplete {
|
|
251
251
|
position: static;
|
|
252
252
|
}
|
|
253
|
-
.acurrency__group[data-v-
|
|
253
|
+
.acurrency__group[data-v-f934faab] .autocomplete-results--anchor-group {
|
|
254
254
|
left: -1px;
|
|
255
255
|
right: -1px;
|
|
256
256
|
box-sizing: border-box;
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
min-width: unset;
|
|
259
259
|
max-width: none;
|
|
260
260
|
}
|
|
261
|
-
.acurrency__helper[data-v-
|
|
261
|
+
.acurrency__helper[data-v-f934faab] {
|
|
262
262
|
margin: 0.5rem 0 0;
|
|
263
263
|
font-size: 0.85rem;
|
|
264
264
|
color: var(--sc-cell-text-color);
|
|
@@ -835,7 +835,7 @@ p.aform_error {
|
|
|
835
835
|
margin: 0;
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
.aform[data-v-
|
|
838
|
+
.aform[data-v-e40cafaf] {
|
|
839
839
|
display: flex;
|
|
840
840
|
flex-wrap: wrap;
|
|
841
841
|
gap: 1rem;
|
|
@@ -847,27 +847,27 @@ p.aform_error {
|
|
|
847
847
|
max-width: 100%;
|
|
848
848
|
}
|
|
849
849
|
@media screen and (max-width: 400px) {
|
|
850
|
-
.aform[data-v-
|
|
850
|
+
.aform[data-v-e40cafaf] {
|
|
851
851
|
flex-direction: column;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
/* Nested form section */
|
|
856
|
-
.aform-nested-section[data-v-
|
|
856
|
+
.aform-nested-section[data-v-e40cafaf] {
|
|
857
857
|
width: 100%;
|
|
858
858
|
padding: 0.5rem 0;
|
|
859
859
|
}
|
|
860
|
-
.aform-nested-label[data-v-
|
|
860
|
+
.aform-nested-label[data-v-e40cafaf] {
|
|
861
861
|
font-size: 0.9rem;
|
|
862
862
|
font-weight: 600;
|
|
863
863
|
margin: 0 0 0.5rem 0;
|
|
864
864
|
color: var(--sc-input-label-color);
|
|
865
865
|
}
|
|
866
|
-
.aform-nested-section .aform[data-v-
|
|
866
|
+
.aform-nested-section .aform[data-v-e40cafaf] {
|
|
867
867
|
border-left-width: 2px;
|
|
868
868
|
margin-left: 0.5rem;
|
|
869
869
|
}
|
|
870
|
-
.aform-table-expansion[data-v-
|
|
870
|
+
.aform-table-expansion[data-v-e40cafaf] {
|
|
871
871
|
margin-bottom: 0;
|
|
872
872
|
border: none;
|
|
873
873
|
border-left: none;
|
|
@@ -971,20 +971,20 @@ legend[data-v-8215ff87] {
|
|
|
971
971
|
background-color: var(--sc-gray-5);
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
.aform_form-link-wrapper[data-v-
|
|
974
|
+
.aform_form-link-wrapper[data-v-7e0002c9] {
|
|
975
975
|
position: relative;
|
|
976
976
|
}
|
|
977
|
-
.input-group[data-v-
|
|
977
|
+
.input-group[data-v-7e0002c9] {
|
|
978
978
|
display: flex;
|
|
979
979
|
align-items: stretch;
|
|
980
980
|
}
|
|
981
|
-
.aform_input-field[data-v-
|
|
981
|
+
.aform_input-field[data-v-7e0002c9] {
|
|
982
982
|
flex: 1;
|
|
983
983
|
min-width: 0;
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
/* No top padding: the shared rule reserves it for a floating label, which embedded mode never renders. */
|
|
987
|
-
.aform_form-element--embedded[data-v-
|
|
987
|
+
.aform_form-element--embedded[data-v-7e0002c9] {
|
|
988
988
|
min-width: 0;
|
|
989
989
|
flex: 1 1 auto;
|
|
990
990
|
width: 100%;
|
|
@@ -993,7 +993,7 @@ legend[data-v-8215ff87] {
|
|
|
993
993
|
|
|
994
994
|
/* Embedded mode: the host component's own container supplies the border, so this input goes
|
|
995
995
|
borderless. Its vertical padding stays the standalone field's, so its text lines up with the host's. */
|
|
996
|
-
.aform_input-field--embedded[data-v-
|
|
996
|
+
.aform_input-field--embedded[data-v-7e0002c9] {
|
|
997
997
|
box-sizing: border-box;
|
|
998
998
|
width: 100%;
|
|
999
999
|
min-width: 0;
|
|
@@ -1005,14 +1005,14 @@ legend[data-v-8215ff87] {
|
|
|
1005
1005
|
/* Only in embedded mode is the trigger deliberately narrower than its options (e.g. a currency
|
|
1006
1006
|
symbol box): let the dropdown grow past it rather than truncate. Standalone pickers keep the
|
|
1007
1007
|
dropdown flush with the input, so a long display text can't overhang a narrow form column. */
|
|
1008
|
-
.aform_form-element--embedded .autocomplete-results[data-v-
|
|
1008
|
+
.aform_form-element--embedded .autocomplete-results[data-v-7e0002c9] {
|
|
1009
1009
|
min-width: 100%;
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
/* Give the button the same outline as the input, then slide it 2px left so the outlines
|
|
1013
1013
|
overlap exactly at the join: input right outline sits at (input_right - 1px),
|
|
1014
1014
|
button left outline also sits at (button_left + 1px) = (input_right - 2px + 1px) = same pixel. */
|
|
1015
|
-
.aform_form-btn[data-v-
|
|
1015
|
+
.aform_form-btn[data-v-7e0002c9] {
|
|
1016
1016
|
appearance: none;
|
|
1017
1017
|
border: none;
|
|
1018
1018
|
outline: 1px solid var(--sc-input-border-color);
|
|
@@ -1030,7 +1030,7 @@ legend[data-v-8215ff87] {
|
|
|
1030
1030
|
|
|
1031
1031
|
/* Drawn rather than a text glyph, but set on the text's baseline at capital height: text sits
|
|
1032
1032
|
above its box's centre, so an icon centred in the box reads low beside the input's text. */
|
|
1033
|
-
.aform_form-btn-icon[data-v-
|
|
1033
|
+
.aform_form-btn-icon[data-v-7e0002c9] {
|
|
1034
1034
|
height: 0.716em;
|
|
1035
1035
|
width: auto;
|
|
1036
1036
|
vertical-align: baseline;
|
|
@@ -1043,7 +1043,7 @@ legend[data-v-8215ff87] {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
/* The glyph stays as the button's spoken name, hidden from sight. */
|
|
1046
|
-
.aform_form-btn-name[data-v-
|
|
1046
|
+
.aform_form-btn-name[data-v-7e0002c9] {
|
|
1047
1047
|
position: absolute;
|
|
1048
1048
|
width: 1px;
|
|
1049
1049
|
height: 1px;
|
|
@@ -1052,21 +1052,21 @@ legend[data-v-8215ff87] {
|
|
|
1052
1052
|
clip: rect(0, 0, 0, 0);
|
|
1053
1053
|
white-space: nowrap;
|
|
1054
1054
|
}
|
|
1055
|
-
.aform_form-btn[data-v-
|
|
1056
|
-
.input-group:focus-within .aform_form-btn[data-v-
|
|
1055
|
+
.aform_form-btn[data-v-7e0002c9]:focus,
|
|
1056
|
+
.input-group:focus-within .aform_form-btn[data-v-7e0002c9] {
|
|
1057
1057
|
outline-color: var(--sc-input-active-border-color);
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
.aquantity__row[data-v-
|
|
1060
|
+
.aquantity__row[data-v-9bdbcd8c] {
|
|
1061
1061
|
display: flex;
|
|
1062
1062
|
gap: 1ch;
|
|
1063
1063
|
}
|
|
1064
|
-
.aquantity__field[data-v-
|
|
1064
|
+
.aquantity__field[data-v-9bdbcd8c] {
|
|
1065
1065
|
position: relative;
|
|
1066
1066
|
flex: 1;
|
|
1067
1067
|
min-width: 0;
|
|
1068
1068
|
}
|
|
1069
|
-
.aquantity__group[data-v-
|
|
1069
|
+
.aquantity__group[data-v-9bdbcd8c] {
|
|
1070
1070
|
position: relative;
|
|
1071
1071
|
display: flex;
|
|
1072
1072
|
align-items: stretch;
|
|
@@ -1076,20 +1076,20 @@ legend[data-v-8215ff87] {
|
|
|
1076
1076
|
border: 1px solid var(--sc-input-border-color);
|
|
1077
1077
|
border-radius: var(--sc-border-radius);
|
|
1078
1078
|
}
|
|
1079
|
-
.aquantity__group[data-v-
|
|
1079
|
+
.aquantity__group[data-v-9bdbcd8c]:focus-within {
|
|
1080
1080
|
border-color: var(--sc-input-active-border-color);
|
|
1081
1081
|
}
|
|
1082
|
-
.aquantity__group > .aform_field-label[data-v-
|
|
1082
|
+
.aquantity__group > .aform_field-label[data-v-9bdbcd8c] {
|
|
1083
1083
|
background: var(--sc-form-background);
|
|
1084
1084
|
}
|
|
1085
1085
|
|
|
1086
1086
|
/* Focus ring lives on the merged group only (see AForm :focus-within label + group border). */
|
|
1087
|
-
.aquantity__group[data-v-
|
|
1088
|
-
.aquantity__group[data-v-
|
|
1087
|
+
.aquantity__group[data-v-9bdbcd8c] .aform_dropdown-button:focus,
|
|
1088
|
+
.aquantity__group[data-v-9bdbcd8c] .aform_dropdown-button:focus-visible {
|
|
1089
1089
|
outline: none;
|
|
1090
1090
|
box-shadow: none;
|
|
1091
1091
|
}
|
|
1092
|
-
.aquantity__qty[data-v-
|
|
1092
|
+
.aquantity__qty[data-v-9bdbcd8c] {
|
|
1093
1093
|
flex: 1 1 50%;
|
|
1094
1094
|
min-width: 0;
|
|
1095
1095
|
border: none;
|
|
@@ -1104,13 +1104,13 @@ legend[data-v-8215ff87] {
|
|
|
1104
1104
|
appearance: textfield;
|
|
1105
1105
|
-moz-appearance: textfield;
|
|
1106
1106
|
}
|
|
1107
|
-
.aquantity__qty[data-v-
|
|
1108
|
-
.aquantity__qty[data-v-
|
|
1107
|
+
.aquantity__qty[data-v-9bdbcd8c]::-webkit-outer-spin-button,
|
|
1108
|
+
.aquantity__qty[data-v-9bdbcd8c]::-webkit-inner-spin-button {
|
|
1109
1109
|
appearance: none;
|
|
1110
1110
|
-webkit-appearance: none;
|
|
1111
1111
|
margin: 0;
|
|
1112
1112
|
}
|
|
1113
|
-
.aquantity__uom[data-v-
|
|
1113
|
+
.aquantity__uom[data-v-9bdbcd8c] {
|
|
1114
1114
|
position: static;
|
|
1115
1115
|
flex: 1 1 50%;
|
|
1116
1116
|
min-width: 0;
|
|
@@ -1120,12 +1120,12 @@ legend[data-v-8215ff87] {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
1122
|
/* ADropdown list: anchor to merged group, not the UOM trigger column (see dropdowns.browser.spec). */
|
|
1123
|
-
.aquantity__group[data-v-
|
|
1124
|
-
.aquantity__group[data-v-
|
|
1123
|
+
.aquantity__group[data-v-9bdbcd8c] .aform_form-element--embedded,
|
|
1124
|
+
.aquantity__group[data-v-9bdbcd8c] .autocomplete {
|
|
1125
1125
|
position: static;
|
|
1126
1126
|
align-self: stretch;
|
|
1127
1127
|
}
|
|
1128
|
-
.aquantity__group[data-v-
|
|
1128
|
+
.aquantity__group[data-v-9bdbcd8c] .autocomplete-results--anchor-group {
|
|
1129
1129
|
left: -1px;
|
|
1130
1130
|
right: -1px;
|
|
1131
1131
|
box-sizing: border-box;
|
|
@@ -1133,7 +1133,7 @@ legend[data-v-8215ff87] {
|
|
|
1133
1133
|
min-width: unset;
|
|
1134
1134
|
max-width: none;
|
|
1135
1135
|
}
|
|
1136
|
-
.aquantity__helper[data-v-
|
|
1136
|
+
.aquantity__helper[data-v-9bdbcd8c] {
|
|
1137
1137
|
margin: 0.5rem 0 0;
|
|
1138
1138
|
font-size: 0.85rem;
|
|
1139
1139
|
color: var(--sc-cell-text-color);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AForm.vue"],"names":[],"mappings":"AAsZA,OAAO,KAAK,EAAE,aAAa,EAAiD,MAAM,UAAU,CAAA;AAE5F,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAItE,KAAK,WAAW,GAAG;IAClB,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,mGAAmG;IACnG,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;CACjC,CAAC;AAiLF,KAAK,gBAAgB,GAAG;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyLxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ACurrencyInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/ACurrencyInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ACurrencyInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/ACurrencyInput.vue"],"names":[],"mappings":"AAgeA,OAAO,KAAK,EAAkB,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAajG,KAAK,WAAW,GAAG,cAAc,GAAG;IAClC,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;AA0PH,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgOxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ADropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/ADropdown.vue"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ADropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/ADropdown.vue"],"names":[],"mappings":"AAAA,OA2mBO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAMrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAOtF,KAAK,WAAW,GAAG,cAAc,GAAG;IAClC,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;IACjE,kHAAkH;IAClH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,kDAAkD;IAClD,kBAAkB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,cAAc,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;IAChG,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,MAAM,CAAA;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAA;IAC/B,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;AAyXH,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACjC,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoTxD,QAAA,IAAI,OAAO;;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AFormLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/AFormLink.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AFormLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/AFormLink.vue"],"names":[],"mappings":"AAyZA,OAAO,KAAK,EAAE,mBAAmB,EAAsB,cAAc,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAK1G,KAAK,WAAW,GAAG,cAAc,GAAG;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,MAAM,CAAA;IAC7C,IAAI,CAAC,EAAE,aAAa,GAAG,eAAe,CAAA;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,cAAc,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAAA;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAA;IAIjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IAIpB,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;AAyNH,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAkNxD,QAAA,IAAI,OAAO;;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AQuantityInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/AQuantityInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AQuantityInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/AQuantityInput.vue"],"names":[],"mappings":"AA2PA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAWjF,KAAK,WAAW,GAAG,cAAc,GAAG;IAClC,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;AA6FH,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;CACjC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuJxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currencyValue.d.ts","sourceRoot":"","sources":["../../../src/utils/currencyValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"currencyValue.d.ts","sourceRoot":"","sources":["../../../src/utils/currencyValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAK9E,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,cAAc,CAIhB;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAInE;AAED,wBAAgB,2BAA2B,CAC1C,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EACvC,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,cAAc,EAC5B,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,MAAM,CASR;AAID,wBAAgB,sBAAsB,CACrC,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,aAAa,EAAE,cAAc,EAC7B,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,cAAc,EAC5B,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,aAAa,CAUf;AAED,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACzC,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,cAAc,GAC1B,aAAa,CAMf;AAED,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACzC,aAAa,EAAE,cAAc,EAC7B,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,cAAc,GAC1B,aAAa,CAEf;AAED,sGAAsG;AACtG,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,cAAc,EAAE,CAoBlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quantityValue.d.ts","sourceRoot":"","sources":["../../../src/utils/quantityValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE9D,yGAAyG;AACzG,eAAO,MAAM,oBAAoB,QAAkB,CAAA;AAInD,wBAAgB,+BAA+B,CAC9C,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,MAAM,CAOR;AAED,wBAAgB,sBAAsB,CACrC,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,aAAa,CASf;AAED,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,OAAO,EAAE,eAAe,GACtB,aAAa,
|
|
1
|
+
{"version":3,"file":"quantityValue.d.ts","sourceRoot":"","sources":["../../../src/utils/quantityValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE9D,yGAAyG;AACzG,eAAO,MAAM,oBAAoB,QAAkB,CAAA;AAInD,wBAAgB,+BAA+B,CAC9C,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,MAAM,CAOR;AAED,wBAAgB,sBAAsB,CACrC,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,GACvC,aAAa,CASf;AAED,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,OAAO,EAAE,eAAe,GACtB,aAAa,CAIf;AAED,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EACzC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,eAAe,GACtB,aAAa,CAEf"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A number part of a box's value as a number, or null when it holds none. A part read from a record's
|
|
3
|
+
* own field holds what the server sent, and Postgres sends a `numeric` column as its decimal text.
|
|
4
|
+
*/
|
|
5
|
+
export declare function numberFromRecord(value: number | string | null | undefined): number | null;
|
|
6
|
+
//# sourceMappingURL=recordNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordNumber.d.ts","sourceRoot":"","sources":["../../../src/utils/recordNumber.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAGzF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/aform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Schema-driven form components for Stonecrop",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@vueuse/components": "^14.2.1",
|
|
48
48
|
"@vueuse/core": "^14.2.1",
|
|
49
49
|
"temporal-polyfill": "^1.0.5",
|
|
50
|
-
"@stonecrop/
|
|
51
|
-
"@stonecrop/
|
|
52
|
-
"@stonecrop/
|
|
53
|
-
"@stonecrop/
|
|
50
|
+
"@stonecrop/atable": "0.48.0",
|
|
51
|
+
"@stonecrop/themes": "0.48.0",
|
|
52
|
+
"@stonecrop/schema": "0.48.0",
|
|
53
|
+
"@stonecrop/utilities": "0.48.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@microsoft/api-extractor": "^7.58.7",
|