@stonecrop/aform 0.27.0 → 0.29.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/dist/aform.js +11 -11
- package/dist/aform.js.map +1 -1
- package/dist/assets/index.css +1 -1
- package/package.json +5 -5
- package/src/components/AForm.vue +1 -1
- package/src/components/AFormLoading.vue +1 -1
- package/src/components/base/ExpandButton.vue +1 -1
- package/src/components/form/ABadge.vue +3 -3
- package/src/components/form/ACurrencyInput.vue +1 -1
- package/src/components/form/ADatePicker.vue +1 -1
- package/src/components/form/ADateSelection.vue +1 -1
- package/src/components/form/ADropdown.vue +1 -1
- package/src/components/form/ADuration.vue +3 -3
- package/src/components/form/AFormLink.vue +1 -1
- package/src/components/form/AQuantityInput.vue +3 -3
- package/dist/theme/custom_themes.css +0 -6
- package/dist/theme/fields.css +0 -84
- package/dist/theme/login.css +0 -1
- package/dist/theme/purple_theme.css +0 -9
- package/src/theme/custom_themes.css +0 -6
- package/src/theme/fields.css +0 -84
- package/src/theme/login.css +0 -1
- package/src/theme/purple_theme.css +0 -9
package/dist/aform.js
CHANGED
|
@@ -292,7 +292,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
292
292
|
], 64))
|
|
293
293
|
], 2));
|
|
294
294
|
}
|
|
295
|
-
}), Le = /* @__PURE__ */ R(bt, [["__scopeId", "data-v-
|
|
295
|
+
}), Le = /* @__PURE__ */ R(bt, [["__scopeId", "data-v-ecde0430"]]), gt = { class: "aform_form-element acurrency" }, ht = { class: "aform_display-value" }, kt = { class: "aform_field-label" }, $t = { class: "acurrency__row" }, xt = { class: "acurrency__field acurrency__field--amount" }, Dt = { class: "acurrency__group" }, wt = { class: "acurrency__currency" }, Mt = { class: "acurrency__amount-wrap" }, Tt = ["id", "disabled", "required"], St = ["for"], At = { class: "acurrency__row acurrency__row--base" }, pt = { class: "acurrency__field acurrency__field--base-currency" }, It = ["value"], Lt = { class: "aform_field-label" }, _t = { class: "acurrency__field acurrency__field--base-amount" }, Bt = ["value"], Ct = { class: "aform_field-label" }, qt = { class: "acurrency__field acurrency__field--exchange-rate" }, Ft = ["value"], Vt = { class: "aform_field-label" }, Rt = ["innerHTML"], Me = 6, Ht = /* @__PURE__ */ F({
|
|
296
296
|
__name: "ACurrencyInput",
|
|
297
297
|
props: /* @__PURE__ */ E({
|
|
298
298
|
schema: {},
|
|
@@ -489,7 +489,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
489
489
|
], 64))
|
|
490
490
|
]));
|
|
491
491
|
}
|
|
492
|
-
}), Nt = /* @__PURE__ */ R(Ht, [["__scopeId", "data-v-
|
|
492
|
+
}), Nt = /* @__PURE__ */ R(Ht, [["__scopeId", "data-v-77852830"]]), Ut = { class: "aform_display-value" }, Et = { key: 0 }, Pt = ["innerHTML"], Kt = {
|
|
493
493
|
ref: "datepicker",
|
|
494
494
|
class: "adatepicker",
|
|
495
495
|
tabindex: "0"
|
|
@@ -676,7 +676,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
676
676
|
])
|
|
677
677
|
], 64));
|
|
678
678
|
}
|
|
679
|
-
}), _e = /* @__PURE__ */ R(jt, [["__scopeId", "data-v-
|
|
679
|
+
}), _e = /* @__PURE__ */ R(jt, [["__scopeId", "data-v-ef698187"]]), ea = { class: "adate_time" }, ta = { class: "adate_time_fields" }, aa = ["onKeydown"], la = ["onKeydown"], na = {
|
|
680
680
|
key: 0,
|
|
681
681
|
class: "colon"
|
|
682
682
|
}, oa = ["onKeydown"], sa = /* @__PURE__ */ F({
|
|
@@ -903,7 +903,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
903
903
|
!e.showTime && !e.showDate ? (u(), m("p", ua, "empty")) : q("", !0)
|
|
904
904
|
]));
|
|
905
905
|
}
|
|
906
|
-
}), ne = /* @__PURE__ */ R(ra, [["__scopeId", "data-v-
|
|
906
|
+
}), ne = /* @__PURE__ */ R(ra, [["__scopeId", "data-v-36e737ea"]]), da = { class: "aform_form-element" }, ca = { class: "aform_display-value" }, ma = { class: "aform_field-label" }, fa = ["id", "disabled", "required"], va = ["for"], ya = ["innerHTML"], ba = /* @__PURE__ */ F({
|
|
907
907
|
__name: "ADate",
|
|
908
908
|
props: /* @__PURE__ */ E({
|
|
909
909
|
schema: {},
|
|
@@ -1117,7 +1117,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
1117
1117
|
], 64))
|
|
1118
1118
|
]));
|
|
1119
1119
|
}
|
|
1120
|
-
}), pa = /* @__PURE__ */ R(Aa, [["__scopeId", "data-v-
|
|
1120
|
+
}), pa = /* @__PURE__ */ R(Aa, [["__scopeId", "data-v-4206fcf7"]]), Ia = /* @__PURE__ */ F({
|
|
1121
1121
|
__name: "ABadge",
|
|
1122
1122
|
props: {
|
|
1123
1123
|
label: {},
|
|
@@ -1156,7 +1156,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
1156
1156
|
style: ie(h.value)
|
|
1157
1157
|
}, k(r.value), 7)) : q("", !0);
|
|
1158
1158
|
}
|
|
1159
|
-
}), Be = /* @__PURE__ */ R(Ia, [["__scopeId", "data-v-
|
|
1159
|
+
}), Be = /* @__PURE__ */ R(Ia, [["__scopeId", "data-v-f99dd564"]]), La = {
|
|
1160
1160
|
key: 1,
|
|
1161
1161
|
class: "aform_display-value"
|
|
1162
1162
|
}, _a = ["id"], Ba = ["role", "aria-labelledby", "aria-label", "aria-busy"], Ca = ["data-segment-value"], qa = ["name", "value", "disabled"], Fa = ["name", "value", "disabled"], Va = { class: "aform_segmented-label" }, Ra = ["innerHTML"], Ha = /* @__PURE__ */ F({
|
|
@@ -1444,7 +1444,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
1444
1444
|
], 64))
|
|
1445
1445
|
]));
|
|
1446
1446
|
}
|
|
1447
|
-
}), tl = /* @__PURE__ */ R(el, [["__scopeId", "data-v-
|
|
1447
|
+
}), tl = /* @__PURE__ */ R(el, [["__scopeId", "data-v-43788a3d"]]), al = { class: "aform_form-element" }, ll = { class: "aform_display-value" }, nl = { class: "aform_field-label" }, ol = ["id", "value", "disabled"], sl = ["for"], il = ["innerHTML"], ul = /* @__PURE__ */ F({
|
|
1448
1448
|
__name: "ADateRange",
|
|
1449
1449
|
props: /* @__PURE__ */ E({
|
|
1450
1450
|
schema: {},
|
|
@@ -1611,7 +1611,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
1611
1611
|
], 64))), 128))
|
|
1612
1612
|
]));
|
|
1613
1613
|
}
|
|
1614
|
-
}), Ce = /* @__PURE__ */ R(fl, [["__scopeId", "data-v-
|
|
1614
|
+
}), Ce = /* @__PURE__ */ R(fl, [["__scopeId", "data-v-713aca93"]]), vl = /* @__PURE__ */ F({
|
|
1615
1615
|
__name: "CollapseButton",
|
|
1616
1616
|
props: {
|
|
1617
1617
|
collapsed: { type: Boolean }
|
|
@@ -1976,7 +1976,7 @@ const Oe = { class: "aform_form-element" }, je = { class: "aform_field-label" },
|
|
|
1976
1976
|
], 64))
|
|
1977
1977
|
]));
|
|
1978
1978
|
}
|
|
1979
|
-
}), nn = /* @__PURE__ */ R(ln, [["__scopeId", "data-v-
|
|
1979
|
+
}), nn = /* @__PURE__ */ R(ln, [["__scopeId", "data-v-f16b20ca"]]);
|
|
1980
1980
|
function on(e) {
|
|
1981
1981
|
try {
|
|
1982
1982
|
return le(e);
|
|
@@ -2214,7 +2214,7 @@ function Pn(e, l) {
|
|
|
2214
2214
|
l[0] || (l[0] = t("div", { class: "aform-loading__bar" }, null, -1))
|
|
2215
2215
|
]);
|
|
2216
2216
|
}
|
|
2217
|
-
const Kn = /* @__PURE__ */ R(Nn, [["render", Pn], ["__scopeId", "data-v-
|
|
2217
|
+
const Kn = /* @__PURE__ */ R(Nn, [["render", Pn], ["__scopeId", "data-v-a8ae13b2"]]), Qn = ["aria-expanded", "aria-label"], Gn = /* @__PURE__ */ F({
|
|
2218
2218
|
__name: "ExpandButton",
|
|
2219
2219
|
props: {
|
|
2220
2220
|
expanded: { type: Boolean }
|
|
@@ -2227,7 +2227,7 @@ const Kn = /* @__PURE__ */ R(Nn, [["render", Pn], ["__scopeId", "data-v-274f5ba3
|
|
|
2227
2227
|
"aria-label": e.expanded ? "Collapse" : "Expand"
|
|
2228
2228
|
}, k(e.expanded ? "▼" : "►"), 9, Qn));
|
|
2229
2229
|
}
|
|
2230
|
-
}), Yn = /* @__PURE__ */ R(Gn, [["__scopeId", "data-v-
|
|
2230
|
+
}), Yn = /* @__PURE__ */ R(Gn, [["__scopeId", "data-v-5ed76a08"]]);
|
|
2231
2231
|
function jn(e) {
|
|
2232
2232
|
e.use(Ne), e.component("ACheckbox", st), e.component("ACurrencyInput", Nt), e.component("ADate", ga), e.component("ADropdown", pa), e.component("ASegmentedControl", Na), e.component("ABadge", Be), e.component("ADatePicker", _e), e.component("ADateTime", za), e.component("ADateTimeInput", ve), e.component("ADateRange", rl), e.component("ADateSelection", ne), e.component("AFieldset", gl), e.component("AFileAttach", Tl), e.component("AForm", Ce), e.component("AFormLink", Le), e.component("ANumericInput", Bl), e.component("AQuantityInput", nn), e.component("ATextInput", gn), e.component("ATextboxInput", Tn), e.component("ADuration", tl), e.component("AFormLoading", Kn), e.component("ExpandButton", Yn);
|
|
2233
2233
|
}
|