inferred-types 0.53.3 → 0.53.5

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.
@@ -92,12 +92,21 @@ var ALPHA_CHARS = [
92
92
  ...LOWER_ALPHA_CHARS,
93
93
  ...UPPER_ALPHA_CHARS
94
94
  ];
95
+ var string = `{{ string }}`;
96
+ var AMAZON_BOOKS = [
97
+ `https://www.amazon.com/${string}storeType=ebooks${string}`,
98
+ `https://www.amazon.com/${string}ref=tmm_hrd_swatch${string}`,
99
+ `https://www.amazon.com/${string}ref=tmm_pap_swatch${string}`,
100
+ `https://www.amazon.com/${string}ref=tmm_aud_swatch${string}`,
101
+ `https://www.amazon.com/books-used-books-textbooks/${string}`
102
+ ];
95
103
  var WHITESPACE_CHARS = [
96
104
  " ",
97
105
  "\n",
98
106
  " ",
99
107
  "\b"
100
108
  ];
109
+ var COMMA = createConstant("comma");
101
110
  function createConstant(kind) {
102
111
  return {
103
112
  _type: "Constant",
@@ -180,6 +189,97 @@ var US_STATE_LOOKUP = [
180
189
  ...US_STATE_LOOKUP_STRICT,
181
190
  ...US_STATE_LOOKUP_PROVINCES
182
191
  ];
192
+ var HASH_TABLE_ALPHA_LOWER = {
193
+ a: "8",
194
+ b: "~",
195
+ c: "^",
196
+ d: ".",
197
+ e: "82",
198
+ f: "89",
199
+ g: ",",
200
+ h: "!",
201
+ i: "-7",
202
+ j: "-8",
203
+ k: "88",
204
+ l: "8f",
205
+ m: "8e",
206
+ n: "6e",
207
+ o: "44",
208
+ p: "60",
209
+ q: "61",
210
+ r: "71",
211
+ s: ":",
212
+ t: "-45",
213
+ u: "-5",
214
+ v: "-9",
215
+ w: "-f",
216
+ x: "+1",
217
+ y: ";",
218
+ z: "*1"
219
+ };
220
+ var HASH_TABLE_SPECIAL = {
221
+ "!": "1",
222
+ "@": "8",
223
+ "#": "5",
224
+ "$": "4",
225
+ "%": "3",
226
+ "^": "2",
227
+ "&": "9",
228
+ "*": "7",
229
+ "(": "6",
230
+ ")": "12",
231
+ "{": "33",
232
+ "}": "54",
233
+ "[": "x8",
234
+ "]": "y4",
235
+ ":": "z2",
236
+ ";": "e88",
237
+ '"': "c11",
238
+ "'": "c12",
239
+ "<": "p3",
240
+ ",": "45",
241
+ ">": "e9",
242
+ ".": "f2",
243
+ "?": "ee",
244
+ "/": "u9",
245
+ "\\": "f9",
246
+ "|": "q1",
247
+ "~": "fe",
248
+ "`": "8e"
249
+ };
250
+ var HASH_TABLE_ALPHA_UPPER = {
251
+ A: "b8",
252
+ B: "~9",
253
+ C: "6^",
254
+ D: ".8",
255
+ E: "5<",
256
+ F: ">7",
257
+ G: "1,",
258
+ H: "!7",
259
+ I: "8#",
260
+ J: "@9",
261
+ K: "1*",
262
+ L: "4&",
263
+ M: "+5",
264
+ N: "j|",
265
+ O: "-l",
266
+ P: "q{",
267
+ Q: "]9",
268
+ R: "f%",
269
+ S: ":3",
270
+ T: "?+",
271
+ U: "}5",
272
+ V: "'4",
273
+ W: "1@g",
274
+ X: "0+1",
275
+ Y: "4;",
276
+ Z: "a*1"
277
+ };
278
+ var HASH_TABLE_CHAR = {
279
+ ...HASH_TABLE_ALPHA_LOWER,
280
+ ...HASH_TABLE_ALPHA_UPPER,
281
+ ...HASH_TABLE_SPECIAL
282
+ };
183
283
  var ISO3166_1 = [
184
284
  { name: "Afghanistan", alpha2: "AF", countryCode: "004", alpha3: "AFG" },
185
285
  { name: "Albania", alpha2: "AL", countryCode: "008", alpha3: "ALB" },
@@ -324,6 +424,7 @@ var ISO3166_1 = [
324
424
  { name: "Zambia", alpha2: "ZM", countryCode: "894", alpha3: "ZMB" },
325
425
  { name: "Zimbabwe", alpha2: "ZW", countryCode: "716", alpha3: "ZWE" }
326
426
  ];
427
+ var MARKED = createConstant("Marked");
327
428
  var DISTANCE_METRICS_LOOKUP = [
328
429
  { abbrev: "km", name: "kilometer" },
329
430
  { abbrev: "mi", name: "mile" },
@@ -903,6 +1004,7 @@ var NORWEGIAN_NEWS = [
903
1004
  { company: "Hamar Arbeiderblad", baseUrls: ["www.h-a.no"], type: ["newspaper", "digital"] }
904
1005
  ];
905
1006
  var NO_DEFAULT_VALUE = createConstant("no-default-value");
1007
+ var NOT_APPLICABLE = Symbol("not applicable");
906
1008
  var NOT_DEFINED = createConstant("not-defined");
907
1009
  var NUMERIC_CHAR = [
908
1010
  "0",
@@ -1291,17 +1393,17 @@ var TW_LUMINOSITY = {
1291
1393
  900: 32,
1292
1394
  950: 23.78
1293
1395
  };
1294
- TW_LUMINOSITY["50"];
1295
- TW_LUMINOSITY["100"];
1296
- TW_LUMINOSITY["200"];
1297
- TW_LUMINOSITY["300"];
1298
- TW_LUMINOSITY["400"];
1299
- TW_LUMINOSITY["500"];
1300
- TW_LUMINOSITY["600"];
1301
- TW_LUMINOSITY["700"];
1302
- TW_LUMINOSITY["800"];
1303
- TW_LUMINOSITY["900"];
1304
- TW_LUMINOSITY["950"];
1396
+ var TW_LUMIN_50 = TW_LUMINOSITY["50"];
1397
+ var TW_LUMIN_100 = TW_LUMINOSITY["100"];
1398
+ var TW_LUMIN_200 = TW_LUMINOSITY["200"];
1399
+ var TW_LUMIN_300 = TW_LUMINOSITY["300"];
1400
+ var TW_LUMIN_400 = TW_LUMINOSITY["400"];
1401
+ var TW_LUMIN_500 = TW_LUMINOSITY["500"];
1402
+ var TW_LUMIN_600 = TW_LUMINOSITY["600"];
1403
+ var TW_LUMIN_700 = TW_LUMINOSITY["700"];
1404
+ var TW_LUMIN_800 = TW_LUMINOSITY["800"];
1405
+ var TW_LUMIN_900 = TW_LUMINOSITY["900"];
1406
+ var TW_LUMIN_950 = TW_LUMINOSITY["950"];
1305
1407
  var TW_CHROMA = {
1306
1408
  50: 0.0108,
1307
1409
  100: 0.0321,
@@ -1315,17 +1417,17 @@ var TW_CHROMA = {
1315
1417
  900: 0.0726,
1316
1418
  950: 0.054
1317
1419
  };
1318
- TW_CHROMA["50"];
1319
- TW_CHROMA["100"];
1320
- TW_CHROMA["200"];
1321
- TW_CHROMA["300"];
1322
- TW_CHROMA["400"];
1323
- TW_CHROMA["500"];
1324
- TW_CHROMA["600"];
1325
- TW_CHROMA["700"];
1326
- TW_CHROMA["800"];
1327
- TW_CHROMA["900"];
1328
- TW_CHROMA["950"];
1420
+ var TW_CHROMA_50 = TW_CHROMA["50"];
1421
+ var TW_CHROMA_100 = TW_CHROMA["100"];
1422
+ var TW_CHROMA_200 = TW_CHROMA["200"];
1423
+ var TW_CHROMA_300 = TW_CHROMA["300"];
1424
+ var TW_CHROMA_400 = TW_CHROMA["400"];
1425
+ var TW_CHROMA_500 = TW_CHROMA["500"];
1426
+ var TW_CHROMA_600 = TW_CHROMA["600"];
1427
+ var TW_CHROMA_700 = TW_CHROMA["700"];
1428
+ var TW_CHROMA_800 = TW_CHROMA["800"];
1429
+ var TW_CHROMA_900 = TW_CHROMA["900"];
1430
+ var TW_CHROMA_950 = TW_CHROMA["950"];
1329
1431
  var TW_COLOR_TARGETS = [
1330
1432
  "bg",
1331
1433
  "text",
@@ -1397,7 +1499,7 @@ function entry(refType, desc, ...params) {
1397
1499
  )
1398
1500
  ];
1399
1501
  }
1400
- ({
1502
+ var TYPE_COMPARISONS = {
1401
1503
  Extends: entry((t) => t.unknown(), "extends the type", (t) => t.unknown()),
1402
1504
  NotExtends: entry((t) => t.unknown(), "does not extent the type", (t) => t.unknown()),
1403
1505
  Equals: entry((t) => t.unknown(), "equals the type", (t) => t.unknown()),
@@ -1428,7 +1530,46 @@ function entry(refType, desc, ...params) {
1428
1530
  Contains: entry((t) => t.tuple(), "must be a tuple and have elements that extends the value [[0]]", (t) => t.unknown()),
1429
1531
  // TODO: get the below working`
1430
1532
  ContainsSome: entry((t) => t.tuple(), "must be a tuple and have elements that extends the value [[0]]", (t) => t.singularTuple())
1431
- });
1533
+ };
1534
+ var FALSY_TYPE_KINDS = [
1535
+ "undefined",
1536
+ "null"
1537
+ ];
1538
+ var LITERAL_TYPE_KINDS = [
1539
+ "true",
1540
+ "false",
1541
+ "stringLiteral",
1542
+ "numericLiteral"
1543
+ ];
1544
+ var WIDE_TYPE_KINDS = [
1545
+ "string",
1546
+ "number",
1547
+ "boolean"
1548
+ ];
1549
+ var NARROW_CONTAINER_TYPE_KINDS = [
1550
+ "object",
1551
+ "explicitFunctions",
1552
+ "fnType",
1553
+ "fnWithDict",
1554
+ "tuple",
1555
+ "union",
1556
+ "intersection",
1557
+ "arrayOf"
1558
+ ];
1559
+ var WIDE_CONTAINER_TYPE_KINDS = [
1560
+ "anyArray",
1561
+ "anyObject",
1562
+ "unknownObject",
1563
+ "anyFunction",
1564
+ "emptyObject"
1565
+ ];
1566
+ var TYPE_KINDS = [
1567
+ ...FALSY_TYPE_KINDS,
1568
+ ...WIDE_TYPE_KINDS,
1569
+ ...LITERAL_TYPE_KINDS,
1570
+ ...NARROW_CONTAINER_TYPE_KINDS,
1571
+ ...WIDE_CONTAINER_TYPE_KINDS
1572
+ ];
1432
1573
  var SIMPLE_SCALAR_TOKENS = [
1433
1574
  "string",
1434
1575
  "number",
@@ -1460,6 +1601,30 @@ var SIMPLE_OPT_SCALAR_TOKENS = [
1460
1601
  var SIMPLE_UNION_TOKENS = [
1461
1602
  `Union(TOKEN)`
1462
1603
  ];
1604
+ var SIMPLE_MAP_KEYS = [
1605
+ "string",
1606
+ "number",
1607
+ "Dict",
1608
+ "Dict<string, string>",
1609
+ "Dict<string, number>",
1610
+ "Dict<string, boolean>",
1611
+ "Dict<string, unknown>",
1612
+ "Dict<string, Opt<string>>",
1613
+ "Dict<string, Opt<number>>",
1614
+ "Dict<string, Opt<boolean>>"
1615
+ ];
1616
+ var SIMPLE_MAP_VALUES = [
1617
+ ...SIMPLE_MAP_KEYS,
1618
+ "boolean",
1619
+ "unknown",
1620
+ "undefined",
1621
+ "Dict",
1622
+ "Array",
1623
+ "Dict<string, Opt<string>>",
1624
+ "Dict<string, Opt<number>>",
1625
+ "Dict<string, Opt<boolean>>",
1626
+ "Dict<string, Opt<unknown>>"
1627
+ ];
1463
1628
  var SIMPLE_DICT_TOKENS = [
1464
1629
  "Dict",
1465
1630
  "Dict<string, string>",
@@ -1535,6 +1700,68 @@ var TT_Containers = [
1535
1700
  "obj",
1536
1701
  "tuple"
1537
1702
  ];
1703
+ var TYPE_TOKEN_IDENTITIES = [
1704
+ "string",
1705
+ "number",
1706
+ "numericString",
1707
+ "booleanString",
1708
+ "null",
1709
+ "undefined",
1710
+ "boolean",
1711
+ "true",
1712
+ "false",
1713
+ "space",
1714
+ "whitespace",
1715
+ "object",
1716
+ "emptyObject",
1717
+ "function",
1718
+ "array"
1719
+ ];
1720
+ var TYPE_TOKEN_PARAM_STR = [
1721
+ "explicitClass",
1722
+ "startsWith",
1723
+ "endsWith",
1724
+ "ensureLeading",
1725
+ "stripLeading",
1726
+ "ensureTrailing",
1727
+ "stripTrailing",
1728
+ "camelCase",
1729
+ "pascalCase",
1730
+ "snakeCase",
1731
+ "kebabCase",
1732
+ "explicitType"
1733
+ ];
1734
+ var TYPE_TOKEN_PARAM_CSV = [
1735
+ "stringLiteral",
1736
+ "numericLiteral",
1737
+ "objectLiteral",
1738
+ "tuple",
1739
+ "union"
1740
+ ];
1741
+ var TYPE_TOKEN_PARAM_DATETIME = [
1742
+ "datetime"
1743
+ ];
1744
+ var TYPE_TOKEN_PARAM_DATE = [
1745
+ "ymd",
1746
+ "monthThenDate",
1747
+ "dateThenMonth"
1748
+ ];
1749
+ var TYPE_TOKEN_PARAM_TIME = [
1750
+ "timeInMinutes",
1751
+ "timeInSeconds",
1752
+ "militaryTimeInMinutes",
1753
+ "militaryTimeInSeconds",
1754
+ "militaryTimeInMilliseconds",
1755
+ "civilianTimeInMinutes"
1756
+ ];
1757
+ var TYPE_TOKEN_ALL = [
1758
+ ...TYPE_TOKEN_IDENTITIES,
1759
+ ...TYPE_TOKEN_PARAM_CSV,
1760
+ ...TYPE_TOKEN_PARAM_DATE,
1761
+ ...TYPE_TOKEN_PARAM_DATETIME,
1762
+ ...TYPE_TOKEN_PARAM_STR,
1763
+ ...TYPE_TOKEN_PARAM_TIME
1764
+ ];
1538
1765
 
1539
1766
  // src/boolean-logic/ifChar.ts
1540
1767
  var def_if = (v) => v;
@@ -1704,6 +1931,23 @@ ${frameToCss(frames)}
1704
1931
  };
1705
1932
  }
1706
1933
 
1934
+ // src/css/defineCss.ts
1935
+ function createCss(defn, indent = "") {
1936
+ return Object.keys(defn).map((key) => `${indent}${key}: ${ensureTrailing(defn[key], ";")}
1937
+ `).join("");
1938
+ }
1939
+ function defineCss(defn) {
1940
+ const fn2 = (selector) => {
1941
+ return selector ? `${selector} {
1942
+ ${createCss(defn, " ")}}
1943
+ ` : createCss(defn);
1944
+ };
1945
+ return createFnWithProps(
1946
+ fn2,
1947
+ { defn }
1948
+ );
1949
+ }
1950
+
1707
1951
  // src/datetime/asDate.ts
1708
1952
  function asDate(input) {
1709
1953
  if (isDate(input)) {
@@ -1809,6 +2053,11 @@ function isLeapYear(val) {
1809
2053
  return year % 100 === 0 ? year % 400 === 0 : year % 4 === 0;
1810
2054
  }
1811
2055
 
2056
+ // src/dictionary/defineObject.ts
2057
+ function defineObject(defn) {
2058
+ return defn;
2059
+ }
2060
+
1812
2061
  // src/dictionary/entries.ts
1813
2062
  function entries(obj) {
1814
2063
  const iterable = {
@@ -2439,10 +2688,12 @@ function isIsoDateTime(val) {
2439
2688
  if (month < 1 || month > 12) {
2440
2689
  return false;
2441
2690
  }
2691
+ ;
2442
2692
  const daysInMonth = new Date(year, month, 0).getDate();
2443
2693
  if (day < 1 || day > daysInMonth) {
2444
2694
  return false;
2445
2695
  }
2696
+ ;
2446
2697
  const tzMatch = val.match(/([+-])(\d{2}):(\d{2})$/);
2447
2698
  if (tzMatch) {
2448
2699
  const [_2, _sign, tzHours, tzMinutes] = tzMatch;
@@ -4164,7 +4415,7 @@ function simpleScalarTokenToTypeToken(val) {
4164
4415
  return val in scalarToToken ? scalarToToken[val] : val.startsWith("string(") ? stringLiteral(val).includes(",") ? `<<union::[ ${stringLiteral(val).split(/,\s?/).map((i) => `"${i}"`).join(", ")} ]>>` : `<<string::${stringLiteral(val)}>>` : val.startsWith("number(") ? numericLiteral(val).includes(",") ? `<<union::[ ${numericLiteral(val).split(/,\s?/).join(", ")} ]>>` : `<<number::${numericLiteral(val)}>>` : val.startsWith("Opt<") ? handleOptional(val) : `<<never>>`;
4165
4416
  }
4166
4417
  function unionNode(node) {
4167
- return isNumberLike(node) ? `<<number::${node}>>` : isBooleanLike(node) ? `<<${node}>>` : isSimpleContainerToken(node) ? simpleContainerTokenToTypeToken() : isSimpleScalarToken(node) ? simpleScalarToken(node) : `<<string::${node}>>`;
4418
+ return isNumberLike(node) ? `<<number::${node}>>` : isBooleanLike(node) ? `<<${node}>>` : isSimpleContainerToken(node) ? simpleContainerTokenToTypeToken(node) : isSimpleScalarToken(node) ? simpleScalarToken(node) : `<<string::${node}>>`;
4168
4419
  }
4169
4420
  function union2(nodes) {
4170
4421
  return Array.isArray(nodes) ? nodes.map((n) => unionNode(n)) : nodes.includes(",") ? nodes.split(/,\s?/).map((n) => unionNode(n)).join(", ") : unionNode(nodes);
@@ -4455,7 +4706,433 @@ function asVueRef(value) {
4455
4706
  _value: null
4456
4707
  };
4457
4708
  }
4458
-
4459
- export { ShapeApiImplementation, addFnToProps, addPropsToFn, and, asApi, asArray, asChars, asDate, asEscapeFunction, asIsoDate, asOptionalParamFunction, asPhoneFormat, asRecord, asString, asStringLiteral, asType, asTypeToken, asVueRef, box, boxDictionaryValues, capitalize, choices, createConverter, createCssKeyframe, createCssSelector, createErrorCondition, createFifoQueue, createFnWithProps, createLifoQueue, createTypeToken, cssColor, csv, defineObj, defineTuple, endsWith, ensureLeading, ensureSurround, ensureTrailing, entries, errCondition, filter, find, fnMeta, get, getDaysBetween, getEach, getPhoneCountryCode, getTailwindModifiers, getToday, getTomorrow, getUrlPath, getUrlPort, getUrlProtocol, getUrlQueryParams, getUrlSource, getWeekNumber, getYesterday, getYouTubePageType, handleDoneFn, hasDefaultValue, hasIndexOf, hasKeys, hasUrlPort, hasUrlQueryParameter, hasWhiteSpace, idLiteral, idTypeGuard, identity, ifArray, ifArrayPartial, ifBoolean, ifChar, ifContainer, ifDefined, ifFalse, ifFunction, ifHasKey, ifLength, ifLowercaseChar, ifNotNull, ifNull, ifNumber, ifObject, ifSameType, ifScalar, ifString, ifTrue, ifUndefined, ifUppercaseChar, indexOf, intersect, intersection, ip6GroupExpansion, ip6Prefix, isAccelerationMetric, isAccelerationUom, isAlpha, isAmazonUrl, isApi, isApiSurface, isAppleUrl, isAreaMetric, isAreaUom, isArray, isArrayToken, isAtomicToken, isAustralianNewsUrl, isBelgiumNewsUrl, isBestBuyUrl, isBitbucketUrl, isBoolean, isBooleanLike, isBox, isCanadianNewsUrl, isChineseNewsUrl, isCodeCommitUrl, isConstant, isContainer, isContainerToken, isCostCoUrl, isCountryAbbrev, isCountryCode2, isCountryCode3, isCountryName, isCssAspectRatio, isCurrentMetric, isCurrentUom, isCvsUrl, isDanishNewsUrl, isDate, isDefineObject, isDefined, isDellUrl, isDistanceMetric, isDistanceUom, isDomainName, isDoneFn, isDutchNewsUrl, isEbayUrl, isEmail, isEnergyMetric, isEnergyUom, isEqual, isErrorCondition, isEscapeFunction, isEtsyUrl, isFalse, isFalsy, isFnToken, isFnWithParams, isFrenchNewsUrl, isFrequencyMetric, isFrequencyUom, isFunction, isGeneratorToken, isGermanNewsUrl, isGithubIssueUrl, isGithubIssuesListUrl, isGithubOrgUrl, isGithubProjectUrl, isGithubProjectsListUrl, isGithubReleaseTagUrl, isGithubReleasesListUrl, isGithubRepoReleaseTagUrl, isGithubRepoReleasesUrl, isGithubRepoUrl, isGithubUrl, isHexadecimal, isHmUrl, isHomeDepotUrl, isHtmlElement, isIkeaUrl, isIndexable, isIndianNewsUrl, isInlineSvg, isIp4Address, isIp6Address, isIpAddress, isIso3166Alpha2, isIso3166Alpha3, isIso3166CountryCode, isIso3166CountryName, isIsoDate, isIsoDateTime, isIsoExplicitDate, isIsoExplicitTime, isIsoImplicitDate, isIsoImplicitTime, isIsoTime, isIsoYear, isItalianNewsUrl, isJapaneseNewsUrl, isKrogersUrl, isLeapYear, isLength, isLikeRegExp, isLowesUrl, isLuminosityMetric, isLuminosityUom, isLuxonDateTime, isMacysUrl, isMapToken, isMassMetric, isMassUom, isMetric, isMexicanNewsUrl, isMoment, isNever, isNewsUrl, isNikeUrl, isNorwegianNewsUrl, isNotNull, isNothing, isNull, isNumber, isNumberLike, isNumericArray, isNumericString, isObject, isObjectToken, isOptionalParamFunction, isPhoneNumber, isPowerMetric, isPowerUom, isPressureMetric, isPressureUom, isReadonlyArray, isRecordToken, isRef, isRegExp, isRepoSource, isRepoUrl, isResistance, isResistanceUom, isRetailUrl, isSameTypeOf, isScalar, isSemanticVersion, isSet, isSetToken, isShape, isShapeCallback, isSimpleContainerToken, isSimpleContainerTokenTuple, isSimpleScalarToken, isSimpleScalarTokenTuple, isSimpleToken, isSimpleTokenTuple, isSingletonToken, isSocialMediaProfileUrl, isSocialMediaUrl, isSouthKoreanNewsUrl, isSpanishNewsUrl, isSpecificConstant, isSpeedMetric, isSpeedUom, isString, isStringArray, isSwissNewsUrl, isSymbol, isTailwindColor, isTailwindColorClass, isTailwindColorName, isTailwindColorTarget, isTailwindColorWithLuminosity, isTailwindColorWithLuminosityAndOpacity, isTailwindModifier, isTargetUrl, isTemperatureMetric, isTemperatureUom, isThenable, isThisMonth, isThisWeek, isThisYear, isTimeMetric, isTimeUom, isToday, isTomorrow, isTrimable, isTrue, isTruthy, isTuple, isTupleToken, isTurkishNewsUrl, isTypeOf, isTypeToken, isTypeTuple, isUkNewsUrl, isUndefined, isUnionSetToken, isUnionToken, isUnset, isUom, isUri, isUrl, isUrlPath, isUrlSource, isUsNewsUrl, isUsStateAbbreviation, isUsStateName, isVoltageMetric, isVoltageUom, isVolumeMetric, isVolumeUom, isWalgreensUrl, isWalmartUrl, isWayfairUrl, isWeakMapToken, isWholeFoodsUrl, isYesterday, isYouTubeCreatorUrl, isYouTubeFeedHistoryUrl, isYouTubeFeedUrl, isYouTubePlaylistUrl, isYouTubePlaylistsUrl, isYouTubeShareUrl, isYouTubeSubscriptionsUrl, isYouTubeTrendingUrl, isYouTubeUrl, isYouTubeVideoUrl, isYouTubeVideosInPlaylist, isZaraUrl, isZipCode, isZipCode5, isZipPlus4, joinWith, jsonValue, jsonValues, keysOf, kindLiteral, last, list, literal, logicalReturns, lookupCountryAlpha2, lookupCountryAlpha3, lookupCountryCode, lookupCountryName, lowercase, mergeObjects, mergeScalars, mergeTuples, nameLiteral, narrow, never, omit, optional, optionalOrNull, or, orNull, pathJoin, pluralize, removePhoneCountryCode, removeTailwindModifiers, removeUrlProtocol, result, retain, retainAfter, retainAfterInclusive, retainChars, retainUntil, retainUntilInclusive, retainWhile, reverse, rightWhitespace, shape, sharedKeys, shift, simpleContainerToken, simpleContainerTokenToTypeToken, simpleContainerType, simpleScalarToken, simpleScalarTokenToTypeToken, simpleScalarType, simpleToken, simpleType, simpleUnionTokenToTypeToken, slice, split, startsWith, stripAfter, stripBefore, stripChars, stripLeading, stripParenthesis, stripSurround, stripTrailing, stripUntil, stripWhile, surround, takeNumericCharacters, takeProp, toCamelCase, toKebabCase, toNumber, toNumericArray, toPascalCase, toSnakeCase, toString, toUppercase, trim, trimEnd, trimLeft, trimRight, trimStart, truncate, tuple, twColor, unbox, uncapitalize, union, unionize, unique, uniqueKeys, uppercase, urlMeta, valuesOf, widen, withDefaults, withKeys, withoutKeys, withoutValue, wrapFn, youtubeEmbed, youtubeMeta };
4460
- //# sourceMappingURL=index.js.map
4709
+ export {
4710
+ ShapeApiImplementation,
4711
+ addFnToProps,
4712
+ addPropsToFn,
4713
+ and,
4714
+ asApi,
4715
+ asArray,
4716
+ asChars,
4717
+ asDate,
4718
+ asEscapeFunction,
4719
+ asIsoDate,
4720
+ asOptionalParamFunction,
4721
+ asPhoneFormat,
4722
+ asRecord,
4723
+ asString,
4724
+ asStringLiteral,
4725
+ asType,
4726
+ asTypeToken,
4727
+ asVueRef,
4728
+ box,
4729
+ boxDictionaryValues,
4730
+ capitalize,
4731
+ choices,
4732
+ createConverter,
4733
+ createCssKeyframe,
4734
+ createCssSelector,
4735
+ createErrorCondition,
4736
+ createFifoQueue,
4737
+ createFnWithProps,
4738
+ createLifoQueue,
4739
+ createTypeToken,
4740
+ cssColor,
4741
+ csv,
4742
+ defineCss,
4743
+ defineObj,
4744
+ defineObject,
4745
+ defineTuple,
4746
+ endsWith,
4747
+ ensureLeading,
4748
+ ensureSurround,
4749
+ ensureTrailing,
4750
+ entries,
4751
+ errCondition,
4752
+ filter,
4753
+ find,
4754
+ fnMeta,
4755
+ get,
4756
+ getDaysBetween,
4757
+ getEach,
4758
+ getPhoneCountryCode,
4759
+ getTailwindModifiers,
4760
+ getToday,
4761
+ getTomorrow,
4762
+ getUrlPath,
4763
+ getUrlPort,
4764
+ getUrlProtocol,
4765
+ getUrlQueryParams,
4766
+ getUrlSource,
4767
+ getWeekNumber,
4768
+ getYesterday,
4769
+ getYouTubePageType,
4770
+ handleDoneFn,
4771
+ hasDefaultValue,
4772
+ hasIndexOf,
4773
+ hasKeys,
4774
+ hasUrlPort,
4775
+ hasUrlQueryParameter,
4776
+ hasWhiteSpace,
4777
+ idLiteral,
4778
+ idTypeGuard,
4779
+ identity,
4780
+ ifArray,
4781
+ ifArrayPartial,
4782
+ ifBoolean,
4783
+ ifChar,
4784
+ ifContainer,
4785
+ ifDefined,
4786
+ ifFalse,
4787
+ ifFunction,
4788
+ ifHasKey,
4789
+ ifLength,
4790
+ ifLowercaseChar,
4791
+ ifNotNull,
4792
+ ifNull,
4793
+ ifNumber,
4794
+ ifObject,
4795
+ ifSameType,
4796
+ ifScalar,
4797
+ ifString,
4798
+ ifTrue,
4799
+ ifUndefined,
4800
+ ifUppercaseChar,
4801
+ indexOf,
4802
+ intersect,
4803
+ intersection,
4804
+ ip6GroupExpansion,
4805
+ ip6Prefix,
4806
+ isAccelerationMetric,
4807
+ isAccelerationUom,
4808
+ isAlpha,
4809
+ isAmazonUrl,
4810
+ isApi,
4811
+ isApiSurface,
4812
+ isAppleUrl,
4813
+ isAreaMetric,
4814
+ isAreaUom,
4815
+ isArray,
4816
+ isArrayToken,
4817
+ isAtomicToken,
4818
+ isAustralianNewsUrl,
4819
+ isBelgiumNewsUrl,
4820
+ isBestBuyUrl,
4821
+ isBitbucketUrl,
4822
+ isBoolean,
4823
+ isBooleanLike,
4824
+ isBox,
4825
+ isCanadianNewsUrl,
4826
+ isChineseNewsUrl,
4827
+ isCodeCommitUrl,
4828
+ isConstant,
4829
+ isContainer,
4830
+ isContainerToken,
4831
+ isCostCoUrl,
4832
+ isCountryAbbrev,
4833
+ isCountryCode2,
4834
+ isCountryCode3,
4835
+ isCountryName,
4836
+ isCssAspectRatio,
4837
+ isCurrentMetric,
4838
+ isCurrentUom,
4839
+ isCvsUrl,
4840
+ isDanishNewsUrl,
4841
+ isDate,
4842
+ isDefineObject,
4843
+ isDefined,
4844
+ isDellUrl,
4845
+ isDistanceMetric,
4846
+ isDistanceUom,
4847
+ isDomainName,
4848
+ isDoneFn,
4849
+ isDutchNewsUrl,
4850
+ isEbayUrl,
4851
+ isEmail,
4852
+ isEnergyMetric,
4853
+ isEnergyUom,
4854
+ isEqual,
4855
+ isErrorCondition,
4856
+ isEscapeFunction,
4857
+ isEtsyUrl,
4858
+ isFalse,
4859
+ isFalsy,
4860
+ isFnToken,
4861
+ isFnWithParams,
4862
+ isFrenchNewsUrl,
4863
+ isFrequencyMetric,
4864
+ isFrequencyUom,
4865
+ isFunction,
4866
+ isGeneratorToken,
4867
+ isGermanNewsUrl,
4868
+ isGithubIssueUrl,
4869
+ isGithubIssuesListUrl,
4870
+ isGithubOrgUrl,
4871
+ isGithubProjectUrl,
4872
+ isGithubProjectsListUrl,
4873
+ isGithubReleaseTagUrl,
4874
+ isGithubReleasesListUrl,
4875
+ isGithubRepoReleaseTagUrl,
4876
+ isGithubRepoReleasesUrl,
4877
+ isGithubRepoUrl,
4878
+ isGithubUrl,
4879
+ isHexadecimal,
4880
+ isHmUrl,
4881
+ isHomeDepotUrl,
4882
+ isHtmlElement,
4883
+ isIkeaUrl,
4884
+ isIndexable,
4885
+ isIndianNewsUrl,
4886
+ isInlineSvg,
4887
+ isIp4Address,
4888
+ isIp6Address,
4889
+ isIpAddress,
4890
+ isIso3166Alpha2,
4891
+ isIso3166Alpha3,
4892
+ isIso3166CountryCode,
4893
+ isIso3166CountryName,
4894
+ isIsoDate,
4895
+ isIsoDateTime,
4896
+ isIsoExplicitDate,
4897
+ isIsoExplicitTime,
4898
+ isIsoImplicitDate,
4899
+ isIsoImplicitTime,
4900
+ isIsoTime,
4901
+ isIsoYear,
4902
+ isItalianNewsUrl,
4903
+ isJapaneseNewsUrl,
4904
+ isKrogersUrl,
4905
+ isLeapYear,
4906
+ isLength,
4907
+ isLikeRegExp,
4908
+ isLowesUrl,
4909
+ isLuminosityMetric,
4910
+ isLuminosityUom,
4911
+ isLuxonDateTime,
4912
+ isMacysUrl,
4913
+ isMapToken,
4914
+ isMassMetric,
4915
+ isMassUom,
4916
+ isMetric,
4917
+ isMexicanNewsUrl,
4918
+ isMoment,
4919
+ isNever,
4920
+ isNewsUrl,
4921
+ isNikeUrl,
4922
+ isNorwegianNewsUrl,
4923
+ isNotNull,
4924
+ isNothing,
4925
+ isNull,
4926
+ isNumber,
4927
+ isNumberLike,
4928
+ isNumericArray,
4929
+ isNumericString,
4930
+ isObject,
4931
+ isObjectToken,
4932
+ isOptionalParamFunction,
4933
+ isPhoneNumber,
4934
+ isPowerMetric,
4935
+ isPowerUom,
4936
+ isPressureMetric,
4937
+ isPressureUom,
4938
+ isReadonlyArray,
4939
+ isRecordToken,
4940
+ isRef,
4941
+ isRegExp,
4942
+ isRepoSource,
4943
+ isRepoUrl,
4944
+ isResistance,
4945
+ isResistanceUom,
4946
+ isRetailUrl,
4947
+ isSameTypeOf,
4948
+ isScalar,
4949
+ isSemanticVersion,
4950
+ isSet,
4951
+ isSetToken,
4952
+ isShape,
4953
+ isShapeCallback,
4954
+ isSimpleContainerToken,
4955
+ isSimpleContainerTokenTuple,
4956
+ isSimpleScalarToken,
4957
+ isSimpleScalarTokenTuple,
4958
+ isSimpleToken,
4959
+ isSimpleTokenTuple,
4960
+ isSingletonToken,
4961
+ isSocialMediaProfileUrl,
4962
+ isSocialMediaUrl,
4963
+ isSouthKoreanNewsUrl,
4964
+ isSpanishNewsUrl,
4965
+ isSpecificConstant,
4966
+ isSpeedMetric,
4967
+ isSpeedUom,
4968
+ isString,
4969
+ isStringArray,
4970
+ isSwissNewsUrl,
4971
+ isSymbol,
4972
+ isTailwindColor,
4973
+ isTailwindColorClass,
4974
+ isTailwindColorName,
4975
+ isTailwindColorTarget,
4976
+ isTailwindColorWithLuminosity,
4977
+ isTailwindColorWithLuminosityAndOpacity,
4978
+ isTailwindModifier,
4979
+ isTargetUrl,
4980
+ isTemperatureMetric,
4981
+ isTemperatureUom,
4982
+ isThenable,
4983
+ isThisMonth,
4984
+ isThisWeek,
4985
+ isThisYear,
4986
+ isTimeMetric,
4987
+ isTimeUom,
4988
+ isToday,
4989
+ isTomorrow,
4990
+ isTrimable,
4991
+ isTrue,
4992
+ isTruthy,
4993
+ isTuple,
4994
+ isTupleToken,
4995
+ isTurkishNewsUrl,
4996
+ isTypeOf,
4997
+ isTypeToken,
4998
+ isTypeTuple,
4999
+ isUkNewsUrl,
5000
+ isUndefined,
5001
+ isUnionSetToken,
5002
+ isUnionToken,
5003
+ isUnset,
5004
+ isUom,
5005
+ isUri,
5006
+ isUrl,
5007
+ isUrlPath,
5008
+ isUrlSource,
5009
+ isUsNewsUrl,
5010
+ isUsStateAbbreviation,
5011
+ isUsStateName,
5012
+ isVoltageMetric,
5013
+ isVoltageUom,
5014
+ isVolumeMetric,
5015
+ isVolumeUom,
5016
+ isWalgreensUrl,
5017
+ isWalmartUrl,
5018
+ isWayfairUrl,
5019
+ isWeakMapToken,
5020
+ isWholeFoodsUrl,
5021
+ isYesterday,
5022
+ isYouTubeCreatorUrl,
5023
+ isYouTubeFeedHistoryUrl,
5024
+ isYouTubeFeedUrl,
5025
+ isYouTubePlaylistUrl,
5026
+ isYouTubePlaylistsUrl,
5027
+ isYouTubeShareUrl,
5028
+ isYouTubeSubscriptionsUrl,
5029
+ isYouTubeTrendingUrl,
5030
+ isYouTubeUrl,
5031
+ isYouTubeVideoUrl,
5032
+ isYouTubeVideosInPlaylist,
5033
+ isZaraUrl,
5034
+ isZipCode,
5035
+ isZipCode5,
5036
+ isZipPlus4,
5037
+ joinWith,
5038
+ jsonValue,
5039
+ jsonValues,
5040
+ keysOf,
5041
+ kindLiteral,
5042
+ last,
5043
+ list,
5044
+ literal,
5045
+ logicalReturns,
5046
+ lookupCountryAlpha2,
5047
+ lookupCountryAlpha3,
5048
+ lookupCountryCode,
5049
+ lookupCountryName,
5050
+ lowercase,
5051
+ mergeObjects,
5052
+ mergeScalars,
5053
+ mergeTuples,
5054
+ nameLiteral,
5055
+ narrow,
5056
+ never,
5057
+ omit,
5058
+ optional,
5059
+ optionalOrNull,
5060
+ or,
5061
+ orNull,
5062
+ pathJoin,
5063
+ pluralize,
5064
+ removePhoneCountryCode,
5065
+ removeTailwindModifiers,
5066
+ removeUrlProtocol,
5067
+ result,
5068
+ retain,
5069
+ retainAfter,
5070
+ retainAfterInclusive,
5071
+ retainChars,
5072
+ retainUntil,
5073
+ retainUntilInclusive,
5074
+ retainWhile,
5075
+ reverse,
5076
+ rightWhitespace,
5077
+ shape,
5078
+ sharedKeys,
5079
+ shift,
5080
+ simpleContainerToken,
5081
+ simpleContainerTokenToTypeToken,
5082
+ simpleContainerType,
5083
+ simpleScalarToken,
5084
+ simpleScalarTokenToTypeToken,
5085
+ simpleScalarType,
5086
+ simpleToken,
5087
+ simpleType,
5088
+ simpleUnionTokenToTypeToken,
5089
+ slice,
5090
+ split,
5091
+ startsWith,
5092
+ stripAfter,
5093
+ stripBefore,
5094
+ stripChars,
5095
+ stripLeading,
5096
+ stripParenthesis,
5097
+ stripSurround,
5098
+ stripTrailing,
5099
+ stripUntil,
5100
+ stripWhile,
5101
+ surround,
5102
+ takeNumericCharacters,
5103
+ takeProp,
5104
+ toCamelCase,
5105
+ toKebabCase,
5106
+ toNumber,
5107
+ toNumericArray,
5108
+ toPascalCase,
5109
+ toSnakeCase,
5110
+ toString,
5111
+ toUppercase,
5112
+ trim,
5113
+ trimEnd,
5114
+ trimLeft,
5115
+ trimRight,
5116
+ trimStart,
5117
+ truncate,
5118
+ tuple,
5119
+ twColor,
5120
+ unbox,
5121
+ uncapitalize,
5122
+ union,
5123
+ unionize,
5124
+ unique,
5125
+ uniqueKeys,
5126
+ uppercase,
5127
+ urlMeta,
5128
+ valuesOf,
5129
+ widen,
5130
+ withDefaults,
5131
+ withKeys,
5132
+ withoutKeys,
5133
+ withoutValue,
5134
+ wrapFn,
5135
+ youtubeEmbed,
5136
+ youtubeMeta
5137
+ };
4461
5138
  //# sourceMappingURL=index.js.map