@nanas-home/hub-common 0.26.514 → 0.29.650
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/{KE2RZHGV.js → 2KB24JWD.js} +25 -248
- package/dist/index.css +1 -1
- package/dist/node-utils/index.d.ts +2 -2
- package/dist/node-utils/index.js +4 -4
- package/dist/{textValidation-BB_7jYAh.d.ts → textValidation-B3UShtMg.d.ts} +6 -41
- package/dist/web/index.d.ts +2 -2
- package/dist/web/index.js +2 -2
- package/dist/web/index.jsx +6 -230
- package/package.json +11 -10
|
@@ -48,6 +48,11 @@ var monthTranslationKeyOrder = [
|
|
|
48
48
|
"dec"
|
|
49
49
|
];
|
|
50
50
|
|
|
51
|
+
// src/constants/font.ts
|
|
52
|
+
var nanasFonts = {
|
|
53
|
+
default: "https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap"
|
|
54
|
+
};
|
|
55
|
+
|
|
51
56
|
// src/constants/links.ts
|
|
52
57
|
var socialLinks = {
|
|
53
58
|
instagram: "https://www.instagram.com/nanas.home.petconcierge/",
|
|
@@ -559,6 +564,25 @@ var searchColumns = {
|
|
|
559
564
|
pet: [{ "property": "type", "type": 1 }, { "property": "sex", "type": 2 }, { "property": "breed", "type": 2 }, { "property": "neutered", "type": 2 }, { "property": "name", "type": 2 }, { "property": "notes", "type": 2 }, { "property": "dateOfBirth", "type": 5 }],
|
|
560
565
|
question: [{ "property": "forTypes", "type": 1 }, { "property": "transKey", "type": 2 }, { "property": "fallback", "type": 2 }, { "property": "category", "type": 2 }, { "property": "type", "type": 0 }, { "property": "sortOrder", "type": 3 }, { "property": "visible", "type": 4 }, { "property": "notes", "type": 2 }]
|
|
561
566
|
};
|
|
567
|
+
|
|
568
|
+
// src/helpers/arrayHelper.ts
|
|
569
|
+
var makeArrayOrDefault = (propsVal, defaultValue = []) => {
|
|
570
|
+
if (propsVal == null) return defaultValue;
|
|
571
|
+
if (Array.isArray(propsVal) == true) return [...propsVal];
|
|
572
|
+
return [propsVal];
|
|
573
|
+
};
|
|
574
|
+
var onlyUnique = (value, index, array) => {
|
|
575
|
+
return array.indexOf(value) === index;
|
|
576
|
+
};
|
|
577
|
+
var arrayOfNLength = (length) => Array.from(Array(length).keys());
|
|
578
|
+
var arrayContains = (arr, items, method = "AND") => {
|
|
579
|
+
for (const item of items) {
|
|
580
|
+
const hasItem = arr.includes(item);
|
|
581
|
+
if (method == "AND" && hasItem == false) return false;
|
|
582
|
+
if (method == "OR" && hasItem == true) return true;
|
|
583
|
+
}
|
|
584
|
+
return true;
|
|
585
|
+
};
|
|
562
586
|
var formatDate = (date, format = "DD MMM YYYY HH:mm") => {
|
|
563
587
|
const dateStr = dayjs(date).format(format);
|
|
564
588
|
if (dateStr.includes("Invalid")) return "";
|
|
@@ -799,25 +823,6 @@ var setContainerTokenLazy = (token, value) => {
|
|
|
799
823
|
rootContainer.register(token, value);
|
|
800
824
|
};
|
|
801
825
|
|
|
802
|
-
// src/helpers/arrayHelper.ts
|
|
803
|
-
var makeArrayOrDefault = (propsVal, defaultValue = []) => {
|
|
804
|
-
if (propsVal == null) return defaultValue;
|
|
805
|
-
if (Array.isArray(propsVal) == true) return [...propsVal];
|
|
806
|
-
return [propsVal];
|
|
807
|
-
};
|
|
808
|
-
var onlyUnique = (value, index, array) => {
|
|
809
|
-
return array.indexOf(value) === index;
|
|
810
|
-
};
|
|
811
|
-
var arrayOfNLength = (length) => Array.from(Array(length).keys());
|
|
812
|
-
var arrayContains = (arr, items, method = "AND") => {
|
|
813
|
-
for (const item of items) {
|
|
814
|
-
const hasItem = arr.includes(item);
|
|
815
|
-
if (method == "AND" && hasItem == false) return false;
|
|
816
|
-
if (method == "OR" && hasItem == true) return true;
|
|
817
|
-
}
|
|
818
|
-
return true;
|
|
819
|
-
};
|
|
820
|
-
|
|
821
826
|
// src/helpers/asyncHelper.ts
|
|
822
827
|
var timeout = (ms) => {
|
|
823
828
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -1113,234 +1118,6 @@ var getPayloadFromJwt = (token) => {
|
|
|
1113
1118
|
}
|
|
1114
1119
|
};
|
|
1115
1120
|
|
|
1116
|
-
// src/assets/meta.json
|
|
1117
|
-
var meta_default = {
|
|
1118
|
-
packageVersion: "0.26.0",
|
|
1119
|
-
date: "2026-02-05",
|
|
1120
|
-
gitCommitHash: "6dcc850a7b4cc2017a24991ea942b52715754d0f"
|
|
1121
|
-
};
|
|
1122
|
-
|
|
1123
|
-
// src/assets/packagesUsed.json
|
|
1124
|
-
var packagesUsed_default = {
|
|
1125
|
-
generatedDate: "2026-02-05T10:25:24.365Z",
|
|
1126
|
-
generatedDateFormat: "2026-02-05",
|
|
1127
|
-
list: {
|
|
1128
|
-
dependencies: [],
|
|
1129
|
-
peerDependencies: [
|
|
1130
|
-
{
|
|
1131
|
-
name: "@hcaptcha/types",
|
|
1132
|
-
version: "1.0.4",
|
|
1133
|
-
licenseType: "MIT",
|
|
1134
|
-
repoUrl: "https://www.npmjs.com/package/@hcaptcha/types"
|
|
1135
|
-
},
|
|
1136
|
-
{
|
|
1137
|
-
name: "@tolgee/format-icu",
|
|
1138
|
-
version: "6.2.6",
|
|
1139
|
-
licenseType: "MIT",
|
|
1140
|
-
repoUrl: "https://github.com/tolgee/tolgee-js",
|
|
1141
|
-
licenceUrl: "https://github.com/tolgee/tolgee-js/blob/master/LICENSE"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
name: "@tolgee/web",
|
|
1145
|
-
version: "6.2.6",
|
|
1146
|
-
licenseType: "BSD-3-Clause",
|
|
1147
|
-
repoUrl: "https://github.com/tolgee/tolgee-js.git",
|
|
1148
|
-
licenceUrl: "https://github.com/tolgee/tolgee-js/blob/master/LICENSE"
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
name: "classnames",
|
|
1152
|
-
version: "2.5.1",
|
|
1153
|
-
licenseType: "MIT",
|
|
1154
|
-
repoUrl: "https://github.com/JedWatson/classnames.git",
|
|
1155
|
-
licenceUrl: "https://github.com/JedWatson/classnames/blob/master/LICENSE"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
name: "dayjs",
|
|
1159
|
-
version: "1.11.13",
|
|
1160
|
-
licenseType: "MIT",
|
|
1161
|
-
repoUrl: "https://github.com/iamkun/dayjs.git",
|
|
1162
|
-
licenceUrl: "https://github.com/iamkun/dayjs/blob/master/LICENSE"
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
name: "favicons",
|
|
1166
|
-
version: "7.2.0",
|
|
1167
|
-
licenseType: "MIT",
|
|
1168
|
-
repoUrl: "https://github.com/itgalaxy/favicons.git",
|
|
1169
|
-
licenceUrl: "https://github.com/itgalaxy/favicons/blob/master/LICENSE"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
name: "jwt-decode",
|
|
1173
|
-
version: "4.0.0",
|
|
1174
|
-
licenseType: "MIT",
|
|
1175
|
-
repoUrl: "git://github.com/auth0/jwt-decode",
|
|
1176
|
-
licenceUrl: "https://github.com/auth0/jwt-decode/blob/master/LICENSE"
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
name: "solid-js",
|
|
1180
|
-
version: "1.9.7",
|
|
1181
|
-
licenseType: "MIT",
|
|
1182
|
-
repoUrl: "https://github.com/solidjs/solid",
|
|
1183
|
-
licenceUrl: "https://github.com/solidjs/solid/blob/master/LICENSE"
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
name: "solid-toast",
|
|
1187
|
-
version: "0.5.0",
|
|
1188
|
-
licenseType: "MIT",
|
|
1189
|
-
repoUrl: "https://github.com/ardeora/solid-toast.git",
|
|
1190
|
-
licenceUrl: "https://github.com/ardeora/solid-toast/blob/master/LICENSE"
|
|
1191
|
-
}
|
|
1192
|
-
],
|
|
1193
|
-
devDependencies: [
|
|
1194
|
-
{
|
|
1195
|
-
name: "@chromatic-com/storybook",
|
|
1196
|
-
version: "5.0.0",
|
|
1197
|
-
licenseType: "MIT",
|
|
1198
|
-
repoUrl: "https://github.com/chromaui/addon-visual-tests.git",
|
|
1199
|
-
licenceUrl: "https://github.com/chromaui/addon-visual-tests/blob/master/LICENSE"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
name: "@storybook/addon-a11y",
|
|
1203
|
-
version: "10.2.6",
|
|
1204
|
-
licenseType: "MIT",
|
|
1205
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
name: "@storybook/addon-docs",
|
|
1209
|
-
version: "10.2.6",
|
|
1210
|
-
licenseType: "MIT",
|
|
1211
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1212
|
-
},
|
|
1213
|
-
{
|
|
1214
|
-
name: "@storybook/addon-links",
|
|
1215
|
-
version: "10.2.6",
|
|
1216
|
-
licenseType: "MIT",
|
|
1217
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
name: "@storybook/addon-onboarding",
|
|
1221
|
-
version: "10.2.6",
|
|
1222
|
-
licenseType: "MIT",
|
|
1223
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
name: "@storybook/addon-vitest",
|
|
1227
|
-
version: "10.2.6",
|
|
1228
|
-
licenseType: "MIT",
|
|
1229
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1230
|
-
},
|
|
1231
|
-
{
|
|
1232
|
-
name: "@types/node",
|
|
1233
|
-
version: "25.2.0",
|
|
1234
|
-
licenseType: "MIT",
|
|
1235
|
-
repoUrl: "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
1236
|
-
licenceUrl: "https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/LICENSE"
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
name: "@vitest/browser",
|
|
1240
|
-
version: "4.0.18",
|
|
1241
|
-
licenseType: "MIT",
|
|
1242
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
1243
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
name: "@vitest/coverage-v8",
|
|
1247
|
-
version: "4.0.18",
|
|
1248
|
-
licenseType: "MIT",
|
|
1249
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
1250
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
name: "@vitest/ui",
|
|
1254
|
-
version: "4.0.18",
|
|
1255
|
-
licenseType: "MIT",
|
|
1256
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
1257
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
name: "dotenv-cli",
|
|
1261
|
-
version: "11.0.0",
|
|
1262
|
-
licenseType: "MIT",
|
|
1263
|
-
repoUrl: "https://www.npmjs.com/package/dotenv-cli"
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
name: "jsdom",
|
|
1267
|
-
version: "28.0.0",
|
|
1268
|
-
licenseType: "MIT",
|
|
1269
|
-
repoUrl: "https://github.com/jsdom/jsdom.git"
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
name: "node-html-parser",
|
|
1273
|
-
version: "7.0.2",
|
|
1274
|
-
licenseType: "MIT",
|
|
1275
|
-
repoUrl: "https://github.com/taoqf/node-fast-html-parser.git",
|
|
1276
|
-
licenceUrl: "https://github.com/taoqf/node-fast-html-parser/blob/master/LICENSE"
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
name: "sass",
|
|
1280
|
-
version: "1.97.3",
|
|
1281
|
-
licenseType: "MIT",
|
|
1282
|
-
repoUrl: "https://github.com/sass/dart-sass",
|
|
1283
|
-
licenceUrl: "https://github.com/sass/dart-sass/blob/master/LICENSE"
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
name: "storybook",
|
|
1287
|
-
version: "10.2.6",
|
|
1288
|
-
licenseType: "MIT",
|
|
1289
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
name: "storybook-solidjs-vite",
|
|
1293
|
-
version: "10.0.9",
|
|
1294
|
-
licenseType: "MIT",
|
|
1295
|
-
repoUrl: "https://github.com/solidjs-community/storybook.git",
|
|
1296
|
-
licenceUrl: "https://github.com/solidjs-community/storybook/blob/master/LICENSE"
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
name: "tsup",
|
|
1300
|
-
version: "8.5.1",
|
|
1301
|
-
licenseType: "MIT",
|
|
1302
|
-
repoUrl: "https://github.com/egoist/tsup.git",
|
|
1303
|
-
licenceUrl: "https://github.com/egoist/tsup/blob/master/LICENSE"
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
name: "tsup-preset-solid",
|
|
1307
|
-
version: "2.2.0",
|
|
1308
|
-
licenseType: "MIT",
|
|
1309
|
-
repoUrl: "https://github.com/solidjs-community/tsup-preset-solid.git",
|
|
1310
|
-
licenceUrl: "https://github.com/solidjs-community/tsup-preset-solid/blob/master/LICENSE"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
name: "typescript",
|
|
1314
|
-
version: "5.9.3",
|
|
1315
|
-
licenseType: "Apache-2.0",
|
|
1316
|
-
repoUrl: "https://github.com/microsoft/TypeScript.git"
|
|
1317
|
-
},
|
|
1318
|
-
{
|
|
1319
|
-
name: "vite",
|
|
1320
|
-
version: "7.3.1",
|
|
1321
|
-
licenseType: "MIT",
|
|
1322
|
-
repoUrl: "https://github.com/vitejs/vite.git"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
name: "vite-plugin-solid",
|
|
1326
|
-
version: "2.11.10",
|
|
1327
|
-
licenseType: "MIT",
|
|
1328
|
-
repoUrl: "https://github.com/solidjs/vite-plugin-solid.git"
|
|
1329
|
-
},
|
|
1330
|
-
{
|
|
1331
|
-
name: "vitest",
|
|
1332
|
-
version: "4.0.18",
|
|
1333
|
-
licenseType: "MIT",
|
|
1334
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git"
|
|
1335
|
-
}
|
|
1336
|
-
]
|
|
1337
|
-
}
|
|
1338
|
-
};
|
|
1339
|
-
|
|
1340
|
-
// src/helpers/metaHelper.ts
|
|
1341
|
-
var getMeta = () => meta_default;
|
|
1342
|
-
var getPackagesUsed = () => packagesUsed_default;
|
|
1343
|
-
|
|
1344
1121
|
// src/helpers/mimeHelper.ts
|
|
1345
1122
|
var mimeTypeLookup = {
|
|
1346
1123
|
txt: "text/plain",
|
|
@@ -1713,4 +1490,4 @@ var shouldBeYoutubeUrl = (value) => {
|
|
|
1713
1490
|
};
|
|
1714
1491
|
};
|
|
1715
1492
|
|
|
1716
|
-
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog,
|
|
1493
|
+
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder };
|
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*!
|
|
2
2
|
* Bootstrap Grid v5.3.7 (https://getbootstrap.com/)
|
|
3
3
|
* Copyright 2011-2025 The Bootstrap Authors
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-
|
|
2
|
-
export {
|
|
1
|
+
import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-B3UShtMg.js';
|
|
2
|
+
export { cc as APP_TYPE_TOKEN, a5 as ActivityDto, aU as ActivityRestriction, x as ActivityType, a6 as AddressCreateDto, a7 as AddressDto, y as AddressLinkType, a8 as AddressLookupDto, aV as AddressRestriction, a9 as AddressUpdateDto, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aW as AnswerRestriction, A as AppType, ac as AuthLoginDto, ad as AuthPatDto, ae as AuthSignupDto, af as AuthSuccessDto, ca as BOT_PATH_TOKEN, ag as BookingAddonDto, aY as BookingAddonRestriction, B as BookingAddonType, ah as BookingCreateDto, ai as BookingDto, aX as BookingRestriction, aj as BookingRestrictionsDto, ak as BookingRestrictionsEnabledDaysDto, al as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, am as BookingUpdateDto, an as BookingWithRelationshipsDto, f as CachedValue, r as ClickEvent, ao as CommentCreateDto, ap as CommentDto, G as CommentLinkType, aZ as CommentRestriction, aq as CommentUpdateDto, c8 as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, a_ as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, b6 as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bJ as IImageParams, b8 as ILogMessage, b9 as IMediaUpload, c7 as ISite, c4 as ISiteColour, aT as JwtPayloadDto, K as KeyEvent, b7 as LogMethod, J as LogType, ar as MembershipCreateDto, as as MembershipDto, N as MembershipStatus, O as MembershipType, at as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, P as NetworkState, bb as NominatimAddressResponse, ba as NominatimResponse, c1 as ObjectWithPropsOfValue, Q as OrderDirectionType, au as PaginationRequestDto, av as PaginationResponseDto, a$ as PermissionRestriction, S as PermissionType, aw as PetCreateUpdateDto, ax as PetDto, b0 as PetRestriction, T as PetSexType, U as PetStatusType, V as PetType, c2 as Prettify, ay as ProfileDto, az as ProfileQuestionAndAnswersItemDto, aA as ProfileQuestionRequestDto, aB as ProfileUpdateDto, aC as QuestionCreateDto, aD as QuestionDto, Y as QuestionForType, b1 as QuestionRestriction, X as QuestionType, bl as RenderCellType, ce as SITE_CONFIG_TOKEN, aE as SearchObjDatePropRequestDto, aF as SearchObjRequestDto, aG as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, cn as TranslationService, b2 as UnavailabilityRestriction, aH as UploadCreateDto, aI as UploadDto, aJ as UploadImageWithLinkDto, a0 as UploadLinkType, b3 as UploadRestriction, a1 as UploadType, aK as UploadUpdateDto, a3 as UserAccountFlagType, aL as UserCreateDto, aM as UserDto, aN as UserMembershipCreateDto, aO as UserMembershipDto, aP as UserMembershipUpdateDto, aQ as UserPermissionDto, b4 as UserRestriction, a4 as UserType, aR as UserUpdateDto, bc as ValidationResult, aS as VersionDto, W as WeekdayTranslationKey, bx as addDays, bw as addMinutes, by as addMonths, bv as addSeconds, bZ as addSpacesForEnum, bi as addToParallelTasks, b$ as anyObject, u as apiRoute, t as apiRouteParam, bg as arrayContains, bf as arrayOfNLength, bX as capitalizeFirstLetter, c5 as colourPalette, g as createToken, bI as cyrb53, bB as dateDiffInDays, bF as debounceLeading, c6 as defaultSiteColour, c0 as fakePromise, bo as formatDate, b_ as formatFileSize, bu as formatForBookingDate, bq as formatForDateDropdown, bp as formatForDateLocal, bt as formatForDateLocalDetailed, br as formatForDateOfBirth, bs as formatForDateWithTime, bC as getAgeInYears, Z as getAllPetQuestionForType, cd as getAppType, bG as getArrFromEnum, cb as getBotPath, ci as getCommonConfig, bj as getDayClassObject, bm as getDayElements, bk as getDayHeadingElements, bK as getImageParams, cj as getLog, bN as getMimeTypeFromExtension, bL as getPayloadFromJwt, bP as getPerformanceTimer, bS as getPetAvatarUrl, ch as getSiteColour, cg as getSiteConfig, bR as getUserAvatarUrl, bn as getUsersName, bD as getWeekNumber, bQ as hasRequiredPermissions, bz as isBefore, cz as isNumber, bA as isSameDay, i as isWebApp, bY as lowercaseFirstLetter, bd as makeArrayOrDefault, cy as maxDate, cp as maxItems, cB as maxLength, bM as mimeTypeLookup, cx as minDate, co as minItems, cA as minLength, e as minUrlLength, m as monthTranslationKeyOrder, cu as multiValidation, bU as nameof, n as nanasFonts, cs as noValidation, ct as notNull, be as onlyUnique, p as portalGlyphLength, bT as promiseFromValue, bV as randomIntFromRange, bW as randomItemFromArray, c9 as rootContainer, ck as rootDependencyInjectionSetup, b5 as searchColumns, cq as selectedItemsExist, cr as selectedOptionIsInEnum, cv as separateValidation, cl as setContainerToken, cm as setContainerTokenLazy, cf as setSiteConfig, cC as shouldBeUrl, cD as shouldBeYoutubeUrl, bE as showSecondCalendar, s as socialLinks, bh as timeout, bO as tryParseNumber, a2 as uploadsThatNeedEncryption, c3 as urlRef, bH as uuidv4, v as validUuidChars, cw as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-B3UShtMg.js';
|
|
3
3
|
import 'solid-js';
|
|
4
4
|
import '@tolgee/web';
|
|
5
5
|
|
package/dist/node-utils/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { rootContainer, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/
|
|
2
|
-
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog,
|
|
1
|
+
import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/2KB24JWD.js';
|
|
2
|
+
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/2KB24JWD.js';
|
|
3
3
|
import fs5 from 'fs/promises';
|
|
4
4
|
import path8 from 'path';
|
|
5
5
|
import fs2 from 'fs';
|
|
@@ -53,9 +53,9 @@ var getEnvFileKeys = (envFile) => {
|
|
|
53
53
|
};
|
|
54
54
|
var writeEnvTypeFile = (rootPath, constantsFolder, keys) => {
|
|
55
55
|
const allValues = [...keys.values(), "NODE_ENV", "MODE", "npm_package_version", "PACKAGE_VERSION", "BUILD_VERSION"];
|
|
56
|
-
allValues.
|
|
56
|
+
const sorted = allValues.filter(onlyUnique).sort();
|
|
57
57
|
const fileContent = `export type EnvKey =
|
|
58
|
-
| ${
|
|
58
|
+
| ${sorted.map((v) => `'${v}'`).join("\n | ")};
|
|
59
59
|
`;
|
|
60
60
|
fs2.writeFileSync(path8.join(rootPath, constantsFolder, "envType.ts"), fileContent);
|
|
61
61
|
};
|
|
@@ -20,7 +20,11 @@ declare const weekdayTranslationKeyOrder: Array<WeekdayTranslationKey>;
|
|
|
20
20
|
type MonthTranslationKey = 'jan' | 'feb' | 'mar' | 'apr' | 'may' | 'jun' | 'jul' | 'aug' | 'sep' | 'oct' | 'nov' | 'dec';
|
|
21
21
|
declare const monthTranslationKeyOrder: Array<MonthTranslationKey>;
|
|
22
22
|
|
|
23
|
-
type EnvKey = 'API_PORT' | 'BUILD_VERSION' | 'HCAPTCHA_SECRET' | 'LIVESERVER_PORT' | 'LOG_SERVER_PORT' | 'MODE' | 'NODE_ENV' | '
|
|
23
|
+
type EnvKey = 'API_PORT' | 'BUILD_VERSION' | 'HCAPTCHA_SECRET' | 'LIVESERVER_PORT' | 'LOG_SERVER_PORT' | 'MODE' | 'NODE_ENV' | 'PACKAGE_VERSION' | 'STORYBOOK_PORT' | 'TELEMETRY_PORT' | 'VITEPRESS_PORT' | 'VITEST_PORT' | 'VITE_CONSOLE_LOGGING' | 'VITE_ENABLE_CAPTCHA' | 'VITE_FAKE_API_REQUEST_DELAY' | 'VITE_HCAPTCHA_SITE_KEY' | 'VITE_HUBSPOT_ID' | 'VITE_HUB_ADMIN_URL' | 'VITE_HUB_API_URL' | 'VITE_HUB_CLIENT_URL' | 'VITE_HUB_COVERAGE_URL' | 'VITE_HUB_DOCS_URL' | 'VITE_HUB_LANDING_URL' | 'VITE_HUB_STORYBOOK_URL' | 'VITE_TOLGEE_API_KEY' | 'VITE_TOLGEE_API_URL' | 'VITE_TOLGEE_PROJECT_ID' | 'WEB_ADMIN_PORT' | 'WEB_CLIENT_PORT' | 'WEB_LANDING_PORT' | 'npm_package_version';
|
|
24
|
+
|
|
25
|
+
declare const nanasFonts: {
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
24
28
|
|
|
25
29
|
type KeyEvent = 'Enter' | 'Tab' | 'ArrowDown' | 'ArrowUp' | 'ArrowLeft' | 'ArrowRight' | 'End' | 'Home' | 'PageDown' | 'PageUp';
|
|
26
30
|
|
|
@@ -1993,45 +1997,6 @@ declare const cyrb53: (input: string, seed?: number) => number;
|
|
|
1993
1997
|
|
|
1994
1998
|
declare const getPayloadFromJwt: (token: string) => ResultWithValue<string>;
|
|
1995
1999
|
|
|
1996
|
-
declare const getMeta: () => {
|
|
1997
|
-
packageVersion: string;
|
|
1998
|
-
date: string;
|
|
1999
|
-
gitCommitHash: string;
|
|
2000
|
-
};
|
|
2001
|
-
declare const getPackagesUsed: () => {
|
|
2002
|
-
generatedDate: string;
|
|
2003
|
-
generatedDateFormat: string;
|
|
2004
|
-
list: {
|
|
2005
|
-
dependencies: never[];
|
|
2006
|
-
peerDependencies: ({
|
|
2007
|
-
name: string;
|
|
2008
|
-
version: string;
|
|
2009
|
-
licenseType: string;
|
|
2010
|
-
repoUrl: string;
|
|
2011
|
-
licenceUrl?: undefined;
|
|
2012
|
-
} | {
|
|
2013
|
-
name: string;
|
|
2014
|
-
version: string;
|
|
2015
|
-
licenseType: string;
|
|
2016
|
-
repoUrl: string;
|
|
2017
|
-
licenceUrl: string;
|
|
2018
|
-
})[];
|
|
2019
|
-
devDependencies: ({
|
|
2020
|
-
name: string;
|
|
2021
|
-
version: string;
|
|
2022
|
-
licenseType: string;
|
|
2023
|
-
repoUrl: string;
|
|
2024
|
-
licenceUrl: string;
|
|
2025
|
-
} | {
|
|
2026
|
-
name: string;
|
|
2027
|
-
version: string;
|
|
2028
|
-
licenseType: string;
|
|
2029
|
-
repoUrl: string;
|
|
2030
|
-
licenceUrl?: undefined;
|
|
2031
|
-
})[];
|
|
2032
|
-
};
|
|
2033
|
-
};
|
|
2034
|
-
|
|
2035
2000
|
declare const mimeTypeLookup: {
|
|
2036
2001
|
readonly txt: "text/plain";
|
|
2037
2002
|
readonly html: "text/html";
|
|
@@ -2210,4 +2175,4 @@ declare const maxLength: (maxLengthVal: number) => (value: string) => Validation
|
|
|
2210
2175
|
declare const shouldBeUrl: (value: string) => ValidationResult;
|
|
2211
2176
|
declare const shouldBeYoutubeUrl: (value: string) => ValidationResult;
|
|
2212
2177
|
|
|
2213
|
-
export {
|
|
2178
|
+
export { type SearchableColumnInfo as $, AppType as A, BookingAddonType as B, CommonConfigService as C, type DependencyInjectionToken as D, type EnvKey as E, BookingStatusType as F, CommentLinkType as G, type HtmlElementEvent as H, type ILogger as I, type LogType as J, type KeyEvent as K, LogService as L, type MonthTranslationKey as M, MembershipStatus as N, MembershipType as O, NetworkState as P, OrderDirectionType as Q, type ResultWithValue as R, PermissionType as S, PetSexType as T, PetStatusType as U, PetType as V, type WeekdayTranslationKey as W, QuestionType as X, QuestionForType as Y, getAllPetQuestionForType as Z, SearchableColumnType as _, type Result as a, PermissionRestriction as a$, UploadLinkType as a0, UploadType as a1, uploadsThatNeedEncryption as a2, UserAccountFlagType as a3, UserType as a4, type ActivityDto as a5, type AddressCreateDto as a6, type AddressDto as a7, type AddressLookupDto as a8, type AddressUpdateDto as a9, type ProfileQuestionRequestDto as aA, type ProfileUpdateDto as aB, type QuestionCreateDto as aC, type QuestionDto as aD, type SearchObjDatePropRequestDto as aE, type SearchObjRequestDto as aF, type SearchObjTextPropRequestDto as aG, type UploadCreateDto as aH, type UploadDto as aI, type UploadImageWithLinkDto as aJ, type UploadUpdateDto as aK, type UserCreateDto as aL, type UserDto as aM, type UserMembershipCreateDto as aN, type UserMembershipDto as aO, type UserMembershipUpdateDto as aP, type UserPermissionDto as aQ, type UserUpdateDto as aR, type VersionDto as aS, type JwtPayloadDto as aT, ActivityRestriction as aU, AddressRestriction as aV, AnswerRestriction as aW, BookingRestriction as aX, BookingAddonRestriction as aY, CommentRestriction as aZ, DrivingRouteRestriction as a_, type AnswerCreateDto as aa, type AnswerDto as ab, type AuthLoginDto as ac, type AuthPatDto as ad, type AuthSignupDto as ae, type AuthSuccessDto as af, type BookingAddonDto as ag, type BookingCreateDto as ah, type BookingDto as ai, type BookingRestrictionsDto as aj, type BookingRestrictionsEnabledDaysDto as ak, type BookingRestrictionsPremiumEnabledDaysDto as al, type BookingUpdateDto as am, type BookingWithRelationshipsDto as an, type CommentCreateDto as ao, type CommentDto as ap, type CommentUpdateDto as aq, type MembershipCreateDto as ar, type MembershipDto as as, type MembershipUpdateDto as at, type PaginationRequestDto as au, type PaginationResponseDto as av, type PetCreateUpdateDto as aw, type PetDto as ax, type ProfileDto as ay, type ProfileQuestionAndAnswersItemDto as az, type IDependencyInjectionSetupProps as b, anyObject as b$, PetRestriction as b0, QuestionRestriction as b1, UnavailabilityRestriction as b2, UploadRestriction as b3, UserRestriction as b4, searchColumns as b5, type ICaptchaResponse as b6, type LogMethod as b7, type ILogMessage as b8, type IMediaUpload as b9, isSameDay as bA, dateDiffInDays as bB, getAgeInYears as bC, getWeekNumber as bD, showSecondCalendar as bE, debounceLeading as bF, getArrFromEnum as bG, uuidv4 as bH, cyrb53 as bI, type IImageParams as bJ, getImageParams as bK, getPayloadFromJwt as bL, mimeTypeLookup as bM, getMimeTypeFromExtension as bN, tryParseNumber as bO, getPerformanceTimer as bP, hasRequiredPermissions as bQ, getUserAvatarUrl as bR, getPetAvatarUrl as bS, promiseFromValue as bT, nameof as bU, randomIntFromRange as bV, randomItemFromArray as bW, capitalizeFirstLetter as bX, lowercaseFirstLetter as bY, addSpacesForEnum as bZ, formatFileSize as b_, type NominatimResponse as ba, type NominatimAddressResponse as bb, type ValidationResult as bc, makeArrayOrDefault as bd, onlyUnique as be, arrayOfNLength as bf, arrayContains as bg, timeout as bh, addToParallelTasks as bi, getDayClassObject as bj, getDayHeadingElements as bk, type RenderCellType as bl, getDayElements as bm, getUsersName as bn, formatDate as bo, formatForDateLocal as bp, formatForDateDropdown as bq, formatForDateOfBirth as br, formatForDateWithTime as bs, formatForDateLocalDetailed as bt, formatForBookingDate as bu, addSeconds as bv, addMinutes as bw, addDays as bx, addMonths as by, isBefore as bz, weekdayTranslationKeyOrder as c, fakePromise as c0, type ObjectWithPropsOfValue as c1, type Prettify as c2, urlRef as c3, type ISiteColour as c4, colourPalette as c5, defaultSiteColour as c6, type ISite as c7, DependencyInjectionContainer as c8, rootContainer as c9, minLength as cA, maxLength as cB, shouldBeUrl as cC, shouldBeYoutubeUrl as cD, type IFormCalendarPickerProps as cE, type FullDateSelectionProps as cF, type FormCalendarPickerMode as cG, type FormCalendarDatePickerRangeProps as cH, type DateSelectionProps as cI, type FormCalendarPickerInnerProps as cJ, type FormInputProps as cK, type FormCalendarSpecialRangeDisplayProps as cL, type FormCalendarSpecialRangeProps as cM, type ValidFormTypes as cN, type ValidFormComponentTypes as cO, type PropertyOverrides as cP, BOT_PATH_TOKEN as ca, getBotPath as cb, APP_TYPE_TOKEN as cc, getAppType as cd, SITE_CONFIG_TOKEN as ce, setSiteConfig as cf, getSiteConfig as cg, getSiteColour as ch, getCommonConfig as ci, getLog as cj, rootDependencyInjectionSetup as ck, setContainerToken as cl, setContainerTokenLazy as cm, TranslationService as cn, minItems as co, maxItems as cp, selectedItemsExist as cq, selectedOptionIsInEnum as cr, noValidation as cs, notNull as ct, multiValidation as cu, separateValidation as cv, validateForEach as cw, minDate as cx, maxDate as cy, isNumber as cz, MouseButton as d, minUrlLength as e, type CachedValue as f, createToken as g, type DependencyInjectionIdentifier as h, isWebApp as i, type DependencyInjectionFactory as j, type IDependencyInjectionSetupWebProps as k, type HtmlKeyEvent as l, monthTranslationKeyOrder as m, nanasFonts as n, type HtmlFilesEvent as o, portalGlyphLength as p, type HtmlImageReadEvent as q, type ClickEvent as r, socialLinks as s, apiRouteParam as t, apiRoute as u, validUuidChars as v, webAppTypes as w, ActivityType as x, AddressLinkType as y, AnswerLinkType as z };
|
package/dist/web/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
2
|
import { Component, JSXElement, JSX, Accessor, ComponentProps } from 'solid-js';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
3
|
+
import { F as BookingStatusType, r as ClickEvent, O as MembershipType, U as PetStatusType, ay as ProfileDto, Y as QuestionForType, X as QuestionType, a4 as UserType, R as ResultWithValue, P as NetworkState, cE as IFormCalendarPickerProps, cF as FullDateSelectionProps, cG as FormCalendarPickerMode, cH as FormCalendarDatePickerRangeProps, cI as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cJ as FormCalendarPickerInnerProps, cK as FormInputProps, bc as ValidationResult, K as KeyEvent, H as HtmlElementEvent, az as ProfileQuestionAndAnswersItemDto, a6 as AddressCreateDto, a9 as AddressUpdateDto, ac as AuthLoginDto, ae as AuthSignupDto, ah as BookingCreateDto, aw as PetCreateUpdateDto, aB as ProfileUpdateDto, aC as QuestionCreateDto, aH as UploadCreateDto, aM as UserDto, aL as UserCreateDto, o as HtmlFilesEvent, b8 as ILogMessage, I as ILogger, a as Result, au as PaginationRequestDto, av as PaginationResponseDto, aF as SearchObjRequestDto, C as CommonConfigService, a5 as ActivityDto, L as LogService, a7 as AddressDto, y as AddressLinkType, ba as NominatimResponse, ai as BookingDto, G as CommentLinkType, ap as CommentDto, ao as CommentCreateDto, ax as PetDto, aD as QuestionDto, aI as UploadDto, aO as UserMembershipDto, aQ as UserPermissionDto, S as PermissionType, a8 as AddressLookupDto, an as BookingWithRelationshipsDto, c7 as ISite, as as MembershipDto, aJ as UploadImageWithLinkDto, aj as BookingRestrictionsDto, af as AuthSuccessDto, aS as VersionDto, c2 as Prettify, k as IDependencyInjectionSetupWebProps, cn as TranslationService } from '../textValidation-B3UShtMg.js';
|
|
4
|
+
export { cc as APP_TYPE_TOKEN, aU as ActivityRestriction, x as ActivityType, aV as AddressRestriction, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aW as AnswerRestriction, A as AppType, ad as AuthPatDto, ca as BOT_PATH_TOKEN, ag as BookingAddonDto, aY as BookingAddonRestriction, B as BookingAddonType, aX as BookingRestriction, ak as BookingRestrictionsEnabledDaysDto, al as BookingRestrictionsPremiumEnabledDaysDto, am as BookingUpdateDto, f as CachedValue, aZ as CommentRestriction, aq as CommentUpdateDto, c8 as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, a_ as DrivingRouteRestriction, E as EnvKey, cL as FormCalendarSpecialRangeDisplayProps, cM as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, b6 as ICaptchaResponse, b as IDependencyInjectionSetupProps, bJ as IImageParams, b9 as IMediaUpload, c4 as ISiteColour, aT as JwtPayloadDto, b7 as LogMethod, J as LogType, ar as MembershipCreateDto, N as MembershipStatus, at as MembershipUpdateDto, d as MouseButton, bb as NominatimAddressResponse, c1 as ObjectWithPropsOfValue, Q as OrderDirectionType, a$ as PermissionRestriction, b0 as PetRestriction, T as PetSexType, V as PetType, aA as ProfileQuestionRequestDto, cP as PropertyOverrides, b1 as QuestionRestriction, bl as RenderCellType, ce as SITE_CONFIG_TOKEN, aE as SearchObjDatePropRequestDto, aG as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, b2 as UnavailabilityRestriction, a0 as UploadLinkType, b3 as UploadRestriction, a1 as UploadType, aK as UploadUpdateDto, a3 as UserAccountFlagType, aN as UserMembershipCreateDto, aP as UserMembershipUpdateDto, b4 as UserRestriction, aR as UserUpdateDto, cO as ValidFormComponentTypes, cN as ValidFormTypes, bx as addDays, bw as addMinutes, by as addMonths, bv as addSeconds, bZ as addSpacesForEnum, bi as addToParallelTasks, b$ as anyObject, u as apiRoute, t as apiRouteParam, bg as arrayContains, bf as arrayOfNLength, bX as capitalizeFirstLetter, c5 as colourPalette, g as createToken, bI as cyrb53, bB as dateDiffInDays, bF as debounceLeading, c6 as defaultSiteColour, c0 as fakePromise, bo as formatDate, b_ as formatFileSize, bu as formatForBookingDate, bq as formatForDateDropdown, bp as formatForDateLocal, bt as formatForDateLocalDetailed, br as formatForDateOfBirth, bs as formatForDateWithTime, bC as getAgeInYears, Z as getAllPetQuestionForType, cd as getAppType, bG as getArrFromEnum, cb as getBotPath, ci as getCommonConfig, bj as getDayClassObject, bm as getDayElements, bk as getDayHeadingElements, bK as getImageParams, cj as getLog, bN as getMimeTypeFromExtension, bL as getPayloadFromJwt, bP as getPerformanceTimer, bS as getPetAvatarUrl, ch as getSiteColour, cg as getSiteConfig, bR as getUserAvatarUrl, bn as getUsersName, bD as getWeekNumber, bQ as hasRequiredPermissions, bz as isBefore, cz as isNumber, bA as isSameDay, i as isWebApp, bY as lowercaseFirstLetter, bd as makeArrayOrDefault, cy as maxDate, cp as maxItems, cB as maxLength, bM as mimeTypeLookup, cx as minDate, co as minItems, cA as minLength, e as minUrlLength, m as monthTranslationKeyOrder, cu as multiValidation, bU as nameof, n as nanasFonts, cs as noValidation, ct as notNull, be as onlyUnique, p as portalGlyphLength, bT as promiseFromValue, bV as randomIntFromRange, bW as randomItemFromArray, c9 as rootContainer, ck as rootDependencyInjectionSetup, b5 as searchColumns, cq as selectedItemsExist, cr as selectedOptionIsInEnum, cv as separateValidation, cl as setContainerToken, cm as setContainerTokenLazy, cf as setSiteConfig, cC as shouldBeUrl, cD as shouldBeYoutubeUrl, bE as showSecondCalendar, s as socialLinks, bh as timeout, bO as tryParseNumber, a2 as uploadsThatNeedEncryption, c3 as urlRef, bH as uuidv4, v as validUuidChars, cw as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-B3UShtMg.js';
|
|
5
5
|
import { ToasterProps } from 'solid-toast';
|
|
6
6
|
import '@tolgee/web';
|
|
7
7
|
|
package/dist/web/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { multiValidation, minLength, PetRestriction, maxLength, notNull, minItems, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, isNumber, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, convertToDate, isBefore, formatDate, getArrFromEnum, capitalizeFirstLetter, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/
|
|
2
|
-
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog,
|
|
1
|
+
import { multiValidation, minLength, PetRestriction, maxLength, notNull, minItems, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, isNumber, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, convertToDate, isBefore, formatDate, getArrFromEnum, capitalizeFirstLetter, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/2KB24JWD.js';
|
|
2
|
+
export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/2KB24JWD.js';
|
|
3
3
|
import { delegateEvents, createComponent, template, insert, effect, className, setAttribute, mergeProps, spread, addEventListener, memo, use, style } from 'solid-js/web';
|
|
4
4
|
import { createSignal, Show, Switch, Match, For, createEffect, onMount } from 'solid-js';
|
|
5
5
|
import classNames from 'classnames';
|
package/dist/web/index.jsx
CHANGED
|
@@ -4398,6 +4398,11 @@ var QuestionItem = (props) => {
|
|
|
4398
4398
|
</div>;
|
|
4399
4399
|
};
|
|
4400
4400
|
|
|
4401
|
+
// src/constants/font.ts
|
|
4402
|
+
var nanasFonts = {
|
|
4403
|
+
default: "https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap"
|
|
4404
|
+
};
|
|
4405
|
+
|
|
4401
4406
|
// src/constants/mouseEvent.ts
|
|
4402
4407
|
var MouseButton = {
|
|
4403
4408
|
left: 0,
|
|
@@ -4927,234 +4932,6 @@ var getPayloadFromJwt = (token) => {
|
|
|
4927
4932
|
}
|
|
4928
4933
|
};
|
|
4929
4934
|
|
|
4930
|
-
// src/assets/meta.json
|
|
4931
|
-
var meta_default = {
|
|
4932
|
-
packageVersion: "0.26.0",
|
|
4933
|
-
date: "2026-02-05",
|
|
4934
|
-
gitCommitHash: "6dcc850a7b4cc2017a24991ea942b52715754d0f"
|
|
4935
|
-
};
|
|
4936
|
-
|
|
4937
|
-
// src/assets/packagesUsed.json
|
|
4938
|
-
var packagesUsed_default = {
|
|
4939
|
-
generatedDate: "2026-02-05T10:25:24.365Z",
|
|
4940
|
-
generatedDateFormat: "2026-02-05",
|
|
4941
|
-
list: {
|
|
4942
|
-
dependencies: [],
|
|
4943
|
-
peerDependencies: [
|
|
4944
|
-
{
|
|
4945
|
-
name: "@hcaptcha/types",
|
|
4946
|
-
version: "1.0.4",
|
|
4947
|
-
licenseType: "MIT",
|
|
4948
|
-
repoUrl: "https://www.npmjs.com/package/@hcaptcha/types"
|
|
4949
|
-
},
|
|
4950
|
-
{
|
|
4951
|
-
name: "@tolgee/format-icu",
|
|
4952
|
-
version: "6.2.6",
|
|
4953
|
-
licenseType: "MIT",
|
|
4954
|
-
repoUrl: "https://github.com/tolgee/tolgee-js",
|
|
4955
|
-
licenceUrl: "https://github.com/tolgee/tolgee-js/blob/master/LICENSE"
|
|
4956
|
-
},
|
|
4957
|
-
{
|
|
4958
|
-
name: "@tolgee/web",
|
|
4959
|
-
version: "6.2.6",
|
|
4960
|
-
licenseType: "BSD-3-Clause",
|
|
4961
|
-
repoUrl: "https://github.com/tolgee/tolgee-js.git",
|
|
4962
|
-
licenceUrl: "https://github.com/tolgee/tolgee-js/blob/master/LICENSE"
|
|
4963
|
-
},
|
|
4964
|
-
{
|
|
4965
|
-
name: "classnames",
|
|
4966
|
-
version: "2.5.1",
|
|
4967
|
-
licenseType: "MIT",
|
|
4968
|
-
repoUrl: "https://github.com/JedWatson/classnames.git",
|
|
4969
|
-
licenceUrl: "https://github.com/JedWatson/classnames/blob/master/LICENSE"
|
|
4970
|
-
},
|
|
4971
|
-
{
|
|
4972
|
-
name: "dayjs",
|
|
4973
|
-
version: "1.11.13",
|
|
4974
|
-
licenseType: "MIT",
|
|
4975
|
-
repoUrl: "https://github.com/iamkun/dayjs.git",
|
|
4976
|
-
licenceUrl: "https://github.com/iamkun/dayjs/blob/master/LICENSE"
|
|
4977
|
-
},
|
|
4978
|
-
{
|
|
4979
|
-
name: "favicons",
|
|
4980
|
-
version: "7.2.0",
|
|
4981
|
-
licenseType: "MIT",
|
|
4982
|
-
repoUrl: "https://github.com/itgalaxy/favicons.git",
|
|
4983
|
-
licenceUrl: "https://github.com/itgalaxy/favicons/blob/master/LICENSE"
|
|
4984
|
-
},
|
|
4985
|
-
{
|
|
4986
|
-
name: "jwt-decode",
|
|
4987
|
-
version: "4.0.0",
|
|
4988
|
-
licenseType: "MIT",
|
|
4989
|
-
repoUrl: "git://github.com/auth0/jwt-decode",
|
|
4990
|
-
licenceUrl: "https://github.com/auth0/jwt-decode/blob/master/LICENSE"
|
|
4991
|
-
},
|
|
4992
|
-
{
|
|
4993
|
-
name: "solid-js",
|
|
4994
|
-
version: "1.9.7",
|
|
4995
|
-
licenseType: "MIT",
|
|
4996
|
-
repoUrl: "https://github.com/solidjs/solid",
|
|
4997
|
-
licenceUrl: "https://github.com/solidjs/solid/blob/master/LICENSE"
|
|
4998
|
-
},
|
|
4999
|
-
{
|
|
5000
|
-
name: "solid-toast",
|
|
5001
|
-
version: "0.5.0",
|
|
5002
|
-
licenseType: "MIT",
|
|
5003
|
-
repoUrl: "https://github.com/ardeora/solid-toast.git",
|
|
5004
|
-
licenceUrl: "https://github.com/ardeora/solid-toast/blob/master/LICENSE"
|
|
5005
|
-
}
|
|
5006
|
-
],
|
|
5007
|
-
devDependencies: [
|
|
5008
|
-
{
|
|
5009
|
-
name: "@chromatic-com/storybook",
|
|
5010
|
-
version: "5.0.0",
|
|
5011
|
-
licenseType: "MIT",
|
|
5012
|
-
repoUrl: "https://github.com/chromaui/addon-visual-tests.git",
|
|
5013
|
-
licenceUrl: "https://github.com/chromaui/addon-visual-tests/blob/master/LICENSE"
|
|
5014
|
-
},
|
|
5015
|
-
{
|
|
5016
|
-
name: "@storybook/addon-a11y",
|
|
5017
|
-
version: "10.2.6",
|
|
5018
|
-
licenseType: "MIT",
|
|
5019
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5020
|
-
},
|
|
5021
|
-
{
|
|
5022
|
-
name: "@storybook/addon-docs",
|
|
5023
|
-
version: "10.2.6",
|
|
5024
|
-
licenseType: "MIT",
|
|
5025
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5026
|
-
},
|
|
5027
|
-
{
|
|
5028
|
-
name: "@storybook/addon-links",
|
|
5029
|
-
version: "10.2.6",
|
|
5030
|
-
licenseType: "MIT",
|
|
5031
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5032
|
-
},
|
|
5033
|
-
{
|
|
5034
|
-
name: "@storybook/addon-onboarding",
|
|
5035
|
-
version: "10.2.6",
|
|
5036
|
-
licenseType: "MIT",
|
|
5037
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5038
|
-
},
|
|
5039
|
-
{
|
|
5040
|
-
name: "@storybook/addon-vitest",
|
|
5041
|
-
version: "10.2.6",
|
|
5042
|
-
licenseType: "MIT",
|
|
5043
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5044
|
-
},
|
|
5045
|
-
{
|
|
5046
|
-
name: "@types/node",
|
|
5047
|
-
version: "25.2.0",
|
|
5048
|
-
licenseType: "MIT",
|
|
5049
|
-
repoUrl: "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
5050
|
-
licenceUrl: "https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/LICENSE"
|
|
5051
|
-
},
|
|
5052
|
-
{
|
|
5053
|
-
name: "@vitest/browser",
|
|
5054
|
-
version: "4.0.18",
|
|
5055
|
-
licenseType: "MIT",
|
|
5056
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
5057
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
5058
|
-
},
|
|
5059
|
-
{
|
|
5060
|
-
name: "@vitest/coverage-v8",
|
|
5061
|
-
version: "4.0.18",
|
|
5062
|
-
licenseType: "MIT",
|
|
5063
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
5064
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
5065
|
-
},
|
|
5066
|
-
{
|
|
5067
|
-
name: "@vitest/ui",
|
|
5068
|
-
version: "4.0.18",
|
|
5069
|
-
licenseType: "MIT",
|
|
5070
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git",
|
|
5071
|
-
licenceUrl: "https://github.com/vitest-dev/vitest/blob/master/LICENSE"
|
|
5072
|
-
},
|
|
5073
|
-
{
|
|
5074
|
-
name: "dotenv-cli",
|
|
5075
|
-
version: "11.0.0",
|
|
5076
|
-
licenseType: "MIT",
|
|
5077
|
-
repoUrl: "https://www.npmjs.com/package/dotenv-cli"
|
|
5078
|
-
},
|
|
5079
|
-
{
|
|
5080
|
-
name: "jsdom",
|
|
5081
|
-
version: "28.0.0",
|
|
5082
|
-
licenseType: "MIT",
|
|
5083
|
-
repoUrl: "https://github.com/jsdom/jsdom.git"
|
|
5084
|
-
},
|
|
5085
|
-
{
|
|
5086
|
-
name: "node-html-parser",
|
|
5087
|
-
version: "7.0.2",
|
|
5088
|
-
licenseType: "MIT",
|
|
5089
|
-
repoUrl: "https://github.com/taoqf/node-fast-html-parser.git",
|
|
5090
|
-
licenceUrl: "https://github.com/taoqf/node-fast-html-parser/blob/master/LICENSE"
|
|
5091
|
-
},
|
|
5092
|
-
{
|
|
5093
|
-
name: "sass",
|
|
5094
|
-
version: "1.97.3",
|
|
5095
|
-
licenseType: "MIT",
|
|
5096
|
-
repoUrl: "https://github.com/sass/dart-sass",
|
|
5097
|
-
licenceUrl: "https://github.com/sass/dart-sass/blob/master/LICENSE"
|
|
5098
|
-
},
|
|
5099
|
-
{
|
|
5100
|
-
name: "storybook",
|
|
5101
|
-
version: "10.2.6",
|
|
5102
|
-
licenseType: "MIT",
|
|
5103
|
-
repoUrl: "https://github.com/storybookjs/storybook.git"
|
|
5104
|
-
},
|
|
5105
|
-
{
|
|
5106
|
-
name: "storybook-solidjs-vite",
|
|
5107
|
-
version: "10.0.9",
|
|
5108
|
-
licenseType: "MIT",
|
|
5109
|
-
repoUrl: "https://github.com/solidjs-community/storybook.git",
|
|
5110
|
-
licenceUrl: "https://github.com/solidjs-community/storybook/blob/master/LICENSE"
|
|
5111
|
-
},
|
|
5112
|
-
{
|
|
5113
|
-
name: "tsup",
|
|
5114
|
-
version: "8.5.1",
|
|
5115
|
-
licenseType: "MIT",
|
|
5116
|
-
repoUrl: "https://github.com/egoist/tsup.git",
|
|
5117
|
-
licenceUrl: "https://github.com/egoist/tsup/blob/master/LICENSE"
|
|
5118
|
-
},
|
|
5119
|
-
{
|
|
5120
|
-
name: "tsup-preset-solid",
|
|
5121
|
-
version: "2.2.0",
|
|
5122
|
-
licenseType: "MIT",
|
|
5123
|
-
repoUrl: "https://github.com/solidjs-community/tsup-preset-solid.git",
|
|
5124
|
-
licenceUrl: "https://github.com/solidjs-community/tsup-preset-solid/blob/master/LICENSE"
|
|
5125
|
-
},
|
|
5126
|
-
{
|
|
5127
|
-
name: "typescript",
|
|
5128
|
-
version: "5.9.3",
|
|
5129
|
-
licenseType: "Apache-2.0",
|
|
5130
|
-
repoUrl: "https://github.com/microsoft/TypeScript.git"
|
|
5131
|
-
},
|
|
5132
|
-
{
|
|
5133
|
-
name: "vite",
|
|
5134
|
-
version: "7.3.1",
|
|
5135
|
-
licenseType: "MIT",
|
|
5136
|
-
repoUrl: "https://github.com/vitejs/vite.git"
|
|
5137
|
-
},
|
|
5138
|
-
{
|
|
5139
|
-
name: "vite-plugin-solid",
|
|
5140
|
-
version: "2.11.10",
|
|
5141
|
-
licenseType: "MIT",
|
|
5142
|
-
repoUrl: "https://github.com/solidjs/vite-plugin-solid.git"
|
|
5143
|
-
},
|
|
5144
|
-
{
|
|
5145
|
-
name: "vitest",
|
|
5146
|
-
version: "4.0.18",
|
|
5147
|
-
licenseType: "MIT",
|
|
5148
|
-
repoUrl: "https://github.com/vitest-dev/vitest.git"
|
|
5149
|
-
}
|
|
5150
|
-
]
|
|
5151
|
-
}
|
|
5152
|
-
};
|
|
5153
|
-
|
|
5154
|
-
// src/helpers/metaHelper.ts
|
|
5155
|
-
var getMeta = () => meta_default;
|
|
5156
|
-
var getPackagesUsed = () => packagesUsed_default;
|
|
5157
|
-
|
|
5158
4935
|
// src/helpers/mimeHelper.ts
|
|
5159
4936
|
var mimeTypeLookup = {
|
|
5160
4937
|
txt: "text/plain",
|
|
@@ -5440,11 +5217,9 @@ export {
|
|
|
5440
5217
|
getLocalStorage,
|
|
5441
5218
|
getLog,
|
|
5442
5219
|
getMembershipApi,
|
|
5443
|
-
getMeta,
|
|
5444
5220
|
getMimeTypeFromExtension,
|
|
5445
5221
|
getMonthHeading,
|
|
5446
5222
|
getNextMonthButton,
|
|
5447
|
-
getPackagesUsed,
|
|
5448
5223
|
getPaginationQueryParams,
|
|
5449
5224
|
getPayloadFromJwt,
|
|
5450
5225
|
getPerformanceTimer,
|
|
@@ -5489,6 +5264,7 @@ export {
|
|
|
5489
5264
|
monthTranslationKeyOrder,
|
|
5490
5265
|
multiValidation,
|
|
5491
5266
|
nameof,
|
|
5267
|
+
nanasFonts,
|
|
5492
5268
|
noValidation,
|
|
5493
5269
|
notNull,
|
|
5494
5270
|
notesMeta,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanas-home/hub-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.650",
|
|
4
4
|
"description": "Nana's Hub common library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Kurt Lourens",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build": "tsup",
|
|
11
11
|
"postbuild": "bun ./src/data/postBuild.ts",
|
|
12
12
|
"quick-update": "npx npm-check-updates -u && npm i --force && bun install && npm run report",
|
|
13
|
-
"tolgee": "dotenv -- tolgee",
|
|
13
|
+
"tolgee": "dotenv --override -- tolgee",
|
|
14
14
|
"storybook:dev": "node ./scripts/start-storybook.cjs",
|
|
15
15
|
"storybook:build": "storybook build --disable-telemetry",
|
|
16
16
|
"test": "vitest --ui --project unit",
|
|
@@ -29,21 +29,22 @@
|
|
|
29
29
|
"solid-toast": "^0.5.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@chromatic-com/storybook": "^5.0.
|
|
33
|
-
"@storybook/addon-a11y": "^10.2.
|
|
34
|
-
"@storybook/addon-docs": "^10.2.
|
|
35
|
-
"@storybook/addon-links": "^10.2.
|
|
36
|
-
"@storybook/addon-onboarding": "^10.2.
|
|
37
|
-
"@storybook/addon-vitest": "^10.2.
|
|
38
|
-
"@types/node": "^25.2.
|
|
32
|
+
"@chromatic-com/storybook": "^5.0.1",
|
|
33
|
+
"@storybook/addon-a11y": "^10.2.8",
|
|
34
|
+
"@storybook/addon-docs": "^10.2.8",
|
|
35
|
+
"@storybook/addon-links": "^10.2.8",
|
|
36
|
+
"@storybook/addon-onboarding": "^10.2.8",
|
|
37
|
+
"@storybook/addon-vitest": "^10.2.8",
|
|
38
|
+
"@types/node": "^25.2.2",
|
|
39
39
|
"@vitest/browser": "^4.0.18",
|
|
40
40
|
"@vitest/coverage-v8": "^4.0.18",
|
|
41
41
|
"@vitest/ui": "^4.0.18",
|
|
42
|
+
"dayjs": "^1.11.19",
|
|
42
43
|
"dotenv-cli": "^11.0.0",
|
|
43
44
|
"jsdom": "^28.0.0",
|
|
44
45
|
"node-html-parser": "^7.0.2",
|
|
45
46
|
"sass": "^1.97.3",
|
|
46
|
-
"storybook": "^10.2.
|
|
47
|
+
"storybook": "^10.2.8",
|
|
47
48
|
"storybook-solidjs-vite": "^10.0.9",
|
|
48
49
|
"tsup": "^8.5.1",
|
|
49
50
|
"tsup-preset-solid": "^2.2.0",
|