@timardex/cluemart-shared 1.4.73 → 1.4.74
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/{auth-CovYLFRn.d.ts → auth-DKNuFwhE.d.ts} +1 -1
- package/dist/{auth-Cdfen6gg.d.mts → auth-TqKVpwo1.d.mts} +1 -1
- package/dist/{chunk-2OEDUG7U.mjs → chunk-4LT5GOOP.mjs} +1 -5
- package/dist/{chunk-2OEDUG7U.mjs.map → chunk-4LT5GOOP.mjs.map} +1 -1
- package/dist/{chunk-7FRB62SE.mjs → chunk-W465TNSV.mjs} +1 -5
- package/dist/chunk-W465TNSV.mjs.map +1 -0
- package/dist/formFields/index.cjs +0 -4
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +1 -1
- package/dist/{global-HUZHOXHh.d.ts → global-B-g-Dv61.d.ts} +0 -4
- package/dist/{global-D_ckWQMA.d.mts → global-DvWluf-6.d.mts} +0 -4
- package/dist/graphql/index.cjs +0 -4
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +1 -19
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +3 -13
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +1 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/index.mjs +1 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post-aU2ITfZh.d.mts → post-5WEzHfXv.d.mts} +1 -1
- package/dist/{post-DIylz7DM.d.ts → post-D_KFXmTl.d.ts} +1 -1
- package/dist/{resourceActivities-dxnqHVVc.d.mts → resourceActivities-DFtvysCz.d.mts} +1 -1
- package/dist/{resourceActivities-CwSss-73.d.ts → resourceActivities-DoJUbR_I.d.ts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-7FRB62SE.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1268,10 +1268,6 @@ var stallTypes = [
|
|
|
1268
1268
|
"Workshop/seating area"
|
|
1269
1269
|
];
|
|
1270
1270
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
1271
|
-
electricity: {
|
|
1272
|
-
price: null,
|
|
1273
|
-
selected: false
|
|
1274
|
-
},
|
|
1275
1271
|
label: type,
|
|
1276
1272
|
price: 0,
|
|
1277
1273
|
stallCapacity: 0
|
|
@@ -2761,10 +2757,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2761
2757
|
label
|
|
2762
2758
|
price
|
|
2763
2759
|
stallCapacity
|
|
2764
|
-
electricity {
|
|
2765
|
-
price
|
|
2766
|
-
selected
|
|
2767
|
-
}
|
|
2768
2760
|
}
|
|
2769
2761
|
`;
|
|
2770
2762
|
var RELATION_DATES_FRAGMENT = import_client2.gql`
|
|
@@ -6211,17 +6203,7 @@ var stallTypesSchema = yup.object({
|
|
|
6211
6203
|
"",
|
|
6212
6204
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
6213
6205
|
),
|
|
6214
|
-
stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
6215
|
-
electricity: yup.object({
|
|
6216
|
-
selected: yup.boolean().nullable().optional().label("Electricity Available"),
|
|
6217
|
-
price: yup.number().transform(
|
|
6218
|
-
(value, originalValue) => originalValue === "" ? null : value
|
|
6219
|
-
).integer("Electricity price must be a whole number").test(
|
|
6220
|
-
"no-leading-zeros",
|
|
6221
|
-
"",
|
|
6222
|
-
noLeadingZeros("Electricity price", { allowDecimal: true })
|
|
6223
|
-
).nullable().optional()
|
|
6224
|
-
}).nullable().optional().label("Electricity Information")
|
|
6206
|
+
stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
6225
6207
|
});
|
|
6226
6208
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
6227
6209
|
stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|