@timardex/cluemart-shared 1.5.793 → 1.5.794
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/{chunk-7TMY5XDJ.mjs → chunk-CID7QC75.mjs} +2 -2
- package/dist/{chunk-RBIYRMQB.mjs → chunk-HO7KOQ6F.mjs} +2 -2
- package/dist/{chunk-AM6MIXMX.mjs → chunk-KKPVTN4B.mjs} +2 -2
- package/dist/{chunk-P2YIB4MR.mjs → chunk-S7C3MFZF.mjs} +11 -1
- package/dist/{chunk-P2YIB4MR.mjs.map → chunk-S7C3MFZF.mjs.map} +1 -1
- package/dist/formFields/index.mjs +3 -3
- package/dist/hooks/index.mjs +4 -4
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/utils/index.cjs +11 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.mjs +4 -2
- package/package.json +1 -1
- /package/dist/{chunk-7TMY5XDJ.mjs.map → chunk-CID7QC75.mjs.map} +0 -0
- /package/dist/{chunk-RBIYRMQB.mjs.map → chunk-HO7KOQ6F.mjs.map} +0 -0
- /package/dist/{chunk-AM6MIXMX.mjs.map → chunk-KKPVTN4B.mjs.map} +0 -0
package/dist/utils/index.d.mts
CHANGED
|
@@ -89,6 +89,7 @@ declare const PostTypeLabels: Record<EnumPostType, string>;
|
|
|
89
89
|
declare const CM_SCHOOL_PROMO_CODE = "CM-SCHOOL";
|
|
90
90
|
/** Hardcoded registration gateway code; only valid at sign-up (not a generated affiliate referral code). */
|
|
91
91
|
declare const CM_AFFILIATE_PROMO_CODE = "CM-AFFILIATE";
|
|
92
|
+
declare function formatNZBankAccount(input: string): string;
|
|
92
93
|
|
|
93
94
|
declare const AFFILIATE_REWARDS: {
|
|
94
95
|
NEW_EVENT_REGISTRATION: {
|
|
@@ -206,4 +207,4 @@ declare function getVendorEventRelationStartDates(events: EventListItemType[] |
|
|
|
206
207
|
declare function getVendorEventRelationDateOptions(events: EventListItemType[] | null | undefined): StallholderFilterOption[];
|
|
207
208
|
declare function getVendorEventsEmptyMessage(): string;
|
|
208
209
|
|
|
209
|
-
export { AFFILIATE_REWARDS, ANDROID_URL, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, EVENT_DATE_STATUS_PERIOD_MAP, type EventScheduleStatusPresentation, type EventScheduleStatusTone, IOS_URL, KNOWN_EVENT_SCHEDULE_STATUSES, PostTypeLabels, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, type StallholderFilterOption, availableRegionOptions, availableRegionTypes, buildCalendarSheetContentData, capitalizeFirstLetter, cluemartSocialMedia, collectStallholderStartDates, collectVendorEventRelationDateTimes, computeDailyClueState, createAffiliateReward, dateFormat, eventHasSelectedDate, eventMatchesDateStatusPeriod, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, formatDate, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, getAllowedEventDateStatuses, getCurrentAndFutureDates, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasMatchingEventDate, isFutureDatesBeforeThreshold, isIsoDateString, isResourceImageActive, licenseNiceNames, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeResourceImage, normalizeUrl, nzStartOfDay, paymentMethodOptions, relationHasSelectedDate, removeTypename, resolveResourceImageActive, rewardNiceNames, seededShuffle, shouldShowEventActionsWithWeather, sortDatesChronologically, statusOptions, timeFormat, toCalendarIsoDate, toNZTime, truncateText };
|
|
210
|
+
export { AFFILIATE_REWARDS, ANDROID_URL, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, EVENT_DATE_STATUS_PERIOD_MAP, type EventScheduleStatusPresentation, type EventScheduleStatusTone, IOS_URL, KNOWN_EVENT_SCHEDULE_STATUSES, PostTypeLabels, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, type StallholderFilterOption, availableRegionOptions, availableRegionTypes, buildCalendarSheetContentData, capitalizeFirstLetter, cluemartSocialMedia, collectStallholderStartDates, collectVendorEventRelationDateTimes, computeDailyClueState, createAffiliateReward, dateFormat, eventHasSelectedDate, eventMatchesDateStatusPeriod, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, formatDate, formatNZBankAccount, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, getAllowedEventDateStatuses, getCurrentAndFutureDates, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasMatchingEventDate, isFutureDatesBeforeThreshold, isIsoDateString, isResourceImageActive, licenseNiceNames, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeResourceImage, normalizeUrl, nzStartOfDay, paymentMethodOptions, relationHasSelectedDate, removeTypename, resolveResourceImageActive, rewardNiceNames, seededShuffle, shouldShowEventActionsWithWeather, sortDatesChronologically, statusOptions, timeFormat, toCalendarIsoDate, toNZTime, truncateText };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ declare const PostTypeLabels: Record<EnumPostType, string>;
|
|
|
89
89
|
declare const CM_SCHOOL_PROMO_CODE = "CM-SCHOOL";
|
|
90
90
|
/** Hardcoded registration gateway code; only valid at sign-up (not a generated affiliate referral code). */
|
|
91
91
|
declare const CM_AFFILIATE_PROMO_CODE = "CM-AFFILIATE";
|
|
92
|
+
declare function formatNZBankAccount(input: string): string;
|
|
92
93
|
|
|
93
94
|
declare const AFFILIATE_REWARDS: {
|
|
94
95
|
NEW_EVENT_REGISTRATION: {
|
|
@@ -206,4 +207,4 @@ declare function getVendorEventRelationStartDates(events: EventListItemType[] |
|
|
|
206
207
|
declare function getVendorEventRelationDateOptions(events: EventListItemType[] | null | undefined): StallholderFilterOption[];
|
|
207
208
|
declare function getVendorEventsEmptyMessage(): string;
|
|
208
209
|
|
|
209
|
-
export { AFFILIATE_REWARDS, ANDROID_URL, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, EVENT_DATE_STATUS_PERIOD_MAP, type EventScheduleStatusPresentation, type EventScheduleStatusTone, IOS_URL, KNOWN_EVENT_SCHEDULE_STATUSES, PostTypeLabels, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, type StallholderFilterOption, availableRegionOptions, availableRegionTypes, buildCalendarSheetContentData, capitalizeFirstLetter, cluemartSocialMedia, collectStallholderStartDates, collectVendorEventRelationDateTimes, computeDailyClueState, createAffiliateReward, dateFormat, eventHasSelectedDate, eventMatchesDateStatusPeriod, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, formatDate, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, getAllowedEventDateStatuses, getCurrentAndFutureDates, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasMatchingEventDate, isFutureDatesBeforeThreshold, isIsoDateString, isResourceImageActive, licenseNiceNames, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeResourceImage, normalizeUrl, nzStartOfDay, paymentMethodOptions, relationHasSelectedDate, removeTypename, resolveResourceImageActive, rewardNiceNames, seededShuffle, shouldShowEventActionsWithWeather, sortDatesChronologically, statusOptions, timeFormat, toCalendarIsoDate, toNZTime, truncateText };
|
|
210
|
+
export { AFFILIATE_REWARDS, ANDROID_URL, CLUEMART_MAIN_DOMAIN_URL, CM_AFFILIATE_PROMO_CODE, CM_SCHOOL_PROMO_CODE, type CalendarSheetContentData, DEFAULT_RESOURCES_RETURN_LIMIT, DEFAULT_RESOURCES_RETURN_OFFSET, EVENT_DATE_STATUS_PERIOD_MAP, type EventScheduleStatusPresentation, type EventScheduleStatusTone, IOS_URL, KNOWN_EVENT_SCHEDULE_STATUSES, PostTypeLabels, SCHOOL_MAX_STUDENT_COUNT, SCHOOL_MIN_STUDENT_COUNT, type StallholderFilterOption, availableRegionOptions, availableRegionTypes, buildCalendarSheetContentData, capitalizeFirstLetter, cluemartSocialMedia, collectStallholderStartDates, collectVendorEventRelationDateTimes, computeDailyClueState, createAffiliateReward, dateFormat, eventHasSelectedDate, eventMatchesDateStatusPeriod, eventStartDatesSet, filterEventsByDateStatusPeriod, filterRegisteredVendorsByEventDatesOnly, filterRegisteredVendorsForEvent, filterUnregisteredVendorsByEventDatesOnly, filterUnregisteredVendorsForEvent, filterVendorEventsBySelectedDate, findEventDateTimeByIsoDate, formatDate, formatNZBankAccount, formatTimestamp, fromCalendarIsoDate, futureTimePeriods, getAllowedEventDateStatuses, getCurrentAndFutureDates, getEventCalendarIsoDates, getEventDatesWithStallholders, getEventScheduleStatusLabel, getEventScheduleStatusPresentation, getEventScheduleStatusTone, getEventStallholderEmptyMessage, getRegisteredVendorCategoryNames, getRegisteredVendorStartDates, getStallholderCategoryNames, getStallholderCategoryOptions, getUnregisteredVendorCategoryNames, getUnregisteredVendorStartDates, getVendorEventRelationDateOptions, getVendorEventRelationStartDates, getVendorEventsEmptyMessage, hasMatchingEventDate, isFutureDatesBeforeThreshold, isIsoDateString, isResourceImageActive, licenseNiceNames, mapArrayToOptions, matchesCategory, matchesSelectedDate, normalizeResourceImage, normalizeUrl, nzStartOfDay, paymentMethodOptions, relationHasSelectedDate, removeTypename, resolveResourceImageActive, rewardNiceNames, seededShuffle, shouldShowEventActionsWithWeather, sortDatesChronologically, statusOptions, timeFormat, toCalendarIsoDate, toNZTime, truncateText };
|
package/dist/utils/index.mjs
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
seededShuffle,
|
|
47
47
|
shouldShowEventActionsWithWeather,
|
|
48
48
|
toCalendarIsoDate
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-HO7KOQ6F.mjs";
|
|
50
50
|
import {
|
|
51
51
|
ANDROID_URL,
|
|
52
52
|
CLUEMART_MAIN_DOMAIN_URL,
|
|
@@ -62,6 +62,7 @@ import {
|
|
|
62
62
|
cluemartSocialMedia,
|
|
63
63
|
dateFormat,
|
|
64
64
|
formatDate,
|
|
65
|
+
formatNZBankAccount,
|
|
65
66
|
formatTimestamp,
|
|
66
67
|
futureTimePeriods,
|
|
67
68
|
getCurrentAndFutureDates,
|
|
@@ -79,7 +80,7 @@ import {
|
|
|
79
80
|
timeFormat,
|
|
80
81
|
toNZTime,
|
|
81
82
|
truncateText
|
|
82
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-S7C3MFZF.mjs";
|
|
83
84
|
import "../chunk-XY5XRXR3.mjs";
|
|
84
85
|
import "../chunk-LETM2YHF.mjs";
|
|
85
86
|
export {
|
|
@@ -117,6 +118,7 @@ export {
|
|
|
117
118
|
filterVendorEventsBySelectedDate,
|
|
118
119
|
findEventDateTimeByIsoDate,
|
|
119
120
|
formatDate,
|
|
121
|
+
formatNZBankAccount,
|
|
120
122
|
formatTimestamp,
|
|
121
123
|
fromCalendarIsoDate,
|
|
122
124
|
futureTimePeriods,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|