inferred-types 0.52.15 → 0.53.1
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/modules/constants/dist/index.cjs +2761 -0
- package/modules/constants/dist/index.cjs.map +1 -0
- package/modules/constants/dist/index.d.mts +4084 -0
- package/modules/constants/dist/index.d.ts +4084 -0
- package/modules/constants/dist/index.js +2576 -0
- package/modules/constants/dist/index.js.map +1 -0
- package/modules/inferred-types/dist/index.cjs +7210 -0
- package/modules/inferred-types/dist/index.cjs.map +1 -0
- package/{dist/index.cjs → modules/inferred-types/dist/index.js} +4983 -5382
- package/modules/inferred-types/dist/index.js.map +1 -0
- package/{dist/index.js → modules/runtime/dist/index.cjs} +3440 -4908
- package/modules/runtime/dist/index.cjs.map +1 -0
- package/modules/runtime/dist/index.js +4439 -0
- package/modules/runtime/dist/index.js.map +1 -0
- package/modules/types/dist/index.cjs +210 -0
- package/modules/types/dist/index.cjs.map +1 -0
- package/modules/types/dist/index.js +194 -0
- package/modules/types/dist/index.js.map +1 -0
- package/package.json +39 -44
- package/dist/constants/Alpha.d.ts +0 -13
- package/dist/constants/Alpha.d.ts.map +0 -1
- package/dist/constants/Alpha.js +0 -19
- package/dist/constants/Books.d.ts +0 -2
- package/dist/constants/Books.d.ts.map +0 -1
- package/dist/constants/Books.js +0 -8
- package/dist/constants/Characters.d.ts +0 -2
- package/dist/constants/Characters.d.ts.map +0 -1
- package/dist/constants/Characters.js +0 -6
- package/dist/constants/Comma.d.ts +0 -16
- package/dist/constants/Comma.d.ts.map +0 -1
- package/dist/constants/Comma.js +0 -10
- package/dist/constants/CommonObjProps.d.ts +0 -12
- package/dist/constants/CommonObjProps.d.ts.map +0 -1
- package/dist/constants/CommonObjProps.js +0 -3
- package/dist/constants/Consonants.d.ts +0 -2
- package/dist/constants/Consonants.d.ts.map +0 -1
- package/dist/constants/Consonants.js +0 -23
- package/dist/constants/Constant.d.ts +0 -11
- package/dist/constants/Constant.d.ts.map +0 -1
- package/dist/constants/Constant.js +0 -1
- package/dist/constants/DateTime.d.ts +0 -13
- package/dist/constants/DateTime.d.ts.map +0 -1
- package/dist/constants/DateTime.js +0 -38
- package/dist/constants/FalsyValues.d.ts +0 -8
- package/dist/constants/FalsyValues.d.ts.map +0 -1
- package/dist/constants/FalsyValues.js +0 -9
- package/dist/constants/Functional.d.ts +0 -19
- package/dist/constants/Functional.d.ts.map +0 -1
- package/dist/constants/Functional.js +0 -18
- package/dist/constants/Geo.d.ts +0 -386
- package/dist/constants/Geo.d.ts.map +0 -1
- package/dist/constants/Geo.js +0 -95
- package/dist/constants/HashTable.d.ts +0 -199
- package/dist/constants/HashTable.d.ts.map +0 -1
- package/dist/constants/HashTable.js +0 -121
- package/dist/constants/ISO3166.d.ts +0 -715
- package/dist/constants/ISO3166.d.ts.map +0 -1
- package/dist/constants/ISO3166.js +0 -147
- package/dist/constants/Images.d.ts +0 -42
- package/dist/constants/Images.d.ts.map +0 -1
- package/dist/constants/Images.js +0 -12
- package/dist/constants/Marked.d.ts +0 -9
- package/dist/constants/Marked.d.ts.map +0 -1
- package/dist/constants/Marked.js +0 -2
- package/dist/constants/Markers.d.ts +0 -82
- package/dist/constants/Markers.d.ts.map +0 -1
- package/dist/constants/Markers.js +0 -22
- package/dist/constants/Metrics.d.ts +0 -374
- package/dist/constants/Metrics.d.ts.map +0 -1
- package/dist/constants/Metrics.js +0 -151
- package/dist/constants/NetworkConstants.d.ts +0 -29
- package/dist/constants/NetworkConstants.d.ts.map +0 -1
- package/dist/constants/NetworkConstants.js +0 -83
- package/dist/constants/Never.d.ts +0 -10
- package/dist/constants/Never.d.ts.map +0 -1
- package/dist/constants/Never.js +0 -10
- package/dist/constants/News.d.ts +0 -1281
- package/dist/constants/News.d.ts.map +0 -1
- package/dist/constants/News.js +0 -419
- package/dist/constants/NoDefaultValue.d.ts +0 -11
- package/dist/constants/NoDefaultValue.d.ts.map +0 -1
- package/dist/constants/NoDefaultValue.js +0 -6
- package/dist/constants/NotApplicable.d.ts +0 -11
- package/dist/constants/NotApplicable.d.ts.map +0 -1
- package/dist/constants/NotApplicable.js +0 -1
- package/dist/constants/NotDefined.d.ts +0 -8
- package/dist/constants/NotDefined.d.ts.map +0 -1
- package/dist/constants/NotDefined.js +0 -7
- package/dist/constants/NumericChar.d.ts +0 -10
- package/dist/constants/NumericChar.d.ts.map +0 -1
- package/dist/constants/NumericChar.js +0 -13
- package/dist/constants/NumericDigit.d.ts +0 -9
- package/dist/constants/NumericDigit.d.ts.map +0 -1
- package/dist/constants/NumericDigit.js +0 -10
- package/dist/constants/Phone.d.ts +0 -8
- package/dist/constants/Phone.d.ts.map +0 -1
- package/dist/constants/Phone.js +0 -262
- package/dist/constants/PluralExceptions.d.ts +0 -97
- package/dist/constants/PluralExceptions.d.ts.map +0 -1
- package/dist/constants/PluralExceptions.js +0 -100
- package/dist/constants/ProxmoxConstants.d.ts +0 -2
- package/dist/constants/ProxmoxConstants.d.ts.map +0 -1
- package/dist/constants/ProxmoxConstants.js +0 -3
- package/dist/constants/RepoConstants.d.ts +0 -31
- package/dist/constants/RepoConstants.d.ts.map +0 -1
- package/dist/constants/RepoConstants.js +0 -48
- package/dist/constants/Retail.d.ts +0 -27
- package/dist/constants/Retail.d.ts.map +0 -1
- package/dist/constants/Retail.js +0 -89
- package/dist/constants/Shape.d.ts +0 -3
- package/dist/constants/Shape.d.ts.map +0 -1
- package/dist/constants/Shape.js +0 -15
- package/dist/constants/SingularNounEnding.d.ts +0 -7
- package/dist/constants/SingularNounEnding.d.ts.map +0 -1
- package/dist/constants/SingularNounEnding.js +0 -8
- package/dist/constants/Social.d.ts +0 -106
- package/dist/constants/Social.d.ts.map +0 -1
- package/dist/constants/Social.js +0 -122
- package/dist/constants/Tailwind.d.ts +0 -138
- package/dist/constants/Tailwind.d.ts.map +0 -1
- package/dist/constants/Tailwind.js +0 -148
- package/dist/constants/TypeComparisons.d.ts +0 -230
- package/dist/constants/TypeComparisons.d.ts.map +0 -1
- package/dist/constants/TypeComparisons.js +0 -47
- package/dist/constants/TypeOf.d.ts +0 -7
- package/dist/constants/TypeOf.d.ts.map +0 -1
- package/dist/constants/TypeOf.js +0 -6
- package/dist/constants/TypeTokens.d.ts +0 -68
- package/dist/constants/TypeTokens.d.ts.map +0 -1
- package/dist/constants/TypeTokens.js +0 -247
- package/dist/constants/TypeTransforms.d.ts +0 -38
- package/dist/constants/TypeTransforms.d.ts.map +0 -1
- package/dist/constants/TypeTransforms.js +0 -42
- package/dist/constants/Types.d.ts +0 -10
- package/dist/constants/Types.d.ts.map +0 -1
- package/dist/constants/Types.js +0 -26
- package/dist/constants/Wide.d.ts +0 -29
- package/dist/constants/Wide.d.ts.map +0 -1
- package/dist/constants/Wide.js +0 -25
- package/dist/constants/colors.d.ts +0 -2
- package/dist/constants/colors.d.ts.map +0 -1
- package/dist/constants/colors.js +0 -33
- package/dist/constants/createConstant.d.ts +0 -8
- package/dist/constants/createConstant.d.ts.map +0 -1
- package/dist/constants/createConstant.js +0 -11
- package/dist/constants/index.d.ts +0 -43
- package/dist/constants/index.d.ts.map +0 -1
- package/dist/constants/index.js +0 -42
- package/dist/constants/tsconfig.tsbuildinfo +0 -1
- package/dist/inferred-types/index.d.ts +0 -4
- package/dist/inferred-types/index.d.ts.map +0 -1
- package/dist/inferred-types/index.js +0 -3
- package/dist/inferred-types/tsconfig.tsbuildinfo +0 -1
- package/dist/runtime/api/defineApi.d.ts +0 -21
- package/dist/runtime/api/defineApi.d.ts.map +0 -1
- package/dist/runtime/api/defineApi.js +0 -113
- package/dist/runtime/api/handleDoneFn.d.ts +0 -12
- package/dist/runtime/api/handleDoneFn.d.ts.map +0 -1
- package/dist/runtime/api/handleDoneFn.js +0 -22
- package/dist/runtime/api/index.d.ts +0 -3
- package/dist/runtime/api/index.d.ts.map +0 -1
- package/dist/runtime/api/index.js +0 -2
- package/dist/runtime/boolean-logic/ifArray.d.ts +0 -8
- package/dist/runtime/boolean-logic/ifArray.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifArray.js +0 -8
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts +0 -3
- package/dist/runtime/boolean-logic/ifArrayPartial.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifArrayPartial.js +0 -6
- package/dist/runtime/boolean-logic/ifBoolean.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifBoolean.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifBoolean.js +0 -17
- package/dist/runtime/boolean-logic/ifChar.d.ts +0 -5
- package/dist/runtime/boolean-logic/ifChar.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifChar.js +0 -8
- package/dist/runtime/boolean-logic/ifContainer.d.ts +0 -3
- package/dist/runtime/boolean-logic/ifContainer.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifContainer.js +0 -6
- package/dist/runtime/boolean-logic/ifFalse.d.ts +0 -18
- package/dist/runtime/boolean-logic/ifFalse.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifFalse.js +0 -19
- package/dist/runtime/boolean-logic/ifFunction.d.ts +0 -11
- package/dist/runtime/boolean-logic/ifFunction.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifFunction.js +0 -13
- package/dist/runtime/boolean-logic/ifHasKey.d.ts +0 -3
- package/dist/runtime/boolean-logic/ifHasKey.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifHasKey.js +0 -4
- package/dist/runtime/boolean-logic/ifLength.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifLength.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifLength.js +0 -16
- package/dist/runtime/boolean-logic/ifNotNull.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifNotNull.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifNotNull.js +0 -17
- package/dist/runtime/boolean-logic/ifNull.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifNull.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifNull.js +0 -17
- package/dist/runtime/boolean-logic/ifNumber.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifNumber.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifNumber.js +0 -17
- package/dist/runtime/boolean-logic/ifObject.d.ts +0 -3
- package/dist/runtime/boolean-logic/ifObject.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifObject.js +0 -4
- package/dist/runtime/boolean-logic/ifSameType.d.ts +0 -10
- package/dist/runtime/boolean-logic/ifSameType.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifSameType.js +0 -14
- package/dist/runtime/boolean-logic/ifScalar.d.ts +0 -16
- package/dist/runtime/boolean-logic/ifScalar.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifScalar.js +0 -20
- package/dist/runtime/boolean-logic/ifString.d.ts +0 -14
- package/dist/runtime/boolean-logic/ifString.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifString.js +0 -16
- package/dist/runtime/boolean-logic/ifTrue.d.ts +0 -13
- package/dist/runtime/boolean-logic/ifTrue.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifTrue.js +0 -18
- package/dist/runtime/boolean-logic/ifUndefined.d.ts +0 -15
- package/dist/runtime/boolean-logic/ifUndefined.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/ifUndefined.js +0 -18
- package/dist/runtime/boolean-logic/index.d.ts +0 -19
- package/dist/runtime/boolean-logic/index.d.ts.map +0 -1
- package/dist/runtime/boolean-logic/index.js +0 -18
- package/dist/runtime/combinators/and.d.ts +0 -7
- package/dist/runtime/combinators/and.d.ts.map +0 -1
- package/dist/runtime/combinators/and.js +0 -7
- package/dist/runtime/combinators/index.d.ts +0 -3
- package/dist/runtime/combinators/index.d.ts.map +0 -1
- package/dist/runtime/combinators/index.js +0 -2
- package/dist/runtime/combinators/or.d.ts +0 -9
- package/dist/runtime/combinators/or.d.ts.map +0 -1
- package/dist/runtime/combinators/or.js +0 -10
- package/dist/runtime/css/createCssKeyframe.d.ts +0 -15
- package/dist/runtime/css/createCssKeyframe.d.ts.map +0 -1
- package/dist/runtime/css/createCssKeyframe.js +0 -35
- package/dist/runtime/css/index.d.ts +0 -2
- package/dist/runtime/css/index.d.ts.map +0 -1
- package/dist/runtime/css/index.js +0 -1
- package/dist/runtime/datetime/asDate.d.ts +0 -7
- package/dist/runtime/datetime/asDate.d.ts.map +0 -1
- package/dist/runtime/datetime/asDate.js +0 -48
- package/dist/runtime/datetime/asIsoDate.d.ts +0 -8
- package/dist/runtime/datetime/asIsoDate.d.ts.map +0 -1
- package/dist/runtime/datetime/asIsoDate.js +0 -24
- package/dist/runtime/datetime/getDay.d.ts +0 -19
- package/dist/runtime/datetime/getDay.d.ts.map +0 -1
- package/dist/runtime/datetime/getDay.js +0 -35
- package/dist/runtime/datetime/getDaysBetween.d.ts +0 -7
- package/dist/runtime/datetime/getDaysBetween.d.ts.map +0 -1
- package/dist/runtime/datetime/getDaysBetween.js +0 -20
- package/dist/runtime/datetime/getToday.d.ts +0 -7
- package/dist/runtime/datetime/getToday.d.ts.map +0 -1
- package/dist/runtime/datetime/getToday.js +0 -8
- package/dist/runtime/datetime/getTomorrow.d.ts +0 -8
- package/dist/runtime/datetime/getTomorrow.d.ts.map +0 -1
- package/dist/runtime/datetime/getTomorrow.js +0 -10
- package/dist/runtime/datetime/getWeekNumber.d.ts +0 -12
- package/dist/runtime/datetime/getWeekNumber.d.ts.map +0 -1
- package/dist/runtime/datetime/getWeekNumber.js +0 -20
- package/dist/runtime/datetime/getYesterday.d.ts +0 -8
- package/dist/runtime/datetime/getYesterday.d.ts.map +0 -1
- package/dist/runtime/datetime/getYesterday.js +0 -10
- package/dist/runtime/datetime/index.d.ts +0 -9
- package/dist/runtime/datetime/index.d.ts.map +0 -1
- package/dist/runtime/datetime/index.js +0 -8
- package/dist/runtime/datetime/isLeapYear.d.ts +0 -8
- package/dist/runtime/datetime/isLeapYear.d.ts.map +0 -1
- package/dist/runtime/datetime/isLeapYear.js +0 -15
- package/dist/runtime/dictionary/defineOptions.d.ts +0 -26
- package/dist/runtime/dictionary/defineOptions.d.ts.map +0 -1
- package/dist/runtime/dictionary/defineOptions.js +0 -30
- package/dist/runtime/dictionary/entries.d.ts +0 -21
- package/dist/runtime/dictionary/entries.d.ts.map +0 -1
- package/dist/runtime/dictionary/entries.js +0 -24
- package/dist/runtime/dictionary/get.d.ts +0 -37
- package/dist/runtime/dictionary/get.d.ts.map +0 -1
- package/dist/runtime/dictionary/get.js +0 -65
- package/dist/runtime/dictionary/index.d.ts +0 -13
- package/dist/runtime/dictionary/index.d.ts.map +0 -1
- package/dist/runtime/dictionary/index.js +0 -20
- package/dist/runtime/dictionary/keysOf.d.ts +0 -12
- package/dist/runtime/dictionary/keysOf.d.ts.map +0 -1
- package/dist/runtime/dictionary/keysOf.js +0 -20
- package/dist/runtime/dictionary/omit.d.ts +0 -20
- package/dist/runtime/dictionary/omit.d.ts.map +0 -1
- package/dist/runtime/dictionary/omit.js +0 -27
- package/dist/runtime/dictionary/retain.d.ts +0 -13
- package/dist/runtime/dictionary/retain.d.ts.map +0 -1
- package/dist/runtime/dictionary/retain.js +0 -18
- package/dist/runtime/dictionary/sharedKeys.d.ts +0 -8
- package/dist/runtime/dictionary/sharedKeys.d.ts.map +0 -1
- package/dist/runtime/dictionary/sharedKeys.js +0 -10
- package/dist/runtime/dictionary/takeProp.d.ts +0 -12
- package/dist/runtime/dictionary/takeProp.d.ts.map +0 -1
- package/dist/runtime/dictionary/takeProp.js +0 -15
- package/dist/runtime/dictionary/valuesOf.d.ts +0 -10
- package/dist/runtime/dictionary/valuesOf.d.ts.map +0 -1
- package/dist/runtime/dictionary/valuesOf.js +0 -14
- package/dist/runtime/dictionary/withDefaults.d.ts +0 -9
- package/dist/runtime/dictionary/withDefaults.d.ts.map +0 -1
- package/dist/runtime/dictionary/withDefaults.js +0 -13
- package/dist/runtime/dictionary/withKeys.d.ts +0 -18
- package/dist/runtime/dictionary/withKeys.d.ts.map +0 -1
- package/dist/runtime/dictionary/withKeys.js +0 -10
- package/dist/runtime/dictionary/withoutKeys.d.ts +0 -13
- package/dist/runtime/dictionary/withoutKeys.d.ts.map +0 -1
- package/dist/runtime/dictionary/withoutKeys.js +0 -12
- package/dist/runtime/dictionary/withoutValue.d.ts +0 -17
- package/dist/runtime/dictionary/withoutValue.d.ts.map +0 -1
- package/dist/runtime/dictionary/withoutValue.js +0 -21
- package/dist/runtime/errors/KindError.d.ts +0 -30
- package/dist/runtime/errors/KindError.d.ts.map +0 -1
- package/dist/runtime/errors/KindError.js +0 -59
- package/dist/runtime/errors/TypedError.d.ts +0 -31
- package/dist/runtime/errors/TypedError.d.ts.map +0 -1
- package/dist/runtime/errors/TypedError.js +0 -16
- package/dist/runtime/errors/createErrorCondition.d.ts +0 -14
- package/dist/runtime/errors/createErrorCondition.d.ts.map +0 -1
- package/dist/runtime/errors/createErrorCondition.js +0 -19
- package/dist/runtime/errors/index.d.ts +0 -3
- package/dist/runtime/errors/index.d.ts.map +0 -1
- package/dist/runtime/errors/index.js +0 -2
- package/dist/runtime/functional/index.d.ts +0 -2
- package/dist/runtime/functional/index.d.ts.map +0 -1
- package/dist/runtime/functional/index.js +0 -1
- package/dist/runtime/functional/result.d.ts +0 -2
- package/dist/runtime/functional/result.d.ts.map +0 -1
- package/dist/runtime/functional/result.js +0 -286
- package/dist/runtime/functions/fnMeta.d.ts +0 -16
- package/dist/runtime/functions/fnMeta.d.ts.map +0 -1
- package/dist/runtime/functions/fnMeta.js +0 -16
- package/dist/runtime/functions/index.d.ts +0 -3
- package/dist/runtime/functions/index.d.ts.map +0 -1
- package/dist/runtime/functions/index.js +0 -2
- package/dist/runtime/functions/wrapFn.d.ts +0 -2
- package/dist/runtime/functions/wrapFn.d.ts.map +0 -1
- package/dist/runtime/functions/wrapFn.js +0 -24
- package/dist/runtime/index.d.ts +0 -20
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -19
- package/dist/runtime/initializers/addFnToProps.d.ts +0 -9
- package/dist/runtime/initializers/addFnToProps.d.ts.map +0 -1
- package/dist/runtime/initializers/addFnToProps.js +0 -17
- package/dist/runtime/initializers/addPropsToFn.d.ts +0 -15
- package/dist/runtime/initializers/addPropsToFn.d.ts.map +0 -1
- package/dist/runtime/initializers/addPropsToFn.js +0 -22
- package/dist/runtime/initializers/createCssSelector.d.ts +0 -24
- package/dist/runtime/initializers/createCssSelector.d.ts.map +0 -1
- package/dist/runtime/initializers/createCssSelector.js +0 -15
- package/dist/runtime/initializers/createFnWithProps.d.ts +0 -8
- package/dist/runtime/initializers/createFnWithProps.d.ts.map +0 -1
- package/dist/runtime/initializers/createFnWithProps.js +0 -15
- package/dist/runtime/initializers/defineObj.d.ts +0 -17
- package/dist/runtime/initializers/defineObj.d.ts.map +0 -1
- package/dist/runtime/initializers/defineObj.js +0 -27
- package/dist/runtime/initializers/defineTuple.d.ts +0 -19
- package/dist/runtime/initializers/defineTuple.d.ts.map +0 -1
- package/dist/runtime/initializers/defineTuple.js +0 -22
- package/dist/runtime/initializers/index.d.ts +0 -7
- package/dist/runtime/initializers/index.d.ts.map +0 -1
- package/dist/runtime/initializers/index.js +0 -6
- package/dist/runtime/lists/asArray.d.ts +0 -18
- package/dist/runtime/lists/asArray.d.ts.map +0 -1
- package/dist/runtime/lists/asArray.js +0 -19
- package/dist/runtime/lists/createComparison.d.ts +0 -9
- package/dist/runtime/lists/createComparison.d.ts.map +0 -1
- package/dist/runtime/lists/createComparison.js +0 -9
- package/dist/runtime/lists/createConverter.d.ts +0 -25
- package/dist/runtime/lists/createConverter.d.ts.map +0 -1
- package/dist/runtime/lists/createConverter.js +0 -59
- package/dist/runtime/lists/filter.d.ts +0 -2
- package/dist/runtime/lists/filter.d.ts.map +0 -1
- package/dist/runtime/lists/filter.js +0 -55
- package/dist/runtime/lists/find.d.ts +0 -15
- package/dist/runtime/lists/find.d.ts.map +0 -1
- package/dist/runtime/lists/find.js +0 -17
- package/dist/runtime/lists/getEach.d.ts +0 -19
- package/dist/runtime/lists/getEach.d.ts.map +0 -1
- package/dist/runtime/lists/getEach.js +0 -25
- package/dist/runtime/lists/index.d.ts +0 -15
- package/dist/runtime/lists/index.d.ts.map +0 -1
- package/dist/runtime/lists/index.js +0 -22
- package/dist/runtime/lists/indexOf.d.ts +0 -14
- package/dist/runtime/lists/indexOf.d.ts.map +0 -1
- package/dist/runtime/lists/indexOf.js +0 -38
- package/dist/runtime/lists/intersection.d.ts +0 -13
- package/dist/runtime/lists/intersection.d.ts.map +0 -1
- package/dist/runtime/lists/intersection.js +0 -41
- package/dist/runtime/lists/joinWith.d.ts +0 -17
- package/dist/runtime/lists/joinWith.d.ts.map +0 -1
- package/dist/runtime/lists/joinWith.js +0 -22
- package/dist/runtime/lists/last.d.ts +0 -3
- package/dist/runtime/lists/last.d.ts.map +0 -1
- package/dist/runtime/lists/last.js +0 -3
- package/dist/runtime/lists/logicalReturns.d.ts +0 -3
- package/dist/runtime/lists/logicalReturns.d.ts.map +0 -1
- package/dist/runtime/lists/logicalReturns.js +0 -9
- package/dist/runtime/lists/reverse.d.ts +0 -8
- package/dist/runtime/lists/reverse.d.ts.map +0 -1
- package/dist/runtime/lists/reverse.js +0 -8
- package/dist/runtime/lists/shift.d.ts +0 -22
- package/dist/runtime/lists/shift.d.ts.map +0 -1
- package/dist/runtime/lists/shift.js +0 -39
- package/dist/runtime/lists/slice.d.ts +0 -9
- package/dist/runtime/lists/slice.d.ts.map +0 -1
- package/dist/runtime/lists/slice.js +0 -9
- package/dist/runtime/lists/unique.d.ts +0 -9
- package/dist/runtime/lists/unique.d.ts.map +0 -1
- package/dist/runtime/lists/unique.js +0 -15
- package/dist/runtime/literals/box.d.ts +0 -26
- package/dist/runtime/literals/box.d.ts.map +0 -1
- package/dist/runtime/literals/box.js +0 -42
- package/dist/runtime/literals/capitalize.d.ts +0 -8
- package/dist/runtime/literals/capitalize.d.ts.map +0 -1
- package/dist/runtime/literals/capitalize.js +0 -9
- package/dist/runtime/literals/color/cssColor.d.ts +0 -8
- package/dist/runtime/literals/color/cssColor.d.ts.map +0 -1
- package/dist/runtime/literals/color/cssColor.js +0 -8
- package/dist/runtime/literals/color/index.d.ts +0 -3
- package/dist/runtime/literals/color/index.d.ts.map +0 -1
- package/dist/runtime/literals/color/index.js +0 -2
- package/dist/runtime/literals/color/twColor.d.ts +0 -10
- package/dist/runtime/literals/color/twColor.d.ts.map +0 -1
- package/dist/runtime/literals/color/twColor.js +0 -12
- package/dist/runtime/literals/ensureLeading.d.ts +0 -9
- package/dist/runtime/literals/ensureLeading.d.ts.map +0 -1
- package/dist/runtime/literals/ensureLeading.js +0 -15
- package/dist/runtime/literals/ensureSurround.d.ts +0 -13
- package/dist/runtime/literals/ensureSurround.d.ts.map +0 -1
- package/dist/runtime/literals/ensureSurround.js +0 -20
- package/dist/runtime/literals/ensureTrailing.d.ts +0 -9
- package/dist/runtime/literals/ensureTrailing.d.ts.map +0 -1
- package/dist/runtime/literals/ensureTrailing.js +0 -11
- package/dist/runtime/literals/identity.d.ts +0 -7
- package/dist/runtime/literals/identity.d.ts.map +0 -1
- package/dist/runtime/literals/identity.js +0 -9
- package/dist/runtime/literals/ifLowercase.d.ts +0 -15
- package/dist/runtime/literals/ifLowercase.d.ts.map +0 -1
- package/dist/runtime/literals/ifLowercase.js +0 -15
- package/dist/runtime/literals/ifUppercase.d.ts +0 -15
- package/dist/runtime/literals/ifUppercase.d.ts.map +0 -1
- package/dist/runtime/literals/ifUppercase.js +0 -19
- package/dist/runtime/literals/index.d.ts +0 -45
- package/dist/runtime/literals/index.d.ts.map +0 -1
- package/dist/runtime/literals/index.js +0 -52
- package/dist/runtime/literals/literal.d.ts +0 -42
- package/dist/runtime/literals/literal.d.ts.map +0 -1
- package/dist/runtime/literals/literal.js +0 -35
- package/dist/runtime/literals/lowercase.d.ts +0 -8
- package/dist/runtime/literals/lowercase.d.ts.map +0 -1
- package/dist/runtime/literals/lowercase.js +0 -9
- package/dist/runtime/literals/narrow.d.ts +0 -18
- package/dist/runtime/literals/narrow.d.ts.map +0 -1
- package/dist/runtime/literals/narrow.js +0 -20
- package/dist/runtime/literals/pathJoin.d.ts +0 -14
- package/dist/runtime/literals/pathJoin.d.ts.map +0 -1
- package/dist/runtime/literals/pathJoin.js +0 -19
- package/dist/runtime/literals/phone/asPhoneNumber.d.ts +0 -2
- package/dist/runtime/literals/phone/asPhoneNumber.d.ts.map +0 -1
- package/dist/runtime/literals/phone/asPhoneNumber.js +0 -62
- package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts +0 -3
- package/dist/runtime/literals/phone/getPhoneCountryCode.d.ts.map +0 -1
- package/dist/runtime/literals/phone/getPhoneCountryCode.js +0 -7
- package/dist/runtime/literals/phone/index.d.ts +0 -4
- package/dist/runtime/literals/phone/index.d.ts.map +0 -1
- package/dist/runtime/literals/phone/index.js +0 -3
- package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts +0 -3
- package/dist/runtime/literals/phone/removePhoneCountryCode.d.ts.map +0 -1
- package/dist/runtime/literals/phone/removePhoneCountryCode.js +0 -7
- package/dist/runtime/literals/pluralize.d.ts +0 -12
- package/dist/runtime/literals/pluralize.d.ts.map +0 -1
- package/dist/runtime/literals/pluralize.js +0 -59
- package/dist/runtime/literals/retainAfter.d.ts +0 -32
- package/dist/runtime/literals/retainAfter.d.ts.map +0 -1
- package/dist/runtime/literals/retainAfter.js +0 -47
- package/dist/runtime/literals/retainChars.d.ts +0 -16
- package/dist/runtime/literals/retainChars.d.ts.map +0 -1
- package/dist/runtime/literals/retainChars.js +0 -18
- package/dist/runtime/literals/retainUntil.d.ts +0 -32
- package/dist/runtime/literals/retainUntil.d.ts.map +0 -1
- package/dist/runtime/literals/retainUntil.js +0 -49
- package/dist/runtime/literals/retainWhile.d.ts +0 -10
- package/dist/runtime/literals/retainWhile.d.ts.map +0 -1
- package/dist/runtime/literals/retainWhile.js +0 -13
- package/dist/runtime/literals/rightWhitespace.d.ts +0 -9
- package/dist/runtime/literals/rightWhitespace.d.ts.map +0 -1
- package/dist/runtime/literals/rightWhitespace.js +0 -11
- package/dist/runtime/literals/split.d.ts +0 -13
- package/dist/runtime/literals/split.d.ts.map +0 -1
- package/dist/runtime/literals/split.js +0 -13
- package/dist/runtime/literals/stripAfter.d.ts +0 -15
- package/dist/runtime/literals/stripAfter.d.ts.map +0 -1
- package/dist/runtime/literals/stripAfter.js +0 -15
- package/dist/runtime/literals/stripBefore.d.ts +0 -15
- package/dist/runtime/literals/stripBefore.d.ts.map +0 -1
- package/dist/runtime/literals/stripBefore.js +0 -18
- package/dist/runtime/literals/stripChars.d.ts +0 -10
- package/dist/runtime/literals/stripChars.d.ts.map +0 -1
- package/dist/runtime/literals/stripChars.js +0 -12
- package/dist/runtime/literals/stripLeading.d.ts +0 -9
- package/dist/runtime/literals/stripLeading.d.ts.map +0 -1
- package/dist/runtime/literals/stripLeading.js +0 -16
- package/dist/runtime/literals/stripSurround.d.ts +0 -19
- package/dist/runtime/literals/stripSurround.d.ts.map +0 -1
- package/dist/runtime/literals/stripSurround.js +0 -30
- package/dist/runtime/literals/stripTrailing.d.ts +0 -9
- package/dist/runtime/literals/stripTrailing.d.ts.map +0 -1
- package/dist/runtime/literals/stripTrailing.js +0 -16
- package/dist/runtime/literals/stripUntil.d.ts +0 -9
- package/dist/runtime/literals/stripUntil.d.ts.map +0 -1
- package/dist/runtime/literals/stripUntil.js +0 -12
- package/dist/runtime/literals/stripWhile.d.ts +0 -10
- package/dist/runtime/literals/stripWhile.d.ts.map +0 -1
- package/dist/runtime/literals/stripWhile.js +0 -13
- package/dist/runtime/literals/surround.d.ts +0 -12
- package/dist/runtime/literals/surround.d.ts.map +0 -1
- package/dist/runtime/literals/surround.js +0 -12
- package/dist/runtime/literals/takeNumericCharacters.d.ts +0 -9
- package/dist/runtime/literals/takeNumericCharacters.d.ts.map +0 -1
- package/dist/runtime/literals/takeNumericCharacters.js +0 -12
- package/dist/runtime/literals/toCamelCase.d.ts +0 -13
- package/dist/runtime/literals/toCamelCase.d.ts.map +0 -1
- package/dist/runtime/literals/toCamelCase.js +0 -19
- package/dist/runtime/literals/toKebabCase.d.ts +0 -13
- package/dist/runtime/literals/toKebabCase.d.ts.map +0 -1
- package/dist/runtime/literals/toKebabCase.js +0 -20
- package/dist/runtime/literals/toLowercase.d.ts +0 -7
- package/dist/runtime/literals/toLowercase.d.ts.map +0 -1
- package/dist/runtime/literals/toLowercase.js +0 -12
- package/dist/runtime/literals/toNumericArray.d.ts +0 -3
- package/dist/runtime/literals/toNumericArray.d.ts.map +0 -1
- package/dist/runtime/literals/toNumericArray.js +0 -3
- package/dist/runtime/literals/toPascalCase.d.ts +0 -13
- package/dist/runtime/literals/toPascalCase.d.ts.map +0 -1
- package/dist/runtime/literals/toPascalCase.js +0 -20
- package/dist/runtime/literals/toSnakeCase.d.ts +0 -13
- package/dist/runtime/literals/toSnakeCase.d.ts.map +0 -1
- package/dist/runtime/literals/toSnakeCase.js +0 -20
- package/dist/runtime/literals/toString.d.ts +0 -9
- package/dist/runtime/literals/toString.d.ts.map +0 -1
- package/dist/runtime/literals/toString.js +0 -9
- package/dist/runtime/literals/toUppercase.d.ts +0 -7
- package/dist/runtime/literals/toUppercase.d.ts.map +0 -1
- package/dist/runtime/literals/toUppercase.js +0 -12
- package/dist/runtime/literals/trim.d.ts +0 -41
- package/dist/runtime/literals/trim.d.ts.map +0 -1
- package/dist/runtime/literals/trim.js +0 -49
- package/dist/runtime/literals/truncate.d.ts +0 -3
- package/dist/runtime/literals/truncate.d.ts.map +0 -1
- package/dist/runtime/literals/truncate.js +0 -8
- package/dist/runtime/literals/tuple.d.ts +0 -13
- package/dist/runtime/literals/tuple.d.ts.map +0 -1
- package/dist/runtime/literals/tuple.js +0 -17
- package/dist/runtime/literals/uncapitalize.d.ts +0 -8
- package/dist/runtime/literals/uncapitalize.d.ts.map +0 -1
- package/dist/runtime/literals/uncapitalize.js +0 -9
- package/dist/runtime/literals/unset.d.ts +0 -8
- package/dist/runtime/literals/unset.d.ts.map +0 -1
- package/dist/runtime/literals/unset.js +0 -14
- package/dist/runtime/literals/uppercase.d.ts +0 -8
- package/dist/runtime/literals/uppercase.d.ts.map +0 -1
- package/dist/runtime/literals/uppercase.js +0 -9
- package/dist/runtime/literals/widen.d.ts +0 -9
- package/dist/runtime/literals/widen.d.ts.map +0 -1
- package/dist/runtime/literals/widen.js +0 -9
- package/dist/runtime/meta/index.d.ts +0 -3
- package/dist/runtime/meta/index.d.ts.map +0 -1
- package/dist/runtime/meta/index.js +0 -2
- package/dist/runtime/meta/urlMeta.d.ts +0 -61
- package/dist/runtime/meta/urlMeta.d.ts.map +0 -1
- package/dist/runtime/meta/urlMeta.js +0 -74
- package/dist/runtime/meta/youtube-meta.d.ts +0 -45
- package/dist/runtime/meta/youtube-meta.d.ts.map +0 -1
- package/dist/runtime/meta/youtube-meta.js +0 -91
- package/dist/runtime/queues/fifo.d.ts +0 -3
- package/dist/runtime/queues/fifo.d.ts.map +0 -1
- package/dist/runtime/queues/fifo.js +0 -40
- package/dist/runtime/queues/index.d.ts +0 -3
- package/dist/runtime/queues/index.d.ts.map +0 -1
- package/dist/runtime/queues/index.js +0 -2
- package/dist/runtime/queues/lifo.d.ts +0 -3
- package/dist/runtime/queues/lifo.d.ts.map +0 -1
- package/dist/runtime/queues/lifo.js +0 -34
- package/dist/runtime/runtime-types/asDefineObject.d.ts +0 -4
- package/dist/runtime/runtime-types/asDefineObject.d.ts.map +0 -1
- package/dist/runtime/runtime-types/asDefineObject.js +0 -20
- package/dist/runtime/runtime-types/asToken.d.ts +0 -34
- package/dist/runtime/runtime-types/asToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/asToken.js +0 -115
- package/dist/runtime/runtime-types/asType.d.ts +0 -18
- package/dist/runtime/runtime-types/asType.d.ts.map +0 -1
- package/dist/runtime/runtime-types/asType.js +0 -31
- package/dist/runtime/runtime-types/choices.d.ts +0 -2
- package/dist/runtime/runtime-types/choices.d.ts.map +0 -1
- package/dist/runtime/runtime-types/choices.js +0 -76
- package/dist/runtime/runtime-types/index.d.ts +0 -8
- package/dist/runtime/runtime-types/index.d.ts.map +0 -1
- package/dist/runtime/runtime-types/index.js +0 -7
- package/dist/runtime/runtime-types/ip6Prefix.d.ts +0 -3
- package/dist/runtime/runtime-types/ip6Prefix.d.ts.map +0 -1
- package/dist/runtime/runtime-types/ip6Prefix.js +0 -17
- package/dist/runtime/runtime-types/list.d.ts +0 -31
- package/dist/runtime/runtime-types/list.d.ts.map +0 -1
- package/dist/runtime/runtime-types/list.js +0 -36
- package/dist/runtime/runtime-types/rec.d.ts +0 -3
- package/dist/runtime/runtime-types/rec.d.ts.map +0 -1
- package/dist/runtime/runtime-types/rec.js +0 -3
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts +0 -7
- package/dist/runtime/runtime-types/shape-helpers/addToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/addToken.js +0 -5
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts +0 -7
- package/dist/runtime/runtime-types/shape-helpers/atomics.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/atomics.js +0 -13
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts +0 -14
- package/dist/runtime/runtime-types/shape-helpers/functions.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/functions.js +0 -20
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts +0 -9
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/getTokenData.js +0 -11
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts +0 -8
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/getTokenName.js +0 -10
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts +0 -4
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/literal-containers.js +0 -9
- package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts +0 -12
- package/dist/runtime/runtime-types/shape-helpers/regexToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/regexToken.js +0 -39
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts +0 -14
- package/dist/runtime/runtime-types/shape-helpers/singletons.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/singletons.js +0 -49
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts +0 -8
- package/dist/runtime/runtime-types/shape-helpers/union.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/union.js +0 -11
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts +0 -7
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape-helpers/wide-containers.js +0 -19
- package/dist/runtime/runtime-types/shape.d.ts +0 -18
- package/dist/runtime/runtime-types/shape.d.ts.map +0 -1
- package/dist/runtime/runtime-types/shape.js +0 -69
- package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts +0 -30
- package/dist/runtime/runtime-types/tokens/createTypeToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/tokens/createTypeToken.js +0 -29
- package/dist/runtime/runtime-types/tokens/index.d.ts +0 -3
- package/dist/runtime/runtime-types/tokens/index.d.ts.map +0 -1
- package/dist/runtime/runtime-types/tokens/index.js +0 -2
- package/dist/runtime/runtime-types/tokens/simpleToken.d.ts +0 -51
- package/dist/runtime/runtime-types/tokens/simpleToken.d.ts.map +0 -1
- package/dist/runtime/runtime-types/tokens/simpleToken.js +0 -64
- package/dist/runtime/sets/index.d.ts +0 -2
- package/dist/runtime/sets/index.d.ts.map +0 -1
- package/dist/runtime/sets/index.js +0 -1
- package/dist/runtime/sets/uniqueKeys.d.ts +0 -9
- package/dist/runtime/sets/uniqueKeys.d.ts.map +0 -1
- package/dist/runtime/sets/uniqueKeys.js +0 -32
- package/dist/runtime/tsconfig.tsbuildinfo +0 -1
- package/dist/runtime/type-conversion/asChars.d.ts +0 -8
- package/dist/runtime/type-conversion/asChars.d.ts.map +0 -1
- package/dist/runtime/type-conversion/asChars.js +0 -8
- package/dist/runtime/type-conversion/asRecord.d.ts +0 -10
- package/dist/runtime/type-conversion/asRecord.d.ts.map +0 -1
- package/dist/runtime/type-conversion/asRecord.js +0 -10
- package/dist/runtime/type-conversion/asString.d.ts +0 -20
- package/dist/runtime/type-conversion/asString.d.ts.map +0 -1
- package/dist/runtime/type-conversion/asString.js +0 -29
- package/dist/runtime/type-conversion/csv.d.ts +0 -17
- package/dist/runtime/type-conversion/csv.d.ts.map +0 -1
- package/dist/runtime/type-conversion/csv.js +0 -31
- package/dist/runtime/type-conversion/index.d.ts +0 -19
- package/dist/runtime/type-conversion/index.d.ts.map +0 -1
- package/dist/runtime/type-conversion/index.js +0 -18
- package/dist/runtime/type-conversion/intersect.d.ts +0 -9
- package/dist/runtime/type-conversion/intersect.d.ts.map +0 -1
- package/dist/runtime/type-conversion/intersect.js +0 -11
- package/dist/runtime/type-conversion/ip6GroupExpansion.d.ts +0 -14
- package/dist/runtime/type-conversion/ip6GroupExpansion.d.ts.map +0 -1
- package/dist/runtime/type-conversion/ip6GroupExpansion.js +0 -15
- package/dist/runtime/type-conversion/json.d.ts +0 -18
- package/dist/runtime/type-conversion/json.d.ts.map +0 -1
- package/dist/runtime/type-conversion/json.js +0 -27
- package/dist/runtime/type-conversion/lookupCountry.d.ts +0 -32
- package/dist/runtime/type-conversion/lookupCountry.d.ts.map +0 -1
- package/dist/runtime/type-conversion/lookupCountry.js +0 -97
- package/dist/runtime/type-conversion/mergeObjects.d.ts +0 -3
- package/dist/runtime/type-conversion/mergeObjects.d.ts.map +0 -1
- package/dist/runtime/type-conversion/mergeObjects.js +0 -15
- package/dist/runtime/type-conversion/mergeScalars.d.ts +0 -9
- package/dist/runtime/type-conversion/mergeScalars.d.ts.map +0 -1
- package/dist/runtime/type-conversion/mergeScalars.js +0 -10
- package/dist/runtime/type-conversion/mergeTuples.d.ts +0 -10
- package/dist/runtime/type-conversion/mergeTuples.d.ts.map +0 -1
- package/dist/runtime/type-conversion/mergeTuples.js +0 -12
- package/dist/runtime/type-conversion/mutable.d.ts +0 -3
- package/dist/runtime/type-conversion/mutable.d.ts.map +0 -1
- package/dist/runtime/type-conversion/mutable.js +0 -3
- package/dist/runtime/type-conversion/never.d.ts +0 -11
- package/dist/runtime/type-conversion/never.d.ts.map +0 -1
- package/dist/runtime/type-conversion/never.js +0 -12
- package/dist/runtime/type-conversion/optional.d.ts +0 -25
- package/dist/runtime/type-conversion/optional.d.ts.map +0 -1
- package/dist/runtime/type-conversion/optional.js +0 -29
- package/dist/runtime/type-conversion/stripParenthesis.d.ts +0 -9
- package/dist/runtime/type-conversion/stripParenthesis.d.ts.map +0 -1
- package/dist/runtime/type-conversion/stripParenthesis.js +0 -10
- package/dist/runtime/type-conversion/toNumber.d.ts +0 -11
- package/dist/runtime/type-conversion/toNumber.d.ts.map +0 -1
- package/dist/runtime/type-conversion/toNumber.js +0 -26
- package/dist/runtime/type-conversion/tw-conversion.d.ts +0 -13
- package/dist/runtime/type-conversion/tw-conversion.d.ts.map +0 -1
- package/dist/runtime/type-conversion/tw-conversion.js +0 -20
- package/dist/runtime/type-conversion/union.d.ts +0 -10
- package/dist/runtime/type-conversion/union.d.ts.map +0 -1
- package/dist/runtime/type-conversion/union.js +0 -8
- package/dist/runtime/type-conversion/unionize.d.ts +0 -9
- package/dist/runtime/type-conversion/unionize.d.ts.map +0 -1
- package/dist/runtime/type-conversion/unionize.js +0 -11
- package/dist/runtime/type-guards/api-tg.d.ts +0 -33
- package/dist/runtime/type-guards/api-tg.d.ts.map +0 -1
- package/dist/runtime/type-guards/api-tg.js +0 -38
- package/dist/runtime/type-guards/date-time/index.d.ts +0 -14
- package/dist/runtime/type-guards/date-time/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/index.js +0 -13
- package/dist/runtime/type-guards/date-time/isDate.d.ts +0 -5
- package/dist/runtime/type-guards/date-time/isDate.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isDate.js +0 -6
- package/dist/runtime/type-guards/date-time/isDateTime.d.ts +0 -15
- package/dist/runtime/type-guards/date-time/isDateTime.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isDateTime.js +0 -56
- package/dist/runtime/type-guards/date-time/isIsoDate.d.ts +0 -23
- package/dist/runtime/type-guards/date-time/isIsoDate.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isIsoDate.js +0 -53
- package/dist/runtime/type-guards/date-time/isIsoTime.d.ts +0 -8
- package/dist/runtime/type-guards/date-time/isIsoTime.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isIsoTime.js +0 -25
- package/dist/runtime/type-guards/date-time/isIsoYear.d.ts +0 -6
- package/dist/runtime/type-guards/date-time/isIsoYear.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isIsoYear.js +0 -11
- package/dist/runtime/type-guards/date-time/isLuxonDateTime.d.ts +0 -7
- package/dist/runtime/type-guards/date-time/isLuxonDateTime.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isLuxonDateTime.js +0 -25
- package/dist/runtime/type-guards/date-time/isMoment.d.ts +0 -7
- package/dist/runtime/type-guards/date-time/isMoment.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isMoment.js +0 -25
- package/dist/runtime/type-guards/date-time/isThisMonth.d.ts +0 -6
- package/dist/runtime/type-guards/date-time/isThisMonth.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isThisMonth.js +0 -40
- package/dist/runtime/type-guards/date-time/isThisWeek.d.ts +0 -10
- package/dist/runtime/type-guards/date-time/isThisWeek.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isThisWeek.js +0 -18
- package/dist/runtime/type-guards/date-time/isThisYear.d.ts +0 -15
- package/dist/runtime/type-guards/date-time/isThisYear.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isThisYear.js +0 -28
- package/dist/runtime/type-guards/date-time/isToday.d.ts +0 -12
- package/dist/runtime/type-guards/date-time/isToday.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isToday.js +0 -25
- package/dist/runtime/type-guards/date-time/isTomorrow.d.ts +0 -11
- package/dist/runtime/type-guards/date-time/isTomorrow.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isTomorrow.js +0 -24
- package/dist/runtime/type-guards/date-time/isYesterday.d.ts +0 -11
- package/dist/runtime/type-guards/date-time/isYesterday.d.ts.map +0 -1
- package/dist/runtime/type-guards/date-time/isYesterday.js +0 -24
- package/dist/runtime/type-guards/geo/index.d.ts +0 -4
- package/dist/runtime/type-guards/geo/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/geo/index.js +0 -3
- package/dist/runtime/type-guards/geo/isIso3166Alpha2.d.ts +0 -46
- package/dist/runtime/type-guards/geo/isIso3166Alpha2.d.ts.map +0 -1
- package/dist/runtime/type-guards/geo/isIso3166Alpha2.js +0 -69
- package/dist/runtime/type-guards/geo/isUsState.d.ts +0 -4
- package/dist/runtime/type-guards/geo/isUsState.d.ts.map +0 -1
- package/dist/runtime/type-guards/geo/isUsState.js +0 -10
- package/dist/runtime/type-guards/geo/isZipCode.d.ts +0 -23
- package/dist/runtime/type-guards/geo/isZipCode.d.ts.map +0 -1
- package/dist/runtime/type-guards/geo/isZipCode.js +0 -40
- package/dist/runtime/type-guards/hasDefaultValue.d.ts +0 -13
- package/dist/runtime/type-guards/hasDefaultValue.d.ts.map +0 -1
- package/dist/runtime/type-guards/hasDefaultValue.js +0 -14
- package/dist/runtime/type-guards/hasErrorConditions.d.ts +0 -3
- package/dist/runtime/type-guards/hasErrorConditions.d.ts.map +0 -1
- package/dist/runtime/type-guards/hasErrorConditions.js +0 -4
- package/dist/runtime/type-guards/hasIndexOf.d.ts +0 -9
- package/dist/runtime/type-guards/hasIndexOf.d.ts.map +0 -1
- package/dist/runtime/type-guards/hasIndexOf.js +0 -17
- package/dist/runtime/type-guards/hasKeys.d.ts +0 -15
- package/dist/runtime/type-guards/hasKeys.d.ts.map +0 -1
- package/dist/runtime/type-guards/hasKeys.js +0 -26
- package/dist/runtime/type-guards/hasWhitespace.d.ts +0 -7
- package/dist/runtime/type-guards/hasWhitespace.d.ts.map +0 -1
- package/dist/runtime/type-guards/hasWhitespace.js +0 -11
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts +0 -10
- package/dist/runtime/type-guards/higher-order/endsWith.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/endsWith.js +0 -14
- package/dist/runtime/type-guards/higher-order/index.d.ts +0 -8
- package/dist/runtime/type-guards/higher-order/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/index.js +0 -7
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts +0 -12
- package/dist/runtime/type-guards/higher-order/isEqual.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/isEqual.js +0 -11
- package/dist/runtime/type-guards/higher-order/isLength.d.ts +0 -14
- package/dist/runtime/type-guards/higher-order/isLength.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/isLength.js +0 -22
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts +0 -13
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/isSameTypeOf.js +0 -13
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts +0 -7
- package/dist/runtime/type-guards/higher-order/isTuple.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/isTuple.js +0 -12
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts +0 -12
- package/dist/runtime/type-guards/higher-order/isTypeOf.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/isTypeOf.js +0 -11
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts +0 -26
- package/dist/runtime/type-guards/higher-order/startsWith.d.ts.map +0 -1
- package/dist/runtime/type-guards/higher-order/startsWith.js +0 -23
- package/dist/runtime/type-guards/html/index.d.ts +0 -2
- package/dist/runtime/type-guards/html/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/html/index.js +0 -1
- package/dist/runtime/type-guards/html/isHtmlElement.d.ts +0 -7
- package/dist/runtime/type-guards/html/isHtmlElement.d.ts.map +0 -1
- package/dist/runtime/type-guards/html/isHtmlElement.js +0 -9
- package/dist/runtime/type-guards/index.d.ts +0 -61
- package/dist/runtime/type-guards/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/index.js +0 -60
- package/dist/runtime/type-guards/isAlpha.d.ts +0 -9
- package/dist/runtime/type-guards/isAlpha.d.ts.map +0 -1
- package/dist/runtime/type-guards/isAlpha.js +0 -11
- package/dist/runtime/type-guards/isArray.d.ts +0 -7
- package/dist/runtime/type-guards/isArray.d.ts.map +0 -1
- package/dist/runtime/type-guards/isArray.js +0 -8
- package/dist/runtime/type-guards/isBoolean.d.ts +0 -7
- package/dist/runtime/type-guards/isBoolean.d.ts.map +0 -1
- package/dist/runtime/type-guards/isBoolean.js +0 -8
- package/dist/runtime/type-guards/isBooleanLike.d.ts +0 -9
- package/dist/runtime/type-guards/isBooleanLike.d.ts.map +0 -1
- package/dist/runtime/type-guards/isBooleanLike.js +0 -11
- package/dist/runtime/type-guards/isConstant.d.ts +0 -9
- package/dist/runtime/type-guards/isConstant.d.ts.map +0 -1
- package/dist/runtime/type-guards/isConstant.js +0 -14
- package/dist/runtime/type-guards/isContainer.d.ts +0 -5
- package/dist/runtime/type-guards/isContainer.d.ts.map +0 -1
- package/dist/runtime/type-guards/isContainer.js +0 -6
- package/dist/runtime/type-guards/isCssAspectRatio.d.ts +0 -7
- package/dist/runtime/type-guards/isCssAspectRatio.d.ts.map +0 -1
- package/dist/runtime/type-guards/isCssAspectRatio.js +0 -12
- package/dist/runtime/type-guards/isDefined.d.ts +0 -8
- package/dist/runtime/type-guards/isDefined.d.ts.map +0 -1
- package/dist/runtime/type-guards/isDefined.js +0 -9
- package/dist/runtime/type-guards/isDoneFn.d.ts +0 -9
- package/dist/runtime/type-guards/isDoneFn.d.ts.map +0 -1
- package/dist/runtime/type-guards/isDoneFn.js +0 -10
- package/dist/runtime/type-guards/isEmail.d.ts +0 -14
- package/dist/runtime/type-guards/isEmail.d.ts.map +0 -1
- package/dist/runtime/type-guards/isEmail.js +0 -26
- package/dist/runtime/type-guards/isErrorCondition.d.ts +0 -8
- package/dist/runtime/type-guards/isErrorCondition.d.ts.map +0 -1
- package/dist/runtime/type-guards/isErrorCondition.js +0 -13
- package/dist/runtime/type-guards/isFalse.d.ts +0 -2
- package/dist/runtime/type-guards/isFalse.d.ts.map +0 -1
- package/dist/runtime/type-guards/isFalse.js +0 -3
- package/dist/runtime/type-guards/isFalsy.d.ts +0 -9
- package/dist/runtime/type-guards/isFalsy.d.ts.map +0 -1
- package/dist/runtime/type-guards/isFalsy.js +0 -10
- package/dist/runtime/type-guards/isFnWithParams.d.ts +0 -9
- package/dist/runtime/type-guards/isFnWithParams.d.ts.map +0 -1
- package/dist/runtime/type-guards/isFnWithParams.js +0 -9
- package/dist/runtime/type-guards/isFunction.d.ts +0 -10
- package/dist/runtime/type-guards/isFunction.d.ts.map +0 -1
- package/dist/runtime/type-guards/isFunction.js +0 -12
- package/dist/runtime/type-guards/isHexadecimal.d.ts +0 -8
- package/dist/runtime/type-guards/isHexadecimal.d.ts.map +0 -1
- package/dist/runtime/type-guards/isHexadecimal.js +0 -13
- package/dist/runtime/type-guards/isIndexable.d.ts +0 -8
- package/dist/runtime/type-guards/isIndexable.d.ts.map +0 -1
- package/dist/runtime/type-guards/isIndexable.js +0 -11
- package/dist/runtime/type-guards/isInlineSvg.d.ts +0 -9
- package/dist/runtime/type-guards/isInlineSvg.d.ts.map +0 -1
- package/dist/runtime/type-guards/isInlineSvg.js +0 -10
- package/dist/runtime/type-guards/isLeftRight.d.ts +0 -8
- package/dist/runtime/type-guards/isLeftRight.d.ts.map +0 -1
- package/dist/runtime/type-guards/isLeftRight.js +0 -9
- package/dist/runtime/type-guards/isNever.d.ts +0 -8
- package/dist/runtime/type-guards/isNever.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNever.js +0 -10
- package/dist/runtime/type-guards/isNotNull.d.ts +0 -8
- package/dist/runtime/type-guards/isNotNull.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNotNull.js +0 -8
- package/dist/runtime/type-guards/isNothing.d.ts +0 -3
- package/dist/runtime/type-guards/isNothing.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNothing.js +0 -3
- package/dist/runtime/type-guards/isNull.d.ts +0 -9
- package/dist/runtime/type-guards/isNull.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNull.js +0 -10
- package/dist/runtime/type-guards/isNumber.d.ts +0 -7
- package/dist/runtime/type-guards/isNumber.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNumber.js +0 -8
- package/dist/runtime/type-guards/isNumericArray.d.ts +0 -5
- package/dist/runtime/type-guards/isNumericArray.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNumericArray.js +0 -7
- package/dist/runtime/type-guards/isNumericString.d.ts +0 -21
- package/dist/runtime/type-guards/isNumericString.d.ts.map +0 -1
- package/dist/runtime/type-guards/isNumericString.js +0 -29
- package/dist/runtime/type-guards/isObject.d.ts +0 -12
- package/dist/runtime/type-guards/isObject.d.ts.map +0 -1
- package/dist/runtime/type-guards/isObject.js +0 -11
- package/dist/runtime/type-guards/isPhoneNumber.d.ts +0 -14
- package/dist/runtime/type-guards/isPhoneNumber.d.ts.map +0 -1
- package/dist/runtime/type-guards/isPhoneNumber.js +0 -31
- package/dist/runtime/type-guards/isReadonlyArray.d.ts +0 -13
- package/dist/runtime/type-guards/isReadonlyArray.d.ts.map +0 -1
- package/dist/runtime/type-guards/isReadonlyArray.js +0 -13
- package/dist/runtime/type-guards/isRef.d.ts +0 -8
- package/dist/runtime/type-guards/isRef.d.ts.map +0 -1
- package/dist/runtime/type-guards/isRef.js +0 -11
- package/dist/runtime/type-guards/isRegExp.d.ts +0 -17
- package/dist/runtime/type-guards/isRegExp.d.ts.map +0 -1
- package/dist/runtime/type-guards/isRegExp.js +0 -32
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts +0 -8
- package/dist/runtime/type-guards/isRuntimeUnion.d.ts.map +0 -1
- package/dist/runtime/type-guards/isRuntimeUnion.js +0 -8
- package/dist/runtime/type-guards/isScalar.d.ts +0 -8
- package/dist/runtime/type-guards/isScalar.d.ts.map +0 -1
- package/dist/runtime/type-guards/isScalar.js +0 -12
- package/dist/runtime/type-guards/isSpecificConstant.d.ts +0 -8
- package/dist/runtime/type-guards/isSpecificConstant.d.ts.map +0 -1
- package/dist/runtime/type-guards/isSpecificConstant.js +0 -11
- package/dist/runtime/type-guards/isString.d.ts +0 -11
- package/dist/runtime/type-guards/isString.d.ts.map +0 -1
- package/dist/runtime/type-guards/isString.js +0 -12
- package/dist/runtime/type-guards/isStringArray.d.ts +0 -5
- package/dist/runtime/type-guards/isStringArray.d.ts.map +0 -1
- package/dist/runtime/type-guards/isStringArray.js +0 -7
- package/dist/runtime/type-guards/isSymbol.d.ts +0 -8
- package/dist/runtime/type-guards/isSymbol.d.ts.map +0 -1
- package/dist/runtime/type-guards/isSymbol.js +0 -9
- package/dist/runtime/type-guards/isThenable.d.ts +0 -6
- package/dist/runtime/type-guards/isThenable.d.ts.map +0 -1
- package/dist/runtime/type-guards/isThenable.js +0 -7
- package/dist/runtime/type-guards/isTrimmable.d.ts +0 -7
- package/dist/runtime/type-guards/isTrimmable.d.ts.map +0 -1
- package/dist/runtime/type-guards/isTrimmable.js +0 -9
- package/dist/runtime/type-guards/isTrue.d.ts +0 -7
- package/dist/runtime/type-guards/isTrue.d.ts.map +0 -1
- package/dist/runtime/type-guards/isTrue.js +0 -8
- package/dist/runtime/type-guards/isTruthy.d.ts +0 -9
- package/dist/runtime/type-guards/isTruthy.d.ts.map +0 -1
- package/dist/runtime/type-guards/isTruthy.js +0 -10
- package/dist/runtime/type-guards/isTypeToken.d.ts +0 -8
- package/dist/runtime/type-guards/isTypeToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/isTypeToken.js +0 -14
- package/dist/runtime/type-guards/isTypeTuple.d.ts +0 -8
- package/dist/runtime/type-guards/isTypeTuple.d.ts.map +0 -1
- package/dist/runtime/type-guards/isTypeTuple.js +0 -8
- package/dist/runtime/type-guards/isUndefined.d.ts +0 -7
- package/dist/runtime/type-guards/isUndefined.d.ts.map +0 -1
- package/dist/runtime/type-guards/isUndefined.js +0 -8
- package/dist/runtime/type-guards/isUnset.d.ts +0 -18
- package/dist/runtime/type-guards/isUnset.d.ts.map +0 -1
- package/dist/runtime/type-guards/isUnset.js +0 -23
- package/dist/runtime/type-guards/isUrl.d.ts +0 -25
- package/dist/runtime/type-guards/isUrl.d.ts.map +0 -1
- package/dist/runtime/type-guards/isUrl.js +0 -35
- package/dist/runtime/type-guards/metrics/index.d.ts +0 -3
- package/dist/runtime/type-guards/metrics/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/metrics/index.js +0 -2
- package/dist/runtime/type-guards/metrics/isMetric.d.ts +0 -23
- package/dist/runtime/type-guards/metrics/isMetric.d.ts.map +0 -1
- package/dist/runtime/type-guards/metrics/isMetric.js +0 -76
- package/dist/runtime/type-guards/metrics/isUom.d.ts +0 -23
- package/dist/runtime/type-guards/metrics/isUom.d.ts.map +0 -1
- package/dist/runtime/type-guards/metrics/isUom.js +0 -71
- package/dist/runtime/type-guards/network-tg.d.ts +0 -53
- package/dist/runtime/type-guards/network-tg.d.ts.map +0 -1
- package/dist/runtime/type-guards/network-tg.js +0 -88
- package/dist/runtime/type-guards/tokens/index.d.ts +0 -8
- package/dist/runtime/type-guards/tokens/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/index.js +0 -7
- package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts +0 -9
- package/dist/runtime/type-guards/tokens/isAtomicToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isAtomicToken.js +0 -12
- package/dist/runtime/type-guards/tokens/isContainerToken.d.ts +0 -21
- package/dist/runtime/type-guards/tokens/isContainerToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isContainerToken.js +0 -48
- package/dist/runtime/type-guards/tokens/isDefineObject.d.ts +0 -6
- package/dist/runtime/type-guards/tokens/isDefineObject.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isDefineObject.js +0 -12
- package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts +0 -4
- package/dist/runtime/type-guards/tokens/isFunctionToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isFunctionToken.js +0 -7
- package/dist/runtime/type-guards/tokens/isShapeCallback.d.ts +0 -6
- package/dist/runtime/type-guards/tokens/isShapeCallback.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isShapeCallback.js +0 -7
- package/dist/runtime/type-guards/tokens/isShapeToken.d.ts +0 -9
- package/dist/runtime/type-guards/tokens/isShapeToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isShapeToken.js +0 -21
- package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts +0 -53
- package/dist/runtime/type-guards/tokens/isSimpleToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isSimpleToken.js +0 -74
- package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts +0 -9
- package/dist/runtime/type-guards/tokens/isSingletonToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isSingletonToken.js +0 -12
- package/dist/runtime/type-guards/tokens/isTupleToken.d.ts +0 -1
- package/dist/runtime/type-guards/tokens/isTupleToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isTupleToken.js +0 -1
- package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts +0 -1
- package/dist/runtime/type-guards/tokens/isUnionSetToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isUnionSetToken.js +0 -1
- package/dist/runtime/type-guards/tokens/isUnionToken.d.ts +0 -9
- package/dist/runtime/type-guards/tokens/isUnionToken.d.ts.map +0 -1
- package/dist/runtime/type-guards/tokens/isUnionToken.js +0 -12
- package/dist/runtime/type-guards/tw/index.d.ts +0 -2
- package/dist/runtime/type-guards/tw/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/tw/index.js +0 -1
- package/dist/runtime/type-guards/tw/tw-color.d.ts +0 -79
- package/dist/runtime/type-guards/tw/tw-color.d.ts.map +0 -1
- package/dist/runtime/type-guards/tw/tw-color.js +0 -105
- package/dist/runtime/type-guards/urls/Social.d.ts +0 -15
- package/dist/runtime/type-guards/urls/Social.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/Social.js +0 -21
- package/dist/runtime/type-guards/urls/books.d.ts +0 -1
- package/dist/runtime/type-guards/urls/books.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/books.js +0 -1
- package/dist/runtime/type-guards/urls/index.d.ts +0 -7
- package/dist/runtime/type-guards/urls/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/index.js +0 -6
- package/dist/runtime/type-guards/urls/news/australian.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/australian.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/australian.js +0 -9
- package/dist/runtime/type-guards/urls/news/belgium.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/belgium.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/belgium.js +0 -9
- package/dist/runtime/type-guards/urls/news/canadian.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/canadian.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/canadian.js +0 -9
- package/dist/runtime/type-guards/urls/news/chinese.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/chinese.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/chinese.js +0 -9
- package/dist/runtime/type-guards/urls/news/danish.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/danish.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/danish.js +0 -9
- package/dist/runtime/type-guards/urls/news/dutch.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/dutch.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/dutch.js +0 -9
- package/dist/runtime/type-guards/urls/news/french.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/french.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/french.js +0 -9
- package/dist/runtime/type-guards/urls/news/german.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/german.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/german.js +0 -9
- package/dist/runtime/type-guards/urls/news/index.d.ts +0 -30
- package/dist/runtime/type-guards/urls/news/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/index.js +0 -48
- package/dist/runtime/type-guards/urls/news/indian.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/indian.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/indian.js +0 -9
- package/dist/runtime/type-guards/urls/news/italian.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/italian.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/italian.js +0 -9
- package/dist/runtime/type-guards/urls/news/japanese.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/japanese.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/japanese.js +0 -9
- package/dist/runtime/type-guards/urls/news/mexican.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/mexican.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/mexican.js +0 -9
- package/dist/runtime/type-guards/urls/news/norwegian.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/norwegian.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/norwegian.js +0 -9
- package/dist/runtime/type-guards/urls/news/south-korean.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/south-korean.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/south-korean.js +0 -9
- package/dist/runtime/type-guards/urls/news/spanish.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/spanish.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/spanish.js +0 -9
- package/dist/runtime/type-guards/urls/news/swiss.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/swiss.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/swiss.js +0 -9
- package/dist/runtime/type-guards/urls/news/turkish.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/turkish.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/turkish.js +0 -9
- package/dist/runtime/type-guards/urls/news/uk.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/uk.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/uk.js +0 -9
- package/dist/runtime/type-guards/urls/news/us.d.ts +0 -6
- package/dist/runtime/type-guards/urls/news/us.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/news/us.js +0 -9
- package/dist/runtime/type-guards/urls/repos/bitbucket.d.ts +0 -9
- package/dist/runtime/type-guards/urls/repos/bitbucket.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/repos/bitbucket.js +0 -13
- package/dist/runtime/type-guards/urls/repos/codeCommit.d.ts +0 -9
- package/dist/runtime/type-guards/urls/repos/codeCommit.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/repos/codeCommit.js +0 -13
- package/dist/runtime/type-guards/urls/repos/github.d.ts +0 -95
- package/dist/runtime/type-guards/urls/repos/github.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/repos/github.js +0 -144
- package/dist/runtime/type-guards/urls/repos/index.d.ts +0 -12
- package/dist/runtime/type-guards/urls/repos/index.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/repos/index.js +0 -15
- package/dist/runtime/type-guards/urls/repos/isSemanticVersion.d.ts +0 -21
- package/dist/runtime/type-guards/urls/repos/isSemanticVersion.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/repos/isSemanticVersion.js +0 -30
- package/dist/runtime/type-guards/urls/retail.d.ts +0 -112
- package/dist/runtime/type-guards/urls/retail.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/retail.js +0 -156
- package/dist/runtime/type-guards/urls/youtube.d.ts +0 -72
- package/dist/runtime/type-guards/urls/youtube.d.ts.map +0 -1
- package/dist/runtime/type-guards/urls/youtube.js +0 -122
- package/dist/runtime/vuejs/asVueRef.d.ts +0 -15
- package/dist/runtime/vuejs/asVueRef.d.ts.map +0 -1
- package/dist/runtime/vuejs/asVueRef.js +0 -16
- package/dist/runtime/vuejs/index.d.ts +0 -2
- package/dist/runtime/vuejs/index.d.ts.map +0 -1
- package/dist/runtime/vuejs/index.js +0 -1
- package/dist/types/api/api.d.ts +0 -158
- package/dist/types/api/api.d.ts.map +0 -1
- package/dist/types/api/api.js +0 -1
- package/dist/types/api/index.d.ts +0 -2
- package/dist/types/api/index.d.ts.map +0 -1
- package/dist/types/api/index.js +0 -1
- package/dist/types/base-types/AnyArray.d.ts +0 -7
- package/dist/types/base-types/AnyArray.d.ts.map +0 -1
- package/dist/types/base-types/AnyArray.js +0 -1
- package/dist/types/base-types/AnyObject.d.ts +0 -9
- package/dist/types/base-types/AnyObject.d.ts.map +0 -1
- package/dist/types/base-types/AnyObject.js +0 -1
- package/dist/types/base-types/Container.d.ts +0 -12
- package/dist/types/base-types/Container.d.ts.map +0 -1
- package/dist/types/base-types/Container.js +0 -1
- package/dist/types/base-types/Defined.d.ts +0 -8
- package/dist/types/base-types/Defined.d.ts.map +0 -1
- package/dist/types/base-types/Defined.js +0 -1
- package/dist/types/base-types/Dictionary.d.ts +0 -11
- package/dist/types/base-types/Dictionary.d.ts.map +0 -1
- package/dist/types/base-types/Dictionary.js +0 -1
- package/dist/types/base-types/Digital.d.ts +0 -26
- package/dist/types/base-types/Digital.d.ts.map +0 -1
- package/dist/types/base-types/Digital.js +0 -1
- package/dist/types/base-types/EmptyObject.d.ts +0 -17
- package/dist/types/base-types/EmptyObject.d.ts.map +0 -1
- package/dist/types/base-types/EmptyObject.js +0 -1
- package/dist/types/base-types/FalsyValue.d.ts +0 -9
- package/dist/types/base-types/FalsyValue.d.ts.map +0 -1
- package/dist/types/base-types/FalsyValue.js +0 -1
- package/dist/types/base-types/Indexable.d.ts +0 -9
- package/dist/types/base-types/Indexable.d.ts.map +0 -1
- package/dist/types/base-types/Indexable.js +0 -1
- package/dist/types/base-types/IndexableObject.d.ts +0 -21
- package/dist/types/base-types/IndexableObject.d.ts.map +0 -1
- package/dist/types/base-types/IndexableObject.js +0 -1
- package/dist/types/base-types/LikeRegExp.d.ts +0 -9
- package/dist/types/base-types/LikeRegExp.d.ts.map +0 -1
- package/dist/types/base-types/LikeRegExp.js +0 -1
- package/dist/types/base-types/List.d.ts +0 -319
- package/dist/types/base-types/List.d.ts.map +0 -1
- package/dist/types/base-types/List.js +0 -1
- package/dist/types/base-types/NarrowObject.d.ts +0 -11
- package/dist/types/base-types/NarrowObject.d.ts.map +0 -1
- package/dist/types/base-types/NarrowObject.js +0 -1
- package/dist/types/base-types/NonArray.d.ts +0 -8
- package/dist/types/base-types/NonArray.d.ts.map +0 -1
- package/dist/types/base-types/NonArray.js +0 -1
- package/dist/types/base-types/NotNull.d.ts +0 -8
- package/dist/types/base-types/NotNull.d.ts.map +0 -1
- package/dist/types/base-types/NotNull.js +0 -1
- package/dist/types/base-types/Nothing.d.ts +0 -8
- package/dist/types/base-types/Nothing.d.ts.map +0 -1
- package/dist/types/base-types/Nothing.js +0 -1
- package/dist/types/base-types/NumericSign.d.ts +0 -7
- package/dist/types/base-types/NumericSign.d.ts.map +0 -1
- package/dist/types/base-types/NumericSign.js +0 -1
- package/dist/types/base-types/ObjectKey.d.ts +0 -8
- package/dist/types/base-types/ObjectKey.d.ts.map +0 -1
- package/dist/types/base-types/ObjectKey.js +0 -1
- package/dist/types/base-types/Scalar.d.ts +0 -7
- package/dist/types/base-types/Scalar.d.ts.map +0 -1
- package/dist/types/base-types/Scalar.js +0 -1
- package/dist/types/base-types/ScalarNotSymbol.d.ts +0 -7
- package/dist/types/base-types/ScalarNotSymbol.d.ts.map +0 -1
- package/dist/types/base-types/ScalarNotSymbol.js +0 -1
- package/dist/types/base-types/Something.d.ts +0 -9
- package/dist/types/base-types/Something.d.ts.map +0 -1
- package/dist/types/base-types/Something.js +0 -2
- package/dist/types/base-types/Thenable.d.ts +0 -11
- package/dist/types/base-types/Thenable.d.ts.map +0 -1
- package/dist/types/base-types/Thenable.js +0 -1
- package/dist/types/base-types/Tuple.d.ts +0 -25
- package/dist/types/base-types/Tuple.d.ts.map +0 -1
- package/dist/types/base-types/Tuple.js +0 -1
- package/dist/types/base-types/fns/AnyFunction.d.ts +0 -8
- package/dist/types/base-types/fns/AnyFunction.d.ts.map +0 -1
- package/dist/types/base-types/fns/AnyFunction.js +0 -2
- package/dist/types/base-types/fns/EscapeFunction.d.ts +0 -22
- package/dist/types/base-types/fns/EscapeFunction.d.ts.map +0 -1
- package/dist/types/base-types/fns/EscapeFunction.js +0 -1
- package/dist/types/base-types/fns/FnAllowingProps.d.ts +0 -11
- package/dist/types/base-types/fns/FnAllowingProps.d.ts.map +0 -1
- package/dist/types/base-types/fns/FnAllowingProps.js +0 -1
- package/dist/types/base-types/fns/IdentityFunction.d.ts +0 -6
- package/dist/types/base-types/fns/IdentityFunction.d.ts.map +0 -1
- package/dist/types/base-types/fns/IdentityFunction.js +0 -1
- package/dist/types/base-types/fns/JustFunction.d.ts +0 -9
- package/dist/types/base-types/fns/JustFunction.d.ts.map +0 -1
- package/dist/types/base-types/fns/JustFunction.js +0 -1
- package/dist/types/base-types/fns/OptionalParamFn.d.ts +0 -30
- package/dist/types/base-types/fns/OptionalParamFn.d.ts.map +0 -1
- package/dist/types/base-types/fns/OptionalParamFn.js +0 -1
- package/dist/types/base-types/fns/RegularFn.d.ts +0 -8
- package/dist/types/base-types/fns/RegularFn.d.ts.map +0 -1
- package/dist/types/base-types/fns/RegularFn.js +0 -1
- package/dist/types/base-types/fns/TypedFunction.d.ts +0 -9
- package/dist/types/base-types/fns/TypedFunction.d.ts.map +0 -1
- package/dist/types/base-types/fns/TypedFunction.js +0 -1
- package/dist/types/base-types/fns/index.d.ts +0 -9
- package/dist/types/base-types/fns/index.d.ts.map +0 -1
- package/dist/types/base-types/fns/index.js +0 -8
- package/dist/types/base-types/functional/LeftRight.d.ts +0 -161
- package/dist/types/base-types/functional/LeftRight.d.ts.map +0 -1
- package/dist/types/base-types/functional/LeftRight.js +0 -1
- package/dist/types/base-types/functional/index.d.ts +0 -2
- package/dist/types/base-types/functional/index.d.ts.map +0 -1
- package/dist/types/base-types/functional/index.js +0 -1
- package/dist/types/base-types/index.d.ts +0 -26
- package/dist/types/base-types/index.d.ts.map +0 -1
- package/dist/types/base-types/index.js +0 -25
- package/dist/types/boolean-logic/LogicalCombinator.d.ts +0 -5
- package/dist/types/boolean-logic/LogicalCombinator.d.ts.map +0 -1
- package/dist/types/boolean-logic/LogicalCombinator.js +0 -1
- package/dist/types/boolean-logic/branching/Default.d.ts +0 -11
- package/dist/types/boolean-logic/branching/Default.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/Default.js +0 -1
- package/dist/types/boolean-logic/branching/Fail.d.ts +0 -21
- package/dist/types/boolean-logic/branching/Fail.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/Fail.js +0 -1
- package/dist/types/boolean-logic/branching/Handle.d.ts +0 -17
- package/dist/types/boolean-logic/branching/Handle.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/Handle.js +0 -1
- package/dist/types/boolean-logic/branching/If.d.ts +0 -8
- package/dist/types/boolean-logic/branching/If.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/If.js +0 -1
- package/dist/types/boolean-logic/branching/IfAllExtend.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfAllExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfAllExtend.js +0 -1
- package/dist/types/boolean-logic/branching/IfAllLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfAllLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfAllLiteral.js +0 -1
- package/dist/types/boolean-logic/branching/IfEqual.d.ts +0 -18
- package/dist/types/boolean-logic/branching/IfEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfEqual.js +0 -1
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts +0 -11
- package/dist/types/boolean-logic/branching/IfErrorCondition.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfErrorCondition.js +0 -1
- package/dist/types/boolean-logic/branching/IfLength.d.ts +0 -15
- package/dist/types/boolean-logic/branching/IfLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfLength.js +0 -1
- package/dist/types/boolean-logic/branching/IfNever.d.ts +0 -9
- package/dist/types/boolean-logic/branching/IfNever.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfNever.js +0 -1
- package/dist/types/boolean-logic/branching/IfUnset.d.ts +0 -12
- package/dist/types/boolean-logic/branching/IfUnset.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/IfUnset.js +0 -1
- package/dist/types/boolean-logic/branching/Iff.d.ts +0 -24
- package/dist/types/boolean-logic/branching/Iff.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/Iff.js +0 -1
- package/dist/types/boolean-logic/branching/OnPass.d.ts +0 -30
- package/dist/types/boolean-logic/branching/OnPass.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/OnPass.js +0 -1
- package/dist/types/boolean-logic/branching/Passthrough.d.ts +0 -11
- package/dist/types/boolean-logic/branching/Passthrough.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/Passthrough.js +0 -1
- package/dist/types/boolean-logic/branching/WhenNever.d.ts +0 -11
- package/dist/types/boolean-logic/branching/WhenNever.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/WhenNever.js +0 -1
- package/dist/types/boolean-logic/branching/index.d.ts +0 -16
- package/dist/types/boolean-logic/branching/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/branching/index.js +0 -15
- package/dist/types/boolean-logic/combinators/And.d.ts +0 -11
- package/dist/types/boolean-logic/combinators/And.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/And.js +0 -1
- package/dist/types/boolean-logic/combinators/Compare.d.ts +0 -54
- package/dist/types/boolean-logic/combinators/Compare.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/Compare.js +0 -1
- package/dist/types/boolean-logic/combinators/Not.d.ts +0 -22
- package/dist/types/boolean-logic/combinators/Not.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/Not.js +0 -1
- package/dist/types/boolean-logic/combinators/Or.d.ts +0 -20
- package/dist/types/boolean-logic/combinators/Or.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/Or.js +0 -1
- package/dist/types/boolean-logic/combinators/Some.d.ts +0 -8
- package/dist/types/boolean-logic/combinators/Some.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/Some.js +0 -1
- package/dist/types/boolean-logic/combinators/index.d.ts +0 -6
- package/dist/types/boolean-logic/combinators/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/combinators/index.js +0 -5
- package/dist/types/boolean-logic/index.d.ts +0 -6
- package/dist/types/boolean-logic/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/index.js +0 -5
- package/dist/types/boolean-logic/narrowing/As.d.ts +0 -7
- package/dist/types/boolean-logic/narrowing/As.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/As.js +0 -1
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts +0 -12
- package/dist/types/boolean-logic/narrowing/AsDoneFn.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/AsDoneFn.js +0 -1
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts +0 -9
- package/dist/types/boolean-logic/narrowing/AsIndexOf.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/AsIndexOf.js +0 -1
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts +0 -20
- package/dist/types/boolean-logic/narrowing/AsSomething.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/AsSomething.js +0 -1
- package/dist/types/boolean-logic/narrowing/index.d.ts +0 -5
- package/dist/types/boolean-logic/narrowing/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/narrowing/index.js +0 -4
- package/dist/types/boolean-logic/operators/AllExtend.d.ts +0 -13
- package/dist/types/boolean-logic/operators/AllExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AllExtend.js +0 -1
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts +0 -11
- package/dist/types/boolean-logic/operators/AllLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AllLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts +0 -12
- package/dist/types/boolean-logic/operators/AllNumericLiterals.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AllNumericLiterals.js +0 -1
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts +0 -12
- package/dist/types/boolean-logic/operators/AllStringLiterals.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AllStringLiterals.js +0 -1
- package/dist/types/boolean-logic/operators/ApiOperators.d.ts +0 -11
- package/dist/types/boolean-logic/operators/ApiOperators.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ApiOperators.js +0 -1
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts +0 -9
- package/dist/types/boolean-logic/operators/AreSameLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AreSameLength.js +0 -1
- package/dist/types/boolean-logic/operators/AreSameType.d.ts +0 -18
- package/dist/types/boolean-logic/operators/AreSameType.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/AreSameType.js +0 -1
- package/dist/types/boolean-logic/operators/Contains.d.ts +0 -26
- package/dist/types/boolean-logic/operators/Contains.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Contains.js +0 -1
- package/dist/types/boolean-logic/operators/ContainsAll.d.ts +0 -17
- package/dist/types/boolean-logic/operators/ContainsAll.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ContainsAll.js +0 -1
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts +0 -8
- package/dist/types/boolean-logic/operators/DoesExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/DoesExtend.js +0 -1
- package/dist/types/boolean-logic/operators/DoesNotExtend.d.ts +0 -8
- package/dist/types/boolean-logic/operators/DoesNotExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/DoesNotExtend.js +0 -1
- package/dist/types/boolean-logic/operators/EndsWith.d.ts +0 -21
- package/dist/types/boolean-logic/operators/EndsWith.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/EndsWith.js +0 -1
- package/dist/types/boolean-logic/operators/Extends.d.ts +0 -10
- package/dist/types/boolean-logic/operators/Extends.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Extends.js +0 -1
- package/dist/types/boolean-logic/operators/ExtendsAll.d.ts +0 -13
- package/dist/types/boolean-logic/operators/ExtendsAll.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ExtendsAll.js +0 -1
- package/dist/types/boolean-logic/operators/ExtendsNone.d.ts +0 -11
- package/dist/types/boolean-logic/operators/ExtendsNone.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ExtendsNone.js +0 -1
- package/dist/types/boolean-logic/operators/ExtendsSome.d.ts +0 -11
- package/dist/types/boolean-logic/operators/ExtendsSome.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ExtendsSome.js +0 -1
- package/dist/types/boolean-logic/operators/HasArray.d.ts +0 -10
- package/dist/types/boolean-logic/operators/HasArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasArray.js +0 -1
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts +0 -22
- package/dist/types/boolean-logic/operators/HasCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasCharacters.js +0 -1
- package/dist/types/boolean-logic/operators/HasIndex.d.ts +0 -9
- package/dist/types/boolean-logic/operators/HasIndex.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasIndex.js +0 -1
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts +0 -16
- package/dist/types/boolean-logic/operators/HasOtherCharacters.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasOtherCharacters.js +0 -1
- package/dist/types/boolean-logic/operators/HasParameters.d.ts +0 -14
- package/dist/types/boolean-logic/operators/HasParameters.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasParameters.js +0 -1
- package/dist/types/boolean-logic/operators/HasProp.d.ts +0 -11
- package/dist/types/boolean-logic/operators/HasProp.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasProp.js +0 -1
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts +0 -9
- package/dist/types/boolean-logic/operators/HasRequiredProps.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasRequiredProps.js +0 -1
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts +0 -13
- package/dist/types/boolean-logic/operators/HasSameKeys.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasSameKeys.js +0 -1
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts +0 -19
- package/dist/types/boolean-logic/operators/HasSameValues.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasSameValues.js +0 -1
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts +0 -10
- package/dist/types/boolean-logic/operators/HasUnionType.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasUnionType.js +0 -1
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts +0 -10
- package/dist/types/boolean-logic/operators/HasWideValues.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HasWideValues.js +0 -1
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts +0 -9
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/HaveSameNumericSign.js +0 -1
- package/dist/types/boolean-logic/operators/IsAllCaps.d.ts +0 -21
- package/dist/types/boolean-logic/operators/IsAllCaps.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsAllCaps.js +0 -1
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts +0 -20
- package/dist/types/boolean-logic/operators/IsAllLowercase.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsAllLowercase.js +0 -1
- package/dist/types/boolean-logic/operators/IsAny.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsAny.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsAny.js +0 -1
- package/dist/types/boolean-logic/operators/IsAnyEqual.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsAnyEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsAnyEqual.js +0 -1
- package/dist/types/boolean-logic/operators/IsArray.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsArray.js +0 -1
- package/dist/types/boolean-logic/operators/IsBoolean.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsBoolean.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsBoolean.js +0 -1
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsBooleanLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/IsContainer.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsContainer.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsContainer.js +0 -1
- package/dist/types/boolean-logic/operators/IsCssHexadecimal.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsCssHexadecimal.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsCssHexadecimal.js +0 -1
- package/dist/types/boolean-logic/operators/IsDefined.d.ts +0 -7
- package/dist/types/boolean-logic/operators/IsDefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsDefined.js +0 -1
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts +0 -20
- package/dist/types/boolean-logic/operators/IsDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsDotPath.js +0 -1
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsEmptyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsEmptyObject.js +0 -1
- package/dist/types/boolean-logic/operators/IsEmptyString.d.ts +0 -12
- package/dist/types/boolean-logic/operators/IsEmptyString.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsEmptyString.js +0 -1
- package/dist/types/boolean-logic/operators/IsEqual.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsEqual.js +0 -1
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts +0 -11
- package/dist/types/boolean-logic/operators/IsErrorCondition.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsErrorCondition.js +0 -1
- package/dist/types/boolean-logic/operators/IsFalse.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsFalse.js +0 -1
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsFalsy.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsFalsy.js +0 -1
- package/dist/types/boolean-logic/operators/IsFloat.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsFloat.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsFloat.js +0 -1
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsFnWithParams.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsFnWithParams.js +0 -1
- package/dist/types/boolean-logic/operators/IsFunction.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsFunction.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsFunction.js +0 -1
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts +0 -19
- package/dist/types/boolean-logic/operators/IsGreaterThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsGreaterThan.js +0 -1
- package/dist/types/boolean-logic/operators/IsInteger.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsInteger.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsInteger.js +0 -1
- package/dist/types/boolean-logic/operators/IsIterable.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsIterable.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsIterable.js +0 -1
- package/dist/types/boolean-logic/operators/IsLength.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsLength.js +0 -1
- package/dist/types/boolean-logic/operators/IsLessThan.d.ts +0 -19
- package/dist/types/boolean-logic/operators/IsLessThan.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsLessThan.js +0 -1
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts +0 -22
- package/dist/types/boolean-logic/operators/IsLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts +0 -16
- package/dist/types/boolean-logic/operators/IsLiteralFn.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsLiteralFn.js +0 -1
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsLiteralUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsLiteralUnion.js +0 -1
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts +0 -12
- package/dist/types/boolean-logic/operators/IsNarrowingFn.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNarrowingFn.js +0 -1
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsNegativeNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNegativeNumber.js +0 -1
- package/dist/types/boolean-logic/operators/IsNever.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsNever.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNever.js +0 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNonLiteralUnion.js +0 -1
- package/dist/types/boolean-logic/operators/IsNotEqual.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsNotEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNotEqual.js +0 -1
- package/dist/types/boolean-logic/operators/IsNothing.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsNothing.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNothing.js +0 -1
- package/dist/types/boolean-logic/operators/IsNull.d.ts +0 -12
- package/dist/types/boolean-logic/operators/IsNull.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNull.js +0 -1
- package/dist/types/boolean-logic/operators/IsNumber.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNumber.js +0 -1
- package/dist/types/boolean-logic/operators/IsNumberLike.d.ts +0 -10
- package/dist/types/boolean-logic/operators/IsNumberLike.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNumberLike.js +0 -1
- package/dist/types/boolean-logic/operators/IsNumericLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsNumericLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsNumericLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/IsObject.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsObject.js +0 -1
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts +0 -14
- package/dist/types/boolean-logic/operators/IsObjectLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsObjectLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts +0 -12
- package/dist/types/boolean-logic/operators/IsOptionalScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsOptionalScalar.js +0 -1
- package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts +0 -11
- package/dist/types/boolean-logic/operators/IsPositiveNumber.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsPositiveNumber.js +0 -1
- package/dist/types/boolean-logic/operators/IsReadonlyArray.d.ts +0 -7
- package/dist/types/boolean-logic/operators/IsReadonlyArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsReadonlyArray.js +0 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts +0 -12
- package/dist/types/boolean-logic/operators/IsReadonlyObject.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsReadonlyObject.js +0 -1
- package/dist/types/boolean-logic/operators/IsScalar.d.ts +0 -17
- package/dist/types/boolean-logic/operators/IsScalar.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsScalar.js +0 -1
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsSingleChar.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsSingleChar.js +0 -1
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsSingularNoun.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsSingularNoun.js +0 -1
- package/dist/types/boolean-logic/operators/IsString.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsString.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsString.js +0 -1
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsStringLiteral.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsStringLiteral.js +0 -1
- package/dist/types/boolean-logic/operators/IsSymbol.d.ts +0 -8
- package/dist/types/boolean-logic/operators/IsSymbol.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsSymbol.js +0 -1
- package/dist/types/boolean-logic/operators/IsThenable.d.ts +0 -11
- package/dist/types/boolean-logic/operators/IsThenable.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsThenable.js +0 -1
- package/dist/types/boolean-logic/operators/IsTrue.d.ts +0 -18
- package/dist/types/boolean-logic/operators/IsTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsTrue.js +0 -1
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts +0 -13
- package/dist/types/boolean-logic/operators/IsTruthy.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsTruthy.js +0 -1
- package/dist/types/boolean-logic/operators/IsTuple.d.ts +0 -17
- package/dist/types/boolean-logic/operators/IsTuple.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsTuple.js +0 -1
- package/dist/types/boolean-logic/operators/IsUndefined.d.ts +0 -7
- package/dist/types/boolean-logic/operators/IsUndefined.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsUndefined.js +0 -1
- package/dist/types/boolean-logic/operators/IsUnion.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsUnion.js +0 -1
- package/dist/types/boolean-logic/operators/IsUnionArray.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsUnionArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsUnionArray.js +0 -1
- package/dist/types/boolean-logic/operators/IsUnset.d.ts +0 -9
- package/dist/types/boolean-logic/operators/IsUnset.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsUnset.js +0 -1
- package/dist/types/boolean-logic/operators/IsUrl.d.ts +0 -34
- package/dist/types/boolean-logic/operators/IsUrl.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsUrl.js +0 -1
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsValidDotPath.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsValidDotPath.js +0 -1
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts +0 -11
- package/dist/types/boolean-logic/operators/IsValidIndex.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsValidIndex.js +0 -1
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts +0 -14
- package/dist/types/boolean-logic/operators/IsVueRef.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsVueRef.js +0 -1
- package/dist/types/boolean-logic/operators/IsWideType.d.ts +0 -51
- package/dist/types/boolean-logic/operators/IsWideType.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsWideType.js +0 -1
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts +0 -15
- package/dist/types/boolean-logic/operators/IsWideUnion.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/IsWideUnion.js +0 -1
- package/dist/types/boolean-logic/operators/MaybeError.d.ts +0 -20
- package/dist/types/boolean-logic/operators/MaybeError.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/MaybeError.js +0 -2
- package/dist/types/boolean-logic/operators/NarrowlyContains.d.ts +0 -13
- package/dist/types/boolean-logic/operators/NarrowlyContains.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/NarrowlyContains.js +0 -1
- package/dist/types/boolean-logic/operators/Network-operators.d.ts +0 -71
- package/dist/types/boolean-logic/operators/Network-operators.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Network-operators.js +0 -1
- package/dist/types/boolean-logic/operators/NotEqual.d.ts +0 -8
- package/dist/types/boolean-logic/operators/NotEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/NotEqual.js +0 -1
- package/dist/types/boolean-logic/operators/NotLength.d.ts +0 -8
- package/dist/types/boolean-logic/operators/NotLength.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/NotLength.js +0 -1
- package/dist/types/boolean-logic/operators/PhoneOperators.d.ts +0 -32
- package/dist/types/boolean-logic/operators/PhoneOperators.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/PhoneOperators.js +0 -1
- package/dist/types/boolean-logic/operators/Returns.d.ts +0 -9
- package/dist/types/boolean-logic/operators/Returns.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Returns.js +0 -1
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts +0 -11
- package/dist/types/boolean-logic/operators/ReturnsBoolean.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ReturnsBoolean.js +0 -1
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts +0 -11
- package/dist/types/boolean-logic/operators/ReturnsFalse.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ReturnsFalse.js +0 -1
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts +0 -12
- package/dist/types/boolean-logic/operators/ReturnsTrue.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/ReturnsTrue.js +0 -1
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts +0 -12
- package/dist/types/boolean-logic/operators/SomeEqual.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/SomeEqual.js +0 -1
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts +0 -11
- package/dist/types/boolean-logic/operators/SomeExtend.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/SomeExtend.js +0 -1
- package/dist/types/boolean-logic/operators/StartsWith.d.ts +0 -24
- package/dist/types/boolean-logic/operators/StartsWith.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/StartsWith.js +0 -1
- package/dist/types/boolean-logic/operators/UnionHasArray.d.ts +0 -14
- package/dist/types/boolean-logic/operators/UnionHasArray.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/UnionHasArray.js +0 -1
- package/dist/types/boolean-logic/operators/Validate.d.ts +0 -20
- package/dist/types/boolean-logic/operators/Validate.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/Validate.js +0 -1
- package/dist/types/boolean-logic/operators/YouTube-operators.d.ts +0 -32
- package/dist/types/boolean-logic/operators/YouTube-operators.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/YouTube-operators.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoDate.d.ts +0 -26
- package/dist/types/boolean-logic/operators/datetime/IsIsoDate.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoDate.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoDateTime.d.ts +0 -9
- package/dist/types/boolean-logic/operators/datetime/IsIsoDateTime.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoDateTime.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoTime.d.ts +0 -15
- package/dist/types/boolean-logic/operators/datetime/IsIsoTime.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsIsoTime.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsJsDate.d.ts +0 -9
- package/dist/types/boolean-logic/operators/datetime/IsJsDate.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsJsDate.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsLuxonDateTime.d.ts +0 -8
- package/dist/types/boolean-logic/operators/datetime/IsLuxonDateTime.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsLuxonDateTime.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsMoment.d.ts +0 -8
- package/dist/types/boolean-logic/operators/datetime/IsMoment.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/IsMoment.js +0 -1
- package/dist/types/boolean-logic/operators/datetime/index.d.ts +0 -7
- package/dist/types/boolean-logic/operators/datetime/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/datetime/index.js +0 -6
- package/dist/types/boolean-logic/operators/index.d.ts +0 -106
- package/dist/types/boolean-logic/operators/index.d.ts.map +0 -1
- package/dist/types/boolean-logic/operators/index.js +0 -105
- package/dist/types/classes/Constructor.d.ts +0 -6
- package/dist/types/classes/Constructor.d.ts.map +0 -1
- package/dist/types/classes/Constructor.js +0 -1
- package/dist/types/classes/KlassMeta.d.ts +0 -21
- package/dist/types/classes/KlassMeta.d.ts.map +0 -1
- package/dist/types/classes/KlassMeta.js +0 -1
- package/dist/types/classes/index.d.ts +0 -3
- package/dist/types/classes/index.d.ts.map +0 -1
- package/dist/types/classes/index.js +0 -2
- package/dist/types/containers/IsEmptyContainer.d.ts +0 -11
- package/dist/types/containers/IsEmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/IsEmptyContainer.js +0 -1
- package/dist/types/containers/IsNonEmptyContainer.d.ts +0 -12
- package/dist/types/containers/IsNonEmptyContainer.d.ts.map +0 -1
- package/dist/types/containers/IsNonEmptyContainer.js +0 -1
- package/dist/types/containers/RemoveEmpty.d.ts +0 -30
- package/dist/types/containers/RemoveEmpty.d.ts.map +0 -1
- package/dist/types/containers/RemoveEmpty.js +0 -1
- package/dist/types/containers/RemoveMarked.d.ts +0 -13
- package/dist/types/containers/RemoveMarked.d.ts.map +0 -1
- package/dist/types/containers/RemoveMarked.js +0 -1
- package/dist/types/containers/RemoveNever.d.ts +0 -18
- package/dist/types/containers/RemoveNever.d.ts.map +0 -1
- package/dist/types/containers/RemoveNever.js +0 -1
- package/dist/types/containers/RemoveUndefined.d.ts +0 -11
- package/dist/types/containers/RemoveUndefined.d.ts.map +0 -1
- package/dist/types/containers/RemoveUndefined.js +0 -1
- package/dist/types/containers/index.d.ts +0 -7
- package/dist/types/containers/index.d.ts.map +0 -1
- package/dist/types/containers/index.js +0 -6
- package/dist/types/dictionary/AddKeyValue.d.ts +0 -13
- package/dist/types/dictionary/AddKeyValue.d.ts.map +0 -1
- package/dist/types/dictionary/AddKeyValue.js +0 -1
- package/dist/types/dictionary/CamelKeys.d.ts +0 -16
- package/dist/types/dictionary/CamelKeys.d.ts.map +0 -1
- package/dist/types/dictionary/CamelKeys.js +0 -1
- package/dist/types/dictionary/CombinedKeys.d.ts +0 -17
- package/dist/types/dictionary/CombinedKeys.d.ts.map +0 -1
- package/dist/types/dictionary/CombinedKeys.js +0 -1
- package/dist/types/dictionary/CreateKV.d.ts +0 -15
- package/dist/types/dictionary/CreateKV.d.ts.map +0 -1
- package/dist/types/dictionary/CreateKV.js +0 -1
- package/dist/types/dictionary/CreateLookup.d.ts +0 -13
- package/dist/types/dictionary/CreateLookup.d.ts.map +0 -1
- package/dist/types/dictionary/CreateLookup.js +0 -1
- package/dist/types/dictionary/DefineObject.d.ts +0 -40
- package/dist/types/dictionary/DefineObject.d.ts.map +0 -1
- package/dist/types/dictionary/DefineObject.js +0 -1
- package/dist/types/dictionary/DictChangeValue.d.ts +0 -28
- package/dist/types/dictionary/DictChangeValue.d.ts.map +0 -1
- package/dist/types/dictionary/DictChangeValue.js +0 -1
- package/dist/types/dictionary/EnsureKeys.d.ts +0 -17
- package/dist/types/dictionary/EnsureKeys.d.ts.map +0 -1
- package/dist/types/dictionary/EnsureKeys.js +0 -1
- package/dist/types/dictionary/FilterProps.d.ts +0 -20
- package/dist/types/dictionary/FilterProps.d.ts.map +0 -1
- package/dist/types/dictionary/FilterProps.js +0 -1
- package/dist/types/dictionary/FromMaybeRef.d.ts +0 -9
- package/dist/types/dictionary/FromMaybeRef.d.ts.map +0 -1
- package/dist/types/dictionary/FromMaybeRef.js +0 -1
- package/dist/types/dictionary/Get.d.ts +0 -8
- package/dist/types/dictionary/Get.d.ts.map +0 -1
- package/dist/types/dictionary/Get.js +0 -1
- package/dist/types/dictionary/KebabKeys.d.ts +0 -16
- package/dist/types/dictionary/KebabKeys.d.ts.map +0 -1
- package/dist/types/dictionary/KebabKeys.js +0 -1
- package/dist/types/dictionary/Keys.d.ts +0 -79
- package/dist/types/dictionary/Keys.d.ts.map +0 -1
- package/dist/types/dictionary/Keys.js +0 -1
- package/dist/types/dictionary/KeysEqualValue.d.ts +0 -17
- package/dist/types/dictionary/KeysEqualValue.d.ts.map +0 -1
- package/dist/types/dictionary/KeysEqualValue.js +0 -1
- package/dist/types/dictionary/KeysNotEqualValue.d.ts +0 -17
- package/dist/types/dictionary/KeysNotEqualValue.d.ts.map +0 -1
- package/dist/types/dictionary/KeysNotEqualValue.js +0 -1
- package/dist/types/dictionary/KeysWithValue.d.ts +0 -18
- package/dist/types/dictionary/KeysWithValue.d.ts.map +0 -1
- package/dist/types/dictionary/KeysWithValue.js +0 -1
- package/dist/types/dictionary/KeysWithoutValue.d.ts +0 -15
- package/dist/types/dictionary/KeysWithoutValue.d.ts.map +0 -1
- package/dist/types/dictionary/KeysWithoutValue.js +0 -1
- package/dist/types/dictionary/KvFn.d.ts +0 -15
- package/dist/types/dictionary/KvFn.d.ts.map +0 -1
- package/dist/types/dictionary/KvFn.js +0 -1
- package/dist/types/dictionary/MakeKeysOptional.d.ts +0 -24
- package/dist/types/dictionary/MakeKeysOptional.d.ts.map +0 -1
- package/dist/types/dictionary/MakeKeysOptional.js +0 -1
- package/dist/types/dictionary/MakeKeysRequired.d.ts +0 -14
- package/dist/types/dictionary/MakeKeysRequired.d.ts.map +0 -1
- package/dist/types/dictionary/MakeKeysRequired.js +0 -1
- package/dist/types/dictionary/MakePropsMutable.d.ts +0 -40
- package/dist/types/dictionary/MakePropsMutable.d.ts.map +0 -1
- package/dist/types/dictionary/MakePropsMutable.js +0 -1
- package/dist/types/dictionary/MapTo.d.ts +0 -228
- package/dist/types/dictionary/MapTo.d.ts.map +0 -1
- package/dist/types/dictionary/MapTo.js +0 -34
- package/dist/types/dictionary/MaybeRef.d.ts +0 -17
- package/dist/types/dictionary/MaybeRef.d.ts.map +0 -1
- package/dist/types/dictionary/MaybeRef.js +0 -1
- package/dist/types/dictionary/MergeKVs.d.ts +0 -20
- package/dist/types/dictionary/MergeKVs.d.ts.map +0 -1
- package/dist/types/dictionary/MergeKVs.js +0 -1
- package/dist/types/dictionary/MutableProps.d.ts +0 -9
- package/dist/types/dictionary/MutableProps.d.ts.map +0 -1
- package/dist/types/dictionary/MutableProps.js +0 -1
- package/dist/types/dictionary/NonNumericKeys.d.ts +0 -9
- package/dist/types/dictionary/NonNumericKeys.d.ts.map +0 -1
- package/dist/types/dictionary/NonNumericKeys.js +0 -1
- package/dist/types/dictionary/NonStringKeys.d.ts +0 -15
- package/dist/types/dictionary/NonStringKeys.d.ts.map +0 -1
- package/dist/types/dictionary/NonStringKeys.js +0 -1
- package/dist/types/dictionary/OptionalKeys.d.ts +0 -26
- package/dist/types/dictionary/OptionalKeys.d.ts.map +0 -1
- package/dist/types/dictionary/OptionalKeys.js +0 -1
- package/dist/types/dictionary/OptionalProps.d.ts +0 -8
- package/dist/types/dictionary/OptionalProps.d.ts.map +0 -1
- package/dist/types/dictionary/OptionalProps.js +0 -1
- package/dist/types/dictionary/PascalKeys.d.ts +0 -16
- package/dist/types/dictionary/PascalKeys.d.ts.map +0 -1
- package/dist/types/dictionary/PascalKeys.js +0 -1
- package/dist/types/dictionary/ReadonlyKeys.d.ts +0 -16
- package/dist/types/dictionary/ReadonlyKeys.d.ts.map +0 -1
- package/dist/types/dictionary/ReadonlyKeys.js +0 -1
- package/dist/types/dictionary/ReadonlyProps.d.ts +0 -9
- package/dist/types/dictionary/ReadonlyProps.d.ts.map +0 -1
- package/dist/types/dictionary/ReadonlyProps.js +0 -1
- package/dist/types/dictionary/RemoveIndexKeys.d.ts +0 -16
- package/dist/types/dictionary/RemoveIndexKeys.d.ts.map +0 -1
- package/dist/types/dictionary/RemoveIndexKeys.js +0 -1
- package/dist/types/dictionary/RequireProps.d.ts +0 -13
- package/dist/types/dictionary/RequireProps.d.ts.map +0 -1
- package/dist/types/dictionary/RequireProps.js +0 -1
- package/dist/types/dictionary/RequiredKeys.d.ts +0 -32
- package/dist/types/dictionary/RequiredKeys.d.ts.map +0 -1
- package/dist/types/dictionary/RequiredKeys.js +0 -2
- package/dist/types/dictionary/RequiredProps.d.ts +0 -8
- package/dist/types/dictionary/RequiredProps.d.ts.map +0 -1
- package/dist/types/dictionary/RequiredProps.js +0 -1
- package/dist/types/dictionary/RetainProps.d.ts +0 -20
- package/dist/types/dictionary/RetainProps.d.ts.map +0 -1
- package/dist/types/dictionary/RetainProps.js +0 -1
- package/dist/types/dictionary/SharedKeys.d.ts +0 -17
- package/dist/types/dictionary/SharedKeys.d.ts.map +0 -1
- package/dist/types/dictionary/SharedKeys.js +0 -1
- package/dist/types/dictionary/SimplifyObject.d.ts +0 -9
- package/dist/types/dictionary/SimplifyObject.d.ts.map +0 -1
- package/dist/types/dictionary/SimplifyObject.js +0 -1
- package/dist/types/dictionary/SnakeKeys.d.ts +0 -16
- package/dist/types/dictionary/SnakeKeys.d.ts.map +0 -1
- package/dist/types/dictionary/SnakeKeys.js +0 -1
- package/dist/types/dictionary/StringKeys.d.ts +0 -9
- package/dist/types/dictionary/StringKeys.d.ts.map +0 -1
- package/dist/types/dictionary/StringKeys.js +0 -1
- package/dist/types/dictionary/TakeProp.d.ts +0 -9
- package/dist/types/dictionary/TakeProp.d.ts.map +0 -1
- package/dist/types/dictionary/TakeProp.js +0 -1
- package/dist/types/dictionary/UpsertKeyValue.d.ts +0 -13
- package/dist/types/dictionary/UpsertKeyValue.d.ts.map +0 -1
- package/dist/types/dictionary/UpsertKeyValue.js +0 -1
- package/dist/types/dictionary/ValidKey.d.ts +0 -11
- package/dist/types/dictionary/ValidKey.d.ts.map +0 -1
- package/dist/types/dictionary/ValidKey.js +0 -1
- package/dist/types/dictionary/Values.d.ts +0 -18
- package/dist/types/dictionary/Values.d.ts.map +0 -1
- package/dist/types/dictionary/Values.js +0 -1
- package/dist/types/dictionary/WithKeys.d.ts +0 -23
- package/dist/types/dictionary/WithKeys.d.ts.map +0 -1
- package/dist/types/dictionary/WithKeys.js +0 -1
- package/dist/types/dictionary/WithNumericKeys.d.ts +0 -8
- package/dist/types/dictionary/WithNumericKeys.d.ts.map +0 -1
- package/dist/types/dictionary/WithNumericKeys.js +0 -1
- package/dist/types/dictionary/WithStringKeys.d.ts +0 -9
- package/dist/types/dictionary/WithStringKeys.d.ts.map +0 -1
- package/dist/types/dictionary/WithStringKeys.js +0 -1
- package/dist/types/dictionary/WithValue.d.ts +0 -22
- package/dist/types/dictionary/WithValue.d.ts.map +0 -1
- package/dist/types/dictionary/WithValue.js +0 -1
- package/dist/types/dictionary/WithoutKeys.d.ts +0 -12
- package/dist/types/dictionary/WithoutKeys.d.ts.map +0 -1
- package/dist/types/dictionary/WithoutKeys.js +0 -1
- package/dist/types/dictionary/WithoutValue.d.ts +0 -17
- package/dist/types/dictionary/WithoutValue.d.ts.map +0 -1
- package/dist/types/dictionary/WithoutValue.js +0 -1
- package/dist/types/dictionary/index.d.ts +0 -54
- package/dist/types/dictionary/index.d.ts.map +0 -1
- package/dist/types/dictionary/index.js +0 -61
- package/dist/types/errors/AsError.d.ts +0 -55
- package/dist/types/errors/AsError.d.ts.map +0 -1
- package/dist/types/errors/AsError.js +0 -1
- package/dist/types/errors/CompleteError.d.ts +0 -22
- package/dist/types/errors/CompleteError.d.ts.map +0 -1
- package/dist/types/errors/CompleteError.js +0 -1
- package/dist/types/errors/ErrorCondition.d.ts +0 -93
- package/dist/types/errors/ErrorCondition.d.ts.map +0 -1
- package/dist/types/errors/ErrorCondition.js +0 -1
- package/dist/types/errors/ErrorConditionHandler.d.ts +0 -9
- package/dist/types/errors/ErrorConditionHandler.d.ts.map +0 -1
- package/dist/types/errors/ErrorConditionHandler.js +0 -1
- package/dist/types/errors/KindError.d.ts +0 -44
- package/dist/types/errors/KindError.d.ts.map +0 -1
- package/dist/types/errors/KindError.js +0 -1
- package/dist/types/errors/MapError.d.ts +0 -15
- package/dist/types/errors/MapError.d.ts.map +0 -1
- package/dist/types/errors/MapError.js +0 -1
- package/dist/types/errors/PartialError.d.ts +0 -19
- package/dist/types/errors/PartialError.d.ts.map +0 -1
- package/dist/types/errors/PartialError.js +0 -1
- package/dist/types/errors/ProxyError.d.ts +0 -22
- package/dist/types/errors/ProxyError.d.ts.map +0 -1
- package/dist/types/errors/ProxyError.js +0 -1
- package/dist/types/errors/StackTrace.d.ts +0 -13
- package/dist/types/errors/StackTrace.d.ts.map +0 -1
- package/dist/types/errors/StackTrace.js +0 -1
- package/dist/types/errors/Throw.d.ts +0 -21
- package/dist/types/errors/Throw.d.ts.map +0 -1
- package/dist/types/errors/Throw.js +0 -1
- package/dist/types/errors/index.d.ts +0 -11
- package/dist/types/errors/index.d.ts.map +0 -1
- package/dist/types/errors/index.js +0 -10
- package/dist/types/functional/Left.d.ts +0 -8
- package/dist/types/functional/Left.d.ts.map +0 -1
- package/dist/types/functional/Left.js +0 -1
- package/dist/types/functional/Option.d.ts +0 -1
- package/dist/types/functional/Option.d.ts.map +0 -1
- package/dist/types/functional/Option.js +0 -1
- package/dist/types/functional/Result.d.ts +0 -238
- package/dist/types/functional/Result.d.ts.map +0 -1
- package/dist/types/functional/Result.js +0 -2
- package/dist/types/functional/Right.d.ts +0 -8
- package/dist/types/functional/Right.d.ts.map +0 -1
- package/dist/types/functional/Right.js +0 -1
- package/dist/types/functional/index.d.ts +0 -4
- package/dist/types/functional/index.d.ts.map +0 -1
- package/dist/types/functional/index.js +0 -3
- package/dist/types/functions/AsFnMeta.d.ts +0 -8
- package/dist/types/functions/AsFnMeta.d.ts.map +0 -1
- package/dist/types/functions/AsFnMeta.js +0 -1
- package/dist/types/functions/AsyncFunction.d.ts +0 -13
- package/dist/types/functions/AsyncFunction.d.ts.map +0 -1
- package/dist/types/functions/AsyncFunction.js +0 -1
- package/dist/types/functions/FnFrom.d.ts +0 -8
- package/dist/types/functions/FnFrom.d.ts.map +0 -1
- package/dist/types/functions/FnFrom.js +0 -1
- package/dist/types/functions/FnMeta.d.ts +0 -22
- package/dist/types/functions/FnMeta.d.ts.map +0 -1
- package/dist/types/functions/FnMeta.js +0 -1
- package/dist/types/functions/FnProps.d.ts +0 -11
- package/dist/types/functions/FnProps.d.ts.map +0 -1
- package/dist/types/functions/FnProps.js +0 -1
- package/dist/types/functions/FnWithDescription.d.ts +0 -9
- package/dist/types/functions/FnWithDescription.d.ts.map +0 -1
- package/dist/types/functions/FnWithDescription.js +0 -1
- package/dist/types/functions/FnWithProps.d.ts +0 -10
- package/dist/types/functions/FnWithProps.d.ts.map +0 -1
- package/dist/types/functions/FnWithProps.js +0 -1
- package/dist/types/functions/HandleDoneFn.d.ts +0 -12
- package/dist/types/functions/HandleDoneFn.d.ts.map +0 -1
- package/dist/types/functions/HandleDoneFn.js +0 -1
- package/dist/types/functions/IdentityFn.d.ts +0 -10
- package/dist/types/functions/IdentityFn.d.ts.map +0 -1
- package/dist/types/functions/IdentityFn.js +0 -1
- package/dist/types/functions/LiteralFn.d.ts +0 -20
- package/dist/types/functions/LiteralFn.d.ts.map +0 -1
- package/dist/types/functions/LiteralFn.js +0 -1
- package/dist/types/functions/LogicFunction.d.ts +0 -7
- package/dist/types/functions/LogicFunction.d.ts.map +0 -1
- package/dist/types/functions/LogicFunction.js +0 -1
- package/dist/types/functions/NarrowingFn.d.ts +0 -32
- package/dist/types/functions/NarrowingFn.d.ts.map +0 -1
- package/dist/types/functions/NarrowingFn.js +0 -1
- package/dist/types/functions/OnlyFnProps.d.ts +0 -9
- package/dist/types/functions/OnlyFnProps.d.ts.map +0 -1
- package/dist/types/functions/OnlyFnProps.js +0 -1
- package/dist/types/functions/PromiseAll.d.ts +0 -12
- package/dist/types/functions/PromiseAll.d.ts.map +0 -1
- package/dist/types/functions/PromiseAll.js +0 -1
- package/dist/types/functions/RemoveFnProps.d.ts +0 -9
- package/dist/types/functions/RemoveFnProps.d.ts.map +0 -1
- package/dist/types/functions/RemoveFnProps.js +0 -1
- package/dist/types/functions/ToFn.d.ts +0 -16
- package/dist/types/functions/ToFn.d.ts.map +0 -1
- package/dist/types/functions/ToFn.js +0 -1
- package/dist/types/functions/TypeGuard.d.ts +0 -9
- package/dist/types/functions/TypeGuard.d.ts.map +0 -1
- package/dist/types/functions/TypeGuard.js +0 -1
- package/dist/types/functions/WrapperFn.d.ts +0 -23
- package/dist/types/functions/WrapperFn.d.ts.map +0 -1
- package/dist/types/functions/WrapperFn.js +0 -1
- package/dist/types/functions/index.d.ts +0 -18
- package/dist/types/functions/index.d.ts.map +0 -1
- package/dist/types/functions/index.js +0 -26
- package/dist/types/index.d.ts +0 -20
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -25
- package/dist/types/kv/DictFromKv.d.ts +0 -7
- package/dist/types/kv/DictFromKv.d.ts.map +0 -1
- package/dist/types/kv/DictFromKv.js +0 -1
- package/dist/types/kv/KeyValue.d.ts +0 -8
- package/dist/types/kv/KeyValue.d.ts.map +0 -1
- package/dist/types/kv/KeyValue.js +0 -1
- package/dist/types/kv/KvFrom.d.ts +0 -14
- package/dist/types/kv/KvFrom.d.ts.map +0 -1
- package/dist/types/kv/KvFrom.js +0 -1
- package/dist/types/kv/KvTuple.d.ts +0 -15
- package/dist/types/kv/KvTuple.d.ts.map +0 -1
- package/dist/types/kv/KvTuple.js +0 -1
- package/dist/types/kv/index.d.ts +0 -5
- package/dist/types/kv/index.d.ts.map +0 -1
- package/dist/types/kv/index.js +0 -12
- package/dist/types/lists/AfterFirst.d.ts +0 -8
- package/dist/types/lists/AfterFirst.d.ts.map +0 -1
- package/dist/types/lists/AfterFirst.js +0 -1
- package/dist/types/lists/AllowNonTupleWhenSingular.d.ts +0 -11
- package/dist/types/lists/AllowNonTupleWhenSingular.d.ts.map +0 -1
- package/dist/types/lists/AllowNonTupleWhenSingular.js +0 -1
- package/dist/types/lists/ArrayElementType.d.ts +0 -12
- package/dist/types/lists/ArrayElementType.d.ts.map +0 -1
- package/dist/types/lists/ArrayElementType.js +0 -1
- package/dist/types/lists/AsArray.d.ts +0 -15
- package/dist/types/lists/AsArray.d.ts.map +0 -1
- package/dist/types/lists/AsArray.js +0 -1
- package/dist/types/lists/AsNumericArray.d.ts +0 -16
- package/dist/types/lists/AsNumericArray.d.ts.map +0 -1
- package/dist/types/lists/AsNumericArray.js +0 -1
- package/dist/types/lists/AsReadonlyArray.d.ts +0 -2
- package/dist/types/lists/AsReadonlyArray.d.ts.map +0 -1
- package/dist/types/lists/AsReadonlyArray.js +0 -1
- package/dist/types/lists/AsTuple.d.ts +0 -12
- package/dist/types/lists/AsTuple.d.ts.map +0 -1
- package/dist/types/lists/AsTuple.js +0 -1
- package/dist/types/lists/BeforeLast.d.ts +0 -20
- package/dist/types/lists/BeforeLast.d.ts.map +0 -1
- package/dist/types/lists/BeforeLast.js +0 -1
- package/dist/types/lists/ConvertAndMap.d.ts +0 -54
- package/dist/types/lists/ConvertAndMap.d.ts.map +0 -1
- package/dist/types/lists/ConvertAndMap.js +0 -1
- package/dist/types/lists/ConvertSet.d.ts +0 -23
- package/dist/types/lists/ConvertSet.d.ts.map +0 -1
- package/dist/types/lists/ConvertSet.js +0 -1
- package/dist/types/lists/ElementOf.d.ts +0 -7
- package/dist/types/lists/ElementOf.d.ts.map +0 -1
- package/dist/types/lists/ElementOf.js +0 -1
- package/dist/types/lists/Filter.d.ts +0 -32
- package/dist/types/lists/Filter.d.ts.map +0 -1
- package/dist/types/lists/Filter.js +0 -1
- package/dist/types/lists/FilterByProp.d.ts +0 -23
- package/dist/types/lists/FilterByProp.d.ts.map +0 -1
- package/dist/types/lists/FilterByProp.js +0 -1
- package/dist/types/lists/FilterLiterals.d.ts +0 -19
- package/dist/types/lists/FilterLiterals.d.ts.map +0 -1
- package/dist/types/lists/FilterLiterals.js +0 -1
- package/dist/types/lists/FilterWideTypes.d.ts +0 -18
- package/dist/types/lists/FilterWideTypes.d.ts.map +0 -1
- package/dist/types/lists/FilterWideTypes.js +0 -1
- package/dist/types/lists/Find.d.ts +0 -26
- package/dist/types/lists/Find.d.ts.map +0 -1
- package/dist/types/lists/Find.js +0 -1
- package/dist/types/lists/First.d.ts +0 -13
- package/dist/types/lists/First.d.ts.map +0 -1
- package/dist/types/lists/First.js +0 -1
- package/dist/types/lists/FirstOrElse.d.ts +0 -9
- package/dist/types/lists/FirstOrElse.d.ts.map +0 -1
- package/dist/types/lists/FirstOrElse.js +0 -1
- package/dist/types/lists/FirstString.d.ts +0 -5
- package/dist/types/lists/FirstString.d.ts.map +0 -1
- package/dist/types/lists/FirstString.js +0 -1
- package/dist/types/lists/Flatten.d.ts +0 -53
- package/dist/types/lists/Flatten.d.ts.map +0 -1
- package/dist/types/lists/Flatten.js +0 -1
- package/dist/types/lists/GetEach.d.ts +0 -30
- package/dist/types/lists/GetEach.d.ts.map +0 -1
- package/dist/types/lists/GetEach.js +0 -1
- package/dist/types/lists/IndexOf.d.ts +0 -57
- package/dist/types/lists/IndexOf.d.ts.map +0 -1
- package/dist/types/lists/IndexOf.js +0 -1
- package/dist/types/lists/Intersect.d.ts +0 -14
- package/dist/types/lists/Intersect.d.ts.map +0 -1
- package/dist/types/lists/Intersect.js +0 -1
- package/dist/types/lists/IntersectAll.d.ts +0 -14
- package/dist/types/lists/IntersectAll.d.ts.map +0 -1
- package/dist/types/lists/IntersectAll.js +0 -1
- package/dist/types/lists/Last.d.ts +0 -10
- package/dist/types/lists/Last.d.ts.map +0 -1
- package/dist/types/lists/Last.js +0 -1
- package/dist/types/lists/Length.d.ts +0 -25
- package/dist/types/lists/Length.d.ts.map +0 -1
- package/dist/types/lists/Length.js +0 -1
- package/dist/types/lists/LogicalReturns.d.ts +0 -17
- package/dist/types/lists/LogicalReturns.d.ts.map +0 -1
- package/dist/types/lists/LogicalReturns.js +0 -1
- package/dist/types/lists/MaxLength.d.ts +0 -17
- package/dist/types/lists/MaxLength.d.ts.map +0 -1
- package/dist/types/lists/MaxLength.js +0 -1
- package/dist/types/lists/NumericKeys.d.ts +0 -26
- package/dist/types/lists/NumericKeys.d.ts.map +0 -1
- package/dist/types/lists/NumericKeys.js +0 -1
- package/dist/types/lists/NumericSort.d.ts +0 -65
- package/dist/types/lists/NumericSort.d.ts.map +0 -1
- package/dist/types/lists/NumericSort.js +0 -1
- package/dist/types/lists/Pop.d.ts +0 -18
- package/dist/types/lists/Pop.d.ts.map +0 -1
- package/dist/types/lists/Pop.js +0 -1
- package/dist/types/lists/Push.d.ts +0 -15
- package/dist/types/lists/Push.d.ts.map +0 -1
- package/dist/types/lists/Push.js +0 -1
- package/dist/types/lists/ReplaceLast.d.ts +0 -8
- package/dist/types/lists/ReplaceLast.d.ts.map +0 -1
- package/dist/types/lists/ReplaceLast.js +0 -1
- package/dist/types/lists/Retain.d.ts +0 -27
- package/dist/types/lists/Retain.d.ts.map +0 -1
- package/dist/types/lists/Retain.js +0 -1
- package/dist/types/lists/RetainByProp.d.ts +0 -38
- package/dist/types/lists/RetainByProp.d.ts.map +0 -1
- package/dist/types/lists/RetainByProp.js +0 -1
- package/dist/types/lists/RetainLiterals.d.ts +0 -20
- package/dist/types/lists/RetainLiterals.d.ts.map +0 -1
- package/dist/types/lists/RetainLiterals.js +0 -1
- package/dist/types/lists/RetainWideTypes.d.ts +0 -21
- package/dist/types/lists/RetainWideTypes.d.ts.map +0 -1
- package/dist/types/lists/RetainWideTypes.js +0 -1
- package/dist/types/lists/ReturnTypes.d.ts +0 -15
- package/dist/types/lists/ReturnTypes.d.ts.map +0 -1
- package/dist/types/lists/ReturnTypes.js +0 -1
- package/dist/types/lists/Reverse.d.ts +0 -8
- package/dist/types/lists/Reverse.d.ts.map +0 -1
- package/dist/types/lists/Reverse.js +0 -1
- package/dist/types/lists/Second.d.ts +0 -13
- package/dist/types/lists/Second.d.ts.map +0 -1
- package/dist/types/lists/Second.js +0 -1
- package/dist/types/lists/Shift.d.ts +0 -20
- package/dist/types/lists/Shift.d.ts.map +0 -1
- package/dist/types/lists/Shift.js +0 -1
- package/dist/types/lists/Slice.d.ts +0 -25
- package/dist/types/lists/Slice.d.ts.map +0 -1
- package/dist/types/lists/Slice.js +0 -1
- package/dist/types/lists/TakeFirst.d.ts +0 -21
- package/dist/types/lists/TakeFirst.d.ts.map +0 -1
- package/dist/types/lists/TakeFirst.js +0 -1
- package/dist/types/lists/TakeLast.d.ts +0 -16
- package/dist/types/lists/TakeLast.d.ts.map +0 -1
- package/dist/types/lists/TakeLast.js +0 -1
- package/dist/types/lists/ToCSV.d.ts +0 -13
- package/dist/types/lists/ToCSV.d.ts.map +0 -1
- package/dist/types/lists/ToCSV.js +0 -1
- package/dist/types/lists/TruthyReturns.d.ts +0 -20
- package/dist/types/lists/TruthyReturns.d.ts.map +0 -1
- package/dist/types/lists/TruthyReturns.js +0 -1
- package/dist/types/lists/UnionFromProp.d.ts +0 -23
- package/dist/types/lists/UnionFromProp.d.ts.map +0 -1
- package/dist/types/lists/UnionFromProp.js +0 -1
- package/dist/types/lists/index.d.ts +0 -49
- package/dist/types/lists/index.d.ts.map +0 -1
- package/dist/types/lists/index.js +0 -56
- package/dist/types/literals/BooleanLike.d.ts +0 -8
- package/dist/types/literals/BooleanLike.d.ts.map +0 -1
- package/dist/types/literals/BooleanLike.js +0 -1
- package/dist/types/literals/Box.d.ts +0 -13
- package/dist/types/literals/Box.d.ts.map +0 -1
- package/dist/types/literals/Box.js +0 -1
- package/dist/types/literals/Choices.d.ts +0 -102
- package/dist/types/literals/Choices.d.ts.map +0 -1
- package/dist/types/literals/Choices.js +0 -1
- package/dist/types/literals/Color.d.ts +0 -43
- package/dist/types/literals/Color.d.ts.map +0 -1
- package/dist/types/literals/Color.js +0 -2
- package/dist/types/literals/ContainerBlockKey.d.ts +0 -15
- package/dist/types/literals/ContainerBlockKey.d.ts.map +0 -1
- package/dist/types/literals/ContainerBlockKey.js +0 -1
- package/dist/types/literals/ContainerKeyGuarantee.d.ts +0 -18
- package/dist/types/literals/ContainerKeyGuarantee.d.ts.map +0 -1
- package/dist/types/literals/ContainerKeyGuarantee.js +0 -1
- package/dist/types/literals/DoneFnTuple.d.ts +0 -28
- package/dist/types/literals/DoneFnTuple.d.ts.map +0 -1
- package/dist/types/literals/DoneFnTuple.js +0 -1
- package/dist/types/literals/ExpandRecursively.d.ts +0 -27
- package/dist/types/literals/ExpandRecursively.d.ts.map +0 -1
- package/dist/types/literals/ExpandRecursively.js +0 -1
- package/dist/types/literals/FromDefn.d.ts +0 -54
- package/dist/types/literals/FromDefn.d.ts.map +0 -1
- package/dist/types/literals/FromDefn.js +0 -1
- package/dist/types/literals/FromTokenNames.d.ts +0 -19
- package/dist/types/literals/FromTokenNames.d.ts.map +0 -1
- package/dist/types/literals/FromTokenNames.js +0 -1
- package/dist/types/literals/Narrow.d.ts +0 -10
- package/dist/types/literals/Narrow.d.ts.map +0 -1
- package/dist/types/literals/Narrow.js +0 -1
- package/dist/types/literals/Narrowable.d.ts +0 -10
- package/dist/types/literals/Narrowable.d.ts.map +0 -1
- package/dist/types/literals/Narrowable.js +0 -1
- package/dist/types/literals/NarrowableDefined.d.ts +0 -10
- package/dist/types/literals/NarrowableDefined.d.ts.map +0 -1
- package/dist/types/literals/NarrowableDefined.js +0 -1
- package/dist/types/literals/NarrowableScalar.d.ts +0 -8
- package/dist/types/literals/NarrowableScalar.d.ts.map +0 -1
- package/dist/types/literals/NarrowableScalar.js +0 -1
- package/dist/types/literals/OptRequired.d.ts +0 -5
- package/dist/types/literals/OptRequired.d.ts.map +0 -1
- package/dist/types/literals/OptRequired.js +0 -1
- package/dist/types/literals/RuntimeUnion.d.ts +0 -14
- package/dist/types/literals/RuntimeUnion.d.ts.map +0 -1
- package/dist/types/literals/RuntimeUnion.js +0 -1
- package/dist/types/literals/Unset.d.ts +0 -13
- package/dist/types/literals/Unset.d.ts.map +0 -1
- package/dist/types/literals/Unset.js +0 -1
- package/dist/types/literals/VueComputedRef.d.ts +0 -35
- package/dist/types/literals/VueComputedRef.d.ts.map +0 -1
- package/dist/types/literals/VueComputedRef.js +0 -11
- package/dist/types/literals/VueRef.d.ts +0 -20
- package/dist/types/literals/VueRef.d.ts.map +0 -1
- package/dist/types/literals/VueRef.js +0 -1
- package/dist/types/literals/date-time-objects.d.ts +0 -719
- package/dist/types/literals/date-time-objects.d.ts.map +0 -1
- package/dist/types/literals/date-time-objects.js +0 -1
- package/dist/types/literals/index.d.ts +0 -21
- package/dist/types/literals/index.d.ts.map +0 -1
- package/dist/types/literals/index.js +0 -20
- package/dist/types/numeric-literals/Abs.d.ts +0 -13
- package/dist/types/numeric-literals/Abs.d.ts.map +0 -1
- package/dist/types/numeric-literals/Abs.js +0 -1
- package/dist/types/numeric-literals/AbsMaybe.d.ts +0 -14
- package/dist/types/numeric-literals/AbsMaybe.d.ts.map +0 -1
- package/dist/types/numeric-literals/AbsMaybe.js +0 -1
- package/dist/types/numeric-literals/Add.d.ts +0 -75
- package/dist/types/numeric-literals/Add.d.ts.map +0 -1
- package/dist/types/numeric-literals/Add.js +0 -1
- package/dist/types/numeric-literals/AsNegativeNumber.d.ts +0 -12
- package/dist/types/numeric-literals/AsNegativeNumber.d.ts.map +0 -1
- package/dist/types/numeric-literals/AsNegativeNumber.js +0 -1
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts +0 -22
- package/dist/types/numeric-literals/AsNumberWhenPossible.d.ts.map +0 -1
- package/dist/types/numeric-literals/AsNumberWhenPossible.js +0 -1
- package/dist/types/numeric-literals/CSV.d.ts +0 -73
- package/dist/types/numeric-literals/CSV.d.ts.map +0 -1
- package/dist/types/numeric-literals/CSV.js +0 -1
- package/dist/types/numeric-literals/Decrement.d.ts +0 -13
- package/dist/types/numeric-literals/Decrement.d.ts.map +0 -1
- package/dist/types/numeric-literals/Decrement.js +0 -1
- package/dist/types/numeric-literals/Delta.d.ts +0 -14
- package/dist/types/numeric-literals/Delta.d.ts.map +0 -1
- package/dist/types/numeric-literals/Delta.js +0 -1
- package/dist/types/numeric-literals/Digit.d.ts +0 -10
- package/dist/types/numeric-literals/Digit.d.ts.map +0 -1
- package/dist/types/numeric-literals/Digit.js +0 -1
- package/dist/types/numeric-literals/DigitNonZero.d.ts +0 -8
- package/dist/types/numeric-literals/DigitNonZero.d.ts.map +0 -1
- package/dist/types/numeric-literals/DigitNonZero.js +0 -1
- package/dist/types/numeric-literals/Digitize.d.ts +0 -24
- package/dist/types/numeric-literals/Digitize.d.ts.map +0 -1
- package/dist/types/numeric-literals/Digitize.js +0 -1
- package/dist/types/numeric-literals/Increment.d.ts +0 -17
- package/dist/types/numeric-literals/Increment.d.ts.map +0 -1
- package/dist/types/numeric-literals/Increment.js +0 -1
- package/dist/types/numeric-literals/InvertNumericSign.d.ts +0 -9
- package/dist/types/numeric-literals/InvertNumericSign.d.ts.map +0 -1
- package/dist/types/numeric-literals/InvertNumericSign.js +0 -1
- package/dist/types/numeric-literals/LessThan.d.ts +0 -13
- package/dist/types/numeric-literals/LessThan.d.ts.map +0 -1
- package/dist/types/numeric-literals/LessThan.js +0 -1
- package/dist/types/numeric-literals/LessThanOrEqual.d.ts +0 -14
- package/dist/types/numeric-literals/LessThanOrEqual.d.ts.map +0 -1
- package/dist/types/numeric-literals/LessThanOrEqual.js +0 -1
- package/dist/types/numeric-literals/Negative.d.ts +0 -8
- package/dist/types/numeric-literals/Negative.d.ts.map +0 -1
- package/dist/types/numeric-literals/Negative.js +0 -1
- package/dist/types/numeric-literals/NextDigit.d.ts +0 -18
- package/dist/types/numeric-literals/NextDigit.d.ts.map +0 -1
- package/dist/types/numeric-literals/NextDigit.js +0 -1
- package/dist/types/numeric-literals/NumberLike.d.ts +0 -8
- package/dist/types/numeric-literals/NumberLike.d.ts.map +0 -1
- package/dist/types/numeric-literals/NumberLike.js +0 -1
- package/dist/types/numeric-literals/NumericRange.d.ts +0 -14
- package/dist/types/numeric-literals/NumericRange.d.ts.map +0 -1
- package/dist/types/numeric-literals/NumericRange.js +0 -1
- package/dist/types/numeric-literals/PriorDigit.d.ts +0 -18
- package/dist/types/numeric-literals/PriorDigit.d.ts.map +0 -1
- package/dist/types/numeric-literals/PriorDigit.js +0 -1
- package/dist/types/numeric-literals/Subtract.d.ts +0 -13
- package/dist/types/numeric-literals/Subtract.d.ts.map +0 -1
- package/dist/types/numeric-literals/Subtract.js +0 -1
- package/dist/types/numeric-literals/ToInteger.d.ts +0 -18
- package/dist/types/numeric-literals/ToInteger.d.ts.map +0 -1
- package/dist/types/numeric-literals/ToInteger.js +0 -1
- package/dist/types/numeric-literals/ToNumericArray.d.ts +0 -17
- package/dist/types/numeric-literals/ToNumericArray.d.ts.map +0 -1
- package/dist/types/numeric-literals/ToNumericArray.js +0 -1
- package/dist/types/numeric-literals/Zero.d.ts +0 -8
- package/dist/types/numeric-literals/Zero.d.ts.map +0 -1
- package/dist/types/numeric-literals/Zero.js +0 -1
- package/dist/types/numeric-literals/index.d.ts +0 -25
- package/dist/types/numeric-literals/index.d.ts.map +0 -1
- package/dist/types/numeric-literals/index.js +0 -25
- package/dist/types/queues/FifoQueue.d.ts +0 -31
- package/dist/types/queues/FifoQueue.d.ts.map +0 -1
- package/dist/types/queues/FifoQueue.js +0 -1
- package/dist/types/queues/LifoQueue.d.ts +0 -31
- package/dist/types/queues/LifoQueue.d.ts.map +0 -1
- package/dist/types/queues/LifoQueue.js +0 -1
- package/dist/types/queues/index.d.ts +0 -3
- package/dist/types/queues/index.d.ts.map +0 -1
- package/dist/types/queues/index.js +0 -2
- package/dist/types/runtime-types/AsType.d.ts +0 -16
- package/dist/types/runtime-types/AsType.d.ts.map +0 -1
- package/dist/types/runtime-types/AsType.js +0 -1
- package/dist/types/runtime-types/Dict.d.ts +0 -24
- package/dist/types/runtime-types/Dict.d.ts.map +0 -1
- package/dist/types/runtime-types/Dict.js +0 -2
- package/dist/types/runtime-types/FromLiteralTokens.d.ts +0 -12
- package/dist/types/runtime-types/FromLiteralTokens.d.ts.map +0 -1
- package/dist/types/runtime-types/FromLiteralTokens.js +0 -1
- package/dist/types/runtime-types/Rec.d.ts +0 -15
- package/dist/types/runtime-types/Rec.d.ts.map +0 -1
- package/dist/types/runtime-types/Rec.js +0 -2
- package/dist/types/runtime-types/Shape.d.ts +0 -247
- package/dist/types/runtime-types/Shape.d.ts.map +0 -1
- package/dist/types/runtime-types/Shape.js +0 -2
- package/dist/types/runtime-types/SimpleType.d.ts +0 -34
- package/dist/types/runtime-types/SimpleType.d.ts.map +0 -1
- package/dist/types/runtime-types/SimpleType.js +0 -1
- package/dist/types/runtime-types/StringLiteralToken.d.ts +0 -40
- package/dist/types/runtime-types/StringLiteralToken.d.ts.map +0 -1
- package/dist/types/runtime-types/StringLiteralToken.js +0 -1
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts +0 -24
- package/dist/types/runtime-types/TokenizeStringLiteral.d.ts.map +0 -1
- package/dist/types/runtime-types/TokenizeStringLiteral.js +0 -1
- package/dist/types/runtime-types/Type.d.ts +0 -220
- package/dist/types/runtime-types/Type.d.ts.map +0 -1
- package/dist/types/runtime-types/Type.js +0 -1
- package/dist/types/runtime-types/TypeOf.d.ts +0 -54
- package/dist/types/runtime-types/TypeOf.d.ts.map +0 -1
- package/dist/types/runtime-types/TypeOf.js +0 -1
- package/dist/types/runtime-types/TypeToken.d.ts +0 -203
- package/dist/types/runtime-types/TypeToken.d.ts.map +0 -1
- package/dist/types/runtime-types/TypeToken.js +0 -1
- package/dist/types/runtime-types/TypeTuple.d.ts +0 -19
- package/dist/types/runtime-types/TypeTuple.d.ts.map +0 -1
- package/dist/types/runtime-types/TypeTuple.js +0 -1
- package/dist/types/runtime-types/index.d.ts +0 -12
- package/dist/types/runtime-types/index.d.ts.map +0 -1
- package/dist/types/runtime-types/index.js +0 -11
- package/dist/types/sets/IntersectingKeys.d.ts +0 -9
- package/dist/types/sets/IntersectingKeys.d.ts.map +0 -1
- package/dist/types/sets/IntersectingKeys.js +0 -1
- package/dist/types/sets/Intersection.d.ts +0 -53
- package/dist/types/sets/Intersection.d.ts.map +0 -1
- package/dist/types/sets/Intersection.js +0 -1
- package/dist/types/sets/Relate.d.ts +0 -16
- package/dist/types/sets/Relate.d.ts.map +0 -1
- package/dist/types/sets/Relate.js +0 -1
- package/dist/types/sets/SetCandidate.d.ts +0 -9
- package/dist/types/sets/SetCandidate.d.ts.map +0 -1
- package/dist/types/sets/SetCandidate.js +0 -1
- package/dist/types/sets/Unique.d.ts +0 -23
- package/dist/types/sets/Unique.d.ts.map +0 -1
- package/dist/types/sets/Unique.js +0 -1
- package/dist/types/sets/UniqueKeys.d.ts +0 -30
- package/dist/types/sets/UniqueKeys.d.ts.map +0 -1
- package/dist/types/sets/UniqueKeys.js +0 -1
- package/dist/types/sets/UniqueKeysUnion.d.ts +0 -21
- package/dist/types/sets/UniqueKeysUnion.d.ts.map +0 -1
- package/dist/types/sets/UniqueKeysUnion.js +0 -1
- package/dist/types/sets/UniqueKv.d.ts +0 -14
- package/dist/types/sets/UniqueKv.d.ts.map +0 -1
- package/dist/types/sets/UniqueKv.js +0 -1
- package/dist/types/sets/index.d.ts +0 -9
- package/dist/types/sets/index.d.ts.map +0 -1
- package/dist/types/sets/index.js +0 -8
- package/dist/types/string-literals/AfterFirstChar.d.ts +0 -23
- package/dist/types/string-literals/AfterFirstChar.d.ts.map +0 -1
- package/dist/types/string-literals/AfterFirstChar.js +0 -1
- package/dist/types/string-literals/Calendar.d.ts +0 -13
- package/dist/types/string-literals/Calendar.d.ts.map +0 -1
- package/dist/types/string-literals/Calendar.js +0 -1
- package/dist/types/string-literals/Cardinality.d.ts +0 -50
- package/dist/types/string-literals/Cardinality.d.ts.map +0 -1
- package/dist/types/string-literals/Cardinality.js +0 -1
- package/dist/types/string-literals/Chars.d.ts +0 -13
- package/dist/types/string-literals/Chars.d.ts.map +0 -1
- package/dist/types/string-literals/Chars.js +0 -1
- package/dist/types/string-literals/Concat.d.ts +0 -21
- package/dist/types/string-literals/Concat.d.ts.map +0 -1
- package/dist/types/string-literals/Concat.js +0 -1
- package/dist/types/string-literals/Date.d.ts +0 -125
- package/dist/types/string-literals/Date.d.ts.map +0 -1
- package/dist/types/string-literals/Date.js +0 -1
- package/dist/types/string-literals/DateTime.d.ts +0 -95
- package/dist/types/string-literals/DateTime.d.ts.map +0 -1
- package/dist/types/string-literals/DateTime.js +0 -1
- package/dist/types/string-literals/EmptyString.d.ts +0 -7
- package/dist/types/string-literals/EmptyString.d.ts.map +0 -1
- package/dist/types/string-literals/EmptyString.js +0 -1
- package/dist/types/string-literals/EmptyStringOr.d.ts +0 -9
- package/dist/types/string-literals/EmptyStringOr.d.ts.map +0 -1
- package/dist/types/string-literals/EmptyStringOr.js +0 -1
- package/dist/types/string-literals/EnsureLeading.d.ts +0 -31
- package/dist/types/string-literals/EnsureLeading.d.ts.map +0 -1
- package/dist/types/string-literals/EnsureLeading.js +0 -1
- package/dist/types/string-literals/EnsureLeadingEvery.d.ts +0 -16
- package/dist/types/string-literals/EnsureLeadingEvery.d.ts.map +0 -1
- package/dist/types/string-literals/EnsureLeadingEvery.js +0 -1
- package/dist/types/string-literals/EnsureSurround.d.ts +0 -10
- package/dist/types/string-literals/EnsureSurround.d.ts.map +0 -1
- package/dist/types/string-literals/EnsureSurround.js +0 -1
- package/dist/types/string-literals/EnsureTrailing.d.ts +0 -21
- package/dist/types/string-literals/EnsureTrailing.d.ts.map +0 -1
- package/dist/types/string-literals/EnsureTrailing.js +0 -1
- package/dist/types/string-literals/FindIndex.d.ts +0 -68
- package/dist/types/string-literals/FindIndex.d.ts.map +0 -1
- package/dist/types/string-literals/FindIndex.js +0 -1
- package/dist/types/string-literals/FirstChar.d.ts +0 -21
- package/dist/types/string-literals/FirstChar.d.ts.map +0 -1
- package/dist/types/string-literals/FirstChar.js +0 -1
- package/dist/types/string-literals/HasUppercase.d.ts +0 -14
- package/dist/types/string-literals/HasUppercase.d.ts.map +0 -1
- package/dist/types/string-literals/HasUppercase.js +0 -1
- package/dist/types/string-literals/IsCapitalized.d.ts +0 -16
- package/dist/types/string-literals/IsCapitalized.d.ts.map +0 -1
- package/dist/types/string-literals/IsCapitalized.js +0 -1
- package/dist/types/string-literals/Join.d.ts +0 -19
- package/dist/types/string-literals/Join.d.ts.map +0 -1
- package/dist/types/string-literals/Join.js +0 -1
- package/dist/types/string-literals/LastChar.d.ts +0 -21
- package/dist/types/string-literals/LastChar.d.ts.map +0 -1
- package/dist/types/string-literals/LastChar.js +0 -1
- package/dist/types/string-literals/PathJoin.d.ts +0 -21
- package/dist/types/string-literals/PathJoin.d.ts.map +0 -1
- package/dist/types/string-literals/PathJoin.js +0 -1
- package/dist/types/string-literals/Pluralize.d.ts +0 -49
- package/dist/types/string-literals/Pluralize.d.ts.map +0 -1
- package/dist/types/string-literals/Pluralize.js +0 -2
- package/dist/types/string-literals/Prepend.d.ts +0 -14
- package/dist/types/string-literals/Prepend.d.ts.map +0 -1
- package/dist/types/string-literals/Prepend.js +0 -1
- package/dist/types/string-literals/PrependAll.d.ts +0 -8
- package/dist/types/string-literals/PrependAll.d.ts.map +0 -1
- package/dist/types/string-literals/PrependAll.js +0 -1
- package/dist/types/string-literals/Proxmox.d.ts +0 -6
- package/dist/types/string-literals/Proxmox.d.ts.map +0 -1
- package/dist/types/string-literals/Proxmox.js +0 -1
- package/dist/types/string-literals/Repeat.d.ts +0 -8
- package/dist/types/string-literals/Repeat.d.ts.map +0 -1
- package/dist/types/string-literals/Repeat.js +0 -1
- package/dist/types/string-literals/RetainAfter.d.ts +0 -30
- package/dist/types/string-literals/RetainAfter.d.ts.map +0 -1
- package/dist/types/string-literals/RetainAfter.js +0 -1
- package/dist/types/string-literals/RetainUntil.d.ts +0 -34
- package/dist/types/string-literals/RetainUntil.d.ts.map +0 -1
- package/dist/types/string-literals/RetainUntil.js +0 -1
- package/dist/types/string-literals/Split.d.ts +0 -29
- package/dist/types/string-literals/Split.d.ts.map +0 -1
- package/dist/types/string-literals/Split.js +0 -1
- package/dist/types/string-literals/StrLen.d.ts +0 -11
- package/dist/types/string-literals/StrLen.d.ts.map +0 -1
- package/dist/types/string-literals/StrLen.js +0 -1
- package/dist/types/string-literals/StripAfter.d.ts +0 -15
- package/dist/types/string-literals/StripAfter.d.ts.map +0 -1
- package/dist/types/string-literals/StripAfter.js +0 -1
- package/dist/types/string-literals/StripBefore.d.ts +0 -15
- package/dist/types/string-literals/StripBefore.d.ts.map +0 -1
- package/dist/types/string-literals/StripBefore.js +0 -1
- package/dist/types/string-literals/StripLeading.d.ts +0 -21
- package/dist/types/string-literals/StripLeading.d.ts.map +0 -1
- package/dist/types/string-literals/StripLeading.js +0 -1
- package/dist/types/string-literals/StripSurround.d.ts +0 -16
- package/dist/types/string-literals/StripSurround.d.ts.map +0 -1
- package/dist/types/string-literals/StripSurround.js +0 -1
- package/dist/types/string-literals/StripTrailing.d.ts +0 -18
- package/dist/types/string-literals/StripTrailing.d.ts.map +0 -1
- package/dist/types/string-literals/StripTrailing.js +0 -1
- package/dist/types/string-literals/StripUntil.d.ts +0 -18
- package/dist/types/string-literals/StripUntil.d.ts.map +0 -1
- package/dist/types/string-literals/StripUntil.js +0 -1
- package/dist/types/string-literals/Suggest.d.ts +0 -27
- package/dist/types/string-literals/Suggest.d.ts.map +0 -1
- package/dist/types/string-literals/Suggest.js +0 -1
- package/dist/types/string-literals/Surround.d.ts +0 -21
- package/dist/types/string-literals/Surround.d.ts.map +0 -1
- package/dist/types/string-literals/Surround.js +0 -1
- package/dist/types/string-literals/Time.d.ts +0 -192
- package/dist/types/string-literals/Time.d.ts.map +0 -1
- package/dist/types/string-literals/Time.js +0 -1
- package/dist/types/string-literals/Truncate.d.ts +0 -18
- package/dist/types/string-literals/Truncate.d.ts.map +0 -1
- package/dist/types/string-literals/Truncate.js +0 -1
- package/dist/types/string-literals/UnderlyingType.d.ts +0 -18
- package/dist/types/string-literals/UnderlyingType.d.ts.map +0 -1
- package/dist/types/string-literals/UnderlyingType.js +0 -1
- package/dist/types/string-literals/casing/AllCaps.d.ts +0 -13
- package/dist/types/string-literals/casing/AllCaps.d.ts.map +0 -1
- package/dist/types/string-literals/casing/AllCaps.js +0 -1
- package/dist/types/string-literals/casing/CamelCase.d.ts +0 -13
- package/dist/types/string-literals/casing/CamelCase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/CamelCase.js +0 -1
- package/dist/types/string-literals/casing/CapFirstAlpha.d.ts +0 -14
- package/dist/types/string-literals/casing/CapFirstAlpha.d.ts.map +0 -1
- package/dist/types/string-literals/casing/CapFirstAlpha.js +0 -1
- package/dist/types/string-literals/casing/CapitalizeWords.d.ts +0 -5
- package/dist/types/string-literals/casing/CapitalizeWords.d.ts.map +0 -1
- package/dist/types/string-literals/casing/CapitalizeWords.js +0 -1
- package/dist/types/string-literals/casing/DashToSnake.d.ts +0 -2
- package/dist/types/string-literals/casing/DashToSnake.d.ts.map +0 -1
- package/dist/types/string-literals/casing/DashToSnake.js +0 -1
- package/dist/types/string-literals/casing/DashUppercase.d.ts +0 -16
- package/dist/types/string-literals/casing/DashUppercase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/DashUppercase.js +0 -1
- package/dist/types/string-literals/casing/KebabCase.d.ts +0 -24
- package/dist/types/string-literals/casing/KebabCase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/KebabCase.js +0 -1
- package/dist/types/string-literals/casing/LowerAllCaps.d.ts +0 -11
- package/dist/types/string-literals/casing/LowerAllCaps.d.ts.map +0 -1
- package/dist/types/string-literals/casing/LowerAllCaps.js +0 -1
- package/dist/types/string-literals/casing/NamingConvention.d.ts +0 -10
- package/dist/types/string-literals/casing/NamingConvention.d.ts.map +0 -1
- package/dist/types/string-literals/casing/NamingConvention.js +0 -1
- package/dist/types/string-literals/casing/PascalCase.d.ts +0 -17
- package/dist/types/string-literals/casing/PascalCase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/PascalCase.js +0 -2
- package/dist/types/string-literals/casing/RaiseAllLowercase.d.ts +0 -11
- package/dist/types/string-literals/casing/RaiseAllLowercase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/RaiseAllLowercase.js +0 -1
- package/dist/types/string-literals/casing/SnakeCase.d.ts +0 -25
- package/dist/types/string-literals/casing/SnakeCase.d.ts.map +0 -1
- package/dist/types/string-literals/casing/SnakeCase.js +0 -1
- package/dist/types/string-literals/casing/index.d.ts +0 -12
- package/dist/types/string-literals/casing/index.d.ts.map +0 -1
- package/dist/types/string-literals/casing/index.js +0 -11
- package/dist/types/string-literals/character-sets/Alpha.d.ts +0 -12
- package/dist/types/string-literals/character-sets/Alpha.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Alpha.js +0 -1
- package/dist/types/string-literals/character-sets/AlphaChar.d.ts +0 -10
- package/dist/types/string-literals/character-sets/AlphaChar.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/AlphaChar.js +0 -1
- package/dist/types/string-literals/character-sets/AlphaNumeric.d.ts +0 -18
- package/dist/types/string-literals/character-sets/AlphaNumeric.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/AlphaNumeric.js +0 -1
- package/dist/types/string-literals/character-sets/BCP.d.ts +0 -12
- package/dist/types/string-literals/character-sets/BCP.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/BCP.js +0 -1
- package/dist/types/string-literals/character-sets/CSV.d.ts +0 -14
- package/dist/types/string-literals/character-sets/CSV.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/CSV.js +0 -1
- package/dist/types/string-literals/character-sets/CarriageReturn.d.ts +0 -18
- package/dist/types/string-literals/character-sets/CarriageReturn.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/CarriageReturn.js +0 -1
- package/dist/types/string-literals/character-sets/Consonants.d.ts +0 -18
- package/dist/types/string-literals/character-sets/Consonants.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Consonants.js +0 -1
- package/dist/types/string-literals/character-sets/Country.d.ts +0 -98
- package/dist/types/string-literals/character-sets/Country.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Country.js +0 -1
- package/dist/types/string-literals/character-sets/DomainName.d.ts +0 -33
- package/dist/types/string-literals/character-sets/DomainName.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/DomainName.js +0 -1
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts +0 -17
- package/dist/types/string-literals/character-sets/DotPathFor.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/DotPathFor.js +0 -1
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts +0 -19
- package/dist/types/string-literals/character-sets/Hexadecimal.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Hexadecimal.js +0 -1
- package/dist/types/string-literals/character-sets/Indent.d.ts +0 -31
- package/dist/types/string-literals/character-sets/Indent.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Indent.js +0 -1
- package/dist/types/string-literals/character-sets/InlineSvg.d.ts +0 -8
- package/dist/types/string-literals/character-sets/InlineSvg.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/InlineSvg.js +0 -1
- package/dist/types/string-literals/character-sets/IpAddress.d.ts +0 -92
- package/dist/types/string-literals/character-sets/IpAddress.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/IpAddress.js +0 -1
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts +0 -12
- package/dist/types/string-literals/character-sets/LowerAlpha.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/LowerAlpha.js +0 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts +0 -10
- package/dist/types/string-literals/character-sets/LowerAlphaChar.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/LowerAlphaChar.js +0 -1
- package/dist/types/string-literals/character-sets/NonAlpha.d.ts +0 -6
- package/dist/types/string-literals/character-sets/NonAlpha.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/NonAlpha.js +0 -1
- package/dist/types/string-literals/character-sets/NumericChar.d.ts +0 -25
- package/dist/types/string-literals/character-sets/NumericChar.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/NumericChar.js +0 -1
- package/dist/types/string-literals/character-sets/Optional.d.ts +0 -30
- package/dist/types/string-literals/character-sets/Optional.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Optional.js +0 -1
- package/dist/types/string-literals/character-sets/OptionalSpace.d.ts +0 -19
- package/dist/types/string-literals/character-sets/OptionalSpace.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/OptionalSpace.js +0 -1
- package/dist/types/string-literals/character-sets/PlusMinus.d.ts +0 -2
- package/dist/types/string-literals/character-sets/PlusMinus.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/PlusMinus.js +0 -1
- package/dist/types/string-literals/character-sets/Punctuation.d.ts +0 -9
- package/dist/types/string-literals/character-sets/Punctuation.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Punctuation.js +0 -1
- package/dist/types/string-literals/character-sets/Repos.d.ts +0 -37
- package/dist/types/string-literals/character-sets/Repos.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Repos.js +0 -1
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts +0 -31
- package/dist/types/string-literals/character-sets/SingularNoun.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/SingularNoun.js +0 -1
- package/dist/types/string-literals/character-sets/SpecialChar.d.ts +0 -5
- package/dist/types/string-literals/character-sets/SpecialChar.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/SpecialChar.js +0 -1
- package/dist/types/string-literals/character-sets/StringDelimiter.d.ts +0 -5
- package/dist/types/string-literals/character-sets/StringDelimiter.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/StringDelimiter.js +0 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts +0 -10
- package/dist/types/string-literals/character-sets/UpperAlphaChar.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/UpperAlphaChar.js +0 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts +0 -5
- package/dist/types/string-literals/character-sets/ValueAtDotPath.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/ValueAtDotPath.js +0 -1
- package/dist/types/string-literals/character-sets/Variable.d.ts +0 -18
- package/dist/types/string-literals/character-sets/Variable.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Variable.js +0 -1
- package/dist/types/string-literals/character-sets/Whitespace.d.ts +0 -16
- package/dist/types/string-literals/character-sets/Whitespace.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/Whitespace.js +0 -1
- package/dist/types/string-literals/character-sets/YouTube.d.ts +0 -128
- package/dist/types/string-literals/character-sets/YouTube.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/YouTube.js +0 -1
- package/dist/types/string-literals/character-sets/brackets/Brackets.d.ts +0 -7
- package/dist/types/string-literals/character-sets/brackets/Brackets.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/brackets/Brackets.js +0 -1
- package/dist/types/string-literals/character-sets/brackets/ClosingBracket.d.ts +0 -5
- package/dist/types/string-literals/character-sets/brackets/ClosingBracket.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/brackets/ClosingBracket.js +0 -1
- package/dist/types/string-literals/character-sets/brackets/OpeningBracket.d.ts +0 -5
- package/dist/types/string-literals/character-sets/brackets/OpeningBracket.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/brackets/OpeningBracket.js +0 -1
- package/dist/types/string-literals/character-sets/brackets/index.d.ts +0 -4
- package/dist/types/string-literals/character-sets/brackets/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/brackets/index.js +0 -3
- package/dist/types/string-literals/character-sets/css/absolute.d.ts +0 -54
- package/dist/types/string-literals/character-sets/css/absolute.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/absolute.js +0 -1
- package/dist/types/string-literals/character-sets/css/align.d.ts +0 -15
- package/dist/types/string-literals/character-sets/css/align.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/align.js +0 -1
- package/dist/types/string-literals/character-sets/css/animation.d.ts +0 -46
- package/dist/types/string-literals/character-sets/css/animation.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/animation.js +0 -1
- package/dist/types/string-literals/character-sets/css/aria.d.ts +0 -20
- package/dist/types/string-literals/character-sets/css/aria.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/aria.js +0 -1
- package/dist/types/string-literals/character-sets/css/background.d.ts +0 -17
- package/dist/types/string-literals/character-sets/css/background.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/background.js +0 -1
- package/dist/types/string-literals/character-sets/css/border.d.ts +0 -201
- package/dist/types/string-literals/character-sets/css/border.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/border.js +0 -1
- package/dist/types/string-literals/character-sets/css/box.d.ts +0 -18
- package/dist/types/string-literals/character-sets/css/box.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/box.js +0 -1
- package/dist/types/string-literals/character-sets/css/break.d.ts +0 -12
- package/dist/types/string-literals/character-sets/css/break.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/break.js +0 -1
- package/dist/types/string-literals/character-sets/css/color.d.ts +0 -61
- package/dist/types/string-literals/character-sets/css/color.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/color.js +0 -1
- package/dist/types/string-literals/character-sets/css/definition.d.ts +0 -181
- package/dist/types/string-literals/character-sets/css/definition.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/definition.js +0 -1
- package/dist/types/string-literals/character-sets/css/display-position.d.ts +0 -26
- package/dist/types/string-literals/character-sets/css/display-position.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/display-position.js +0 -1
- package/dist/types/string-literals/character-sets/css/font.d.ts +0 -75
- package/dist/types/string-literals/character-sets/css/font.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/font.js +0 -1
- package/dist/types/string-literals/character-sets/css/functions.d.ts +0 -32
- package/dist/types/string-literals/character-sets/css/functions.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/functions.js +0 -1
- package/dist/types/string-literals/character-sets/css/global.d.ts +0 -2
- package/dist/types/string-literals/character-sets/css/global.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/global.js +0 -1
- package/dist/types/string-literals/character-sets/css/html-element.d.ts +0 -31
- package/dist/types/string-literals/character-sets/css/html-element.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/html-element.js +0 -1
- package/dist/types/string-literals/character-sets/css/index.d.ts +0 -33
- package/dist/types/string-literals/character-sets/css/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/index.js +0 -32
- package/dist/types/string-literals/character-sets/css/justify.d.ts +0 -15
- package/dist/types/string-literals/character-sets/css/justify.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/justify.js +0 -1
- package/dist/types/string-literals/character-sets/css/keyframe.d.ts +0 -8
- package/dist/types/string-literals/character-sets/css/keyframe.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/keyframe.js +0 -1
- package/dist/types/string-literals/character-sets/css/margin.d.ts +0 -28
- package/dist/types/string-literals/character-sets/css/margin.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/margin.js +0 -2
- package/dist/types/string-literals/character-sets/css/object.d.ts +0 -23
- package/dist/types/string-literals/character-sets/css/object.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/object.js +0 -1
- package/dist/types/string-literals/character-sets/css/offset.d.ts +0 -21
- package/dist/types/string-literals/character-sets/css/offset.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/offset.js +0 -1
- package/dist/types/string-literals/character-sets/css/outline.d.ts +0 -21
- package/dist/types/string-literals/character-sets/css/outline.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/outline.js +0 -1
- package/dist/types/string-literals/character-sets/css/overflow.d.ts +0 -59
- package/dist/types/string-literals/character-sets/css/overflow.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/overflow.js +0 -1
- package/dist/types/string-literals/character-sets/css/padding.d.ts +0 -27
- package/dist/types/string-literals/character-sets/css/padding.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/padding.js +0 -2
- package/dist/types/string-literals/character-sets/css/place.d.ts +0 -15
- package/dist/types/string-literals/character-sets/css/place.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/place.js +0 -1
- package/dist/types/string-literals/character-sets/css/property.d.ts +0 -19
- package/dist/types/string-literals/character-sets/css/property.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/property.js +0 -1
- package/dist/types/string-literals/character-sets/css/props.d.ts +0 -113
- package/dist/types/string-literals/character-sets/css/props.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/props.js +0 -1
- package/dist/types/string-literals/character-sets/css/pseudo-classes.d.ts +0 -82
- package/dist/types/string-literals/character-sets/css/pseudo-classes.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/pseudo-classes.js +0 -2
- package/dist/types/string-literals/character-sets/css/selector.d.ts +0 -35
- package/dist/types/string-literals/character-sets/css/selector.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/selector.js +0 -1
- package/dist/types/string-literals/character-sets/css/sizing.d.ts +0 -19
- package/dist/types/string-literals/character-sets/css/sizing.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/sizing.js +0 -1
- package/dist/types/string-literals/character-sets/css/stroke.d.ts +0 -17
- package/dist/types/string-literals/character-sets/css/stroke.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/stroke.js +0 -1
- package/dist/types/string-literals/character-sets/css/text.d.ts +0 -46
- package/dist/types/string-literals/character-sets/css/text.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/text.js +0 -1
- package/dist/types/string-literals/character-sets/css/transform.d.ts +0 -19
- package/dist/types/string-literals/character-sets/css/transform.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/css/transform.js +0 -1
- package/dist/types/string-literals/character-sets/images/Exif.d.ts +0 -531
- package/dist/types/string-literals/character-sets/images/Exif.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/images/Exif.js +0 -163
- package/dist/types/string-literals/character-sets/images/ImgFormat.d.ts +0 -19
- package/dist/types/string-literals/character-sets/images/ImgFormat.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/images/ImgFormat.js +0 -1
- package/dist/types/string-literals/character-sets/images/index.d.ts +0 -3
- package/dist/types/string-literals/character-sets/images/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/images/index.js +0 -2
- package/dist/types/string-literals/character-sets/index.d.ts +0 -39
- package/dist/types/string-literals/character-sets/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/index.js +0 -38
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts +0 -12
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/CountryPhoneNumber.js +0 -1
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts +0 -9
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/DialCountryCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts +0 -14
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/GetPhoneCountryCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts +0 -10
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/GetPhoneNumberType.js +0 -1
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts +0 -12
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/InternationalPhoneNumber.js +0 -1
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts +0 -12
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/LocalPhoneNumber.js +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts +0 -6
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneAreaCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts +0 -12
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneCountryCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts +0 -23
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneNumber.js +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts +0 -5
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneNumberDelimiter.js +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts +0 -19
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/PhoneShortCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts +0 -30
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/RawPhoneNumber.js +0 -1
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts +0 -27
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/RemovePhoneCountryCode.js +0 -1
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts +0 -17
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/ToPhoneFormat.js +0 -1
- package/dist/types/string-literals/character-sets/phone/index.d.ts +0 -15
- package/dist/types/string-literals/character-sets/phone/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone/index.js +0 -14
- package/dist/types/string-literals/character-sets/phone.d.ts +0 -5
- package/dist/types/string-literals/character-sets/phone.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/phone.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/ClosingMark.d.ts +0 -19
- package/dist/types/string-literals/character-sets/quotation-marks/ClosingMark.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/ClosingMark.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/OpeningMark.d.ts +0 -19
- package/dist/types/string-literals/character-sets/quotation-marks/OpeningMark.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/OpeningMark.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/QuotationMark.d.ts +0 -32
- package/dist/types/string-literals/character-sets/quotation-marks/QuotationMark.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/QuotationMark.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/SmartMark.d.ts +0 -27
- package/dist/types/string-literals/character-sets/quotation-marks/SmartMark.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/SmartMark.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/StandardMark.d.ts +0 -21
- package/dist/types/string-literals/character-sets/quotation-marks/StandardMark.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/StandardMark.js +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/index.d.ts +0 -7
- package/dist/types/string-literals/character-sets/quotation-marks/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/index.js +0 -6
- package/dist/types/string-literals/character-sets/quotation-marks/individual-smart-marks.d.ts +0 -69
- package/dist/types/string-literals/character-sets/quotation-marks/individual-smart-marks.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/quotation-marks/individual-smart-marks.js +0 -1
- package/dist/types/string-literals/character-sets/tw/TwColor.d.ts +0 -104
- package/dist/types/string-literals/character-sets/tw/TwColor.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/tw/TwColor.js +0 -1
- package/dist/types/string-literals/character-sets/tw/TwModifer.d.ts +0 -23
- package/dist/types/string-literals/character-sets/tw/TwModifer.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/tw/TwModifer.js +0 -1
- package/dist/types/string-literals/character-sets/tw/TwSize.d.ts +0 -8
- package/dist/types/string-literals/character-sets/tw/TwSize.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/tw/TwSize.js +0 -1
- package/dist/types/string-literals/character-sets/tw/TwTarget.d.ts +0 -56
- package/dist/types/string-literals/character-sets/tw/TwTarget.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/tw/TwTarget.js +0 -1
- package/dist/types/string-literals/character-sets/tw/index.d.ts +0 -6
- package/dist/types/string-literals/character-sets/tw/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/tw/index.js +0 -5
- package/dist/types/string-literals/character-sets/urls/Github.d.ts +0 -113
- package/dist/types/string-literals/character-sets/urls/Github.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/Github.js +0 -1
- package/dist/types/string-literals/character-sets/urls/Social.d.ts +0 -26
- package/dist/types/string-literals/character-sets/urls/Social.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/Social.js +0 -1
- package/dist/types/string-literals/character-sets/urls/Url.d.ts +0 -225
- package/dist/types/string-literals/character-sets/urls/Url.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/Url.js +0 -1
- package/dist/types/string-literals/character-sets/urls/bitbucket.d.ts +0 -30
- package/dist/types/string-literals/character-sets/urls/bitbucket.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/bitbucket.js +0 -1
- package/dist/types/string-literals/character-sets/urls/book-urls.d.ts +0 -6
- package/dist/types/string-literals/character-sets/urls/book-urls.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/book-urls.js +0 -1
- package/dist/types/string-literals/character-sets/urls/index.d.ts +0 -6
- package/dist/types/string-literals/character-sets/urls/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/index.js +0 -5
- package/dist/types/string-literals/character-sets/urls/news/australian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/australian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/australian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/belgian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/belgian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/belgian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/canadian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/canadian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/canadian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/chinese.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/chinese.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/chinese.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/danish.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/danish.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/danish.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/dutch.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/dutch.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/dutch.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/french.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/french.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/french.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/german.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/german.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/german.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/index.d.ts +0 -43
- package/dist/types/string-literals/character-sets/urls/news/index.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/index.js +0 -19
- package/dist/types/string-literals/character-sets/urls/news/indian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/indian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/indian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/italian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/italian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/italian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/japanese.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/japanese.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/japanese.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/mexican.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/mexican.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/mexican.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/norwegian.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/norwegian.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/norwegian.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/south-korean.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/south-korean.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/south-korean.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/spanish.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/spanish.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/spanish.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/swiss.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/swiss.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/swiss.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/turkish.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/turkish.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/turkish.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/uk.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/uk.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/uk.js +0 -1
- package/dist/types/string-literals/character-sets/urls/news/us.d.ts +0 -20
- package/dist/types/string-literals/character-sets/urls/news/us.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/news/us.js +0 -1
- package/dist/types/string-literals/character-sets/urls/retail.d.ts +0 -30
- package/dist/types/string-literals/character-sets/urls/retail.d.ts.map +0 -1
- package/dist/types/string-literals/character-sets/urls/retail.js +0 -1
- package/dist/types/string-literals/geo/index.d.ts +0 -3
- package/dist/types/string-literals/geo/index.d.ts.map +0 -1
- package/dist/types/string-literals/geo/index.js +0 -2
- package/dist/types/string-literals/geo/state.d.ts +0 -47
- package/dist/types/string-literals/geo/state.d.ts.map +0 -1
- package/dist/types/string-literals/geo/state.js +0 -1
- package/dist/types/string-literals/geo/zip.d.ts +0 -24
- package/dist/types/string-literals/geo/zip.d.ts.map +0 -1
- package/dist/types/string-literals/geo/zip.js +0 -1
- package/dist/types/string-literals/index.d.ts +0 -45
- package/dist/types/string-literals/index.d.ts.map +0 -1
- package/dist/types/string-literals/index.js +0 -52
- package/dist/types/string-literals/metrics/acceleration.d.ts +0 -26
- package/dist/types/string-literals/metrics/acceleration.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/acceleration.js +0 -1
- package/dist/types/string-literals/metrics/area.d.ts +0 -26
- package/dist/types/string-literals/metrics/area.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/area.js +0 -1
- package/dist/types/string-literals/metrics/current.d.ts +0 -26
- package/dist/types/string-literals/metrics/current.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/current.js +0 -1
- package/dist/types/string-literals/metrics/distance.d.ts +0 -26
- package/dist/types/string-literals/metrics/distance.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/distance.js +0 -1
- package/dist/types/string-literals/metrics/energy.d.ts +0 -26
- package/dist/types/string-literals/metrics/energy.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/energy.js +0 -1
- package/dist/types/string-literals/metrics/frequency.d.ts +0 -26
- package/dist/types/string-literals/metrics/frequency.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/frequency.js +0 -1
- package/dist/types/string-literals/metrics/global.d.ts +0 -30
- package/dist/types/string-literals/metrics/global.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/global.js +0 -1
- package/dist/types/string-literals/metrics/index.d.ts +0 -18
- package/dist/types/string-literals/metrics/index.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/index.js +0 -17
- package/dist/types/string-literals/metrics/luminosity.d.ts +0 -26
- package/dist/types/string-literals/metrics/luminosity.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/luminosity.js +0 -1
- package/dist/types/string-literals/metrics/mass.d.ts +0 -26
- package/dist/types/string-literals/metrics/mass.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/mass.js +0 -1
- package/dist/types/string-literals/metrics/power.d.ts +0 -26
- package/dist/types/string-literals/metrics/power.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/power.js +0 -1
- package/dist/types/string-literals/metrics/pressure.d.ts +0 -26
- package/dist/types/string-literals/metrics/pressure.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/pressure.js +0 -1
- package/dist/types/string-literals/metrics/resistance.d.ts +0 -26
- package/dist/types/string-literals/metrics/resistance.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/resistance.js +0 -1
- package/dist/types/string-literals/metrics/speed.d.ts +0 -24
- package/dist/types/string-literals/metrics/speed.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/speed.js +0 -1
- package/dist/types/string-literals/metrics/temperature.d.ts +0 -26
- package/dist/types/string-literals/metrics/temperature.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/temperature.js +0 -1
- package/dist/types/string-literals/metrics/time.d.ts +0 -26
- package/dist/types/string-literals/metrics/time.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/time.js +0 -1
- package/dist/types/string-literals/metrics/voltage.d.ts +0 -26
- package/dist/types/string-literals/metrics/voltage.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/voltage.js +0 -1
- package/dist/types/string-literals/metrics/volume.d.ts +0 -26
- package/dist/types/string-literals/metrics/volume.d.ts.map +0 -1
- package/dist/types/string-literals/metrics/volume.js +0 -1
- package/dist/types/string-literals/options/DropChars.d.ts +0 -24
- package/dist/types/string-literals/options/DropChars.d.ts.map +0 -1
- package/dist/types/string-literals/options/DropChars.js +0 -1
- package/dist/types/string-literals/options/TypeRequired.d.ts +0 -8
- package/dist/types/string-literals/options/TypeRequired.d.ts.map +0 -1
- package/dist/types/string-literals/options/TypeRequired.js +0 -1
- package/dist/types/string-literals/options/TypeStrength.d.ts +0 -9
- package/dist/types/string-literals/options/TypeStrength.d.ts.map +0 -1
- package/dist/types/string-literals/options/TypeStrength.js +0 -1
- package/dist/types/string-literals/options/index.d.ts +0 -4
- package/dist/types/string-literals/options/index.d.ts.map +0 -1
- package/dist/types/string-literals/options/index.js +0 -3
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/dist/types/tuples/DictArray.d.ts +0 -20
- package/dist/types/tuples/DictArray.d.ts.map +0 -1
- package/dist/types/tuples/DictArray.js +0 -1
- package/dist/types/tuples/FirstKey.d.ts +0 -9
- package/dist/types/tuples/FirstKey.d.ts.map +0 -1
- package/dist/types/tuples/FirstKey.js +0 -1
- package/dist/types/tuples/FirstKeyValue.d.ts +0 -10
- package/dist/types/tuples/FirstKeyValue.d.ts.map +0 -1
- package/dist/types/tuples/FirstKeyValue.js +0 -1
- package/dist/types/tuples/FirstOfEach.d.ts +0 -13
- package/dist/types/tuples/FirstOfEach.d.ts.map +0 -1
- package/dist/types/tuples/FirstOfEach.js +0 -1
- package/dist/types/tuples/FixedLengthArray.d.ts +0 -15
- package/dist/types/tuples/FixedLengthArray.d.ts.map +0 -1
- package/dist/types/tuples/FixedLengthArray.js +0 -1
- package/dist/types/tuples/FromDictArray.d.ts +0 -11
- package/dist/types/tuples/FromDictArray.d.ts.map +0 -1
- package/dist/types/tuples/FromDictArray.js +0 -1
- package/dist/types/tuples/LastCharOfSome.d.ts +0 -1
- package/dist/types/tuples/LastCharOfSome.d.ts.map +0 -1
- package/dist/types/tuples/LastCharOfSome.js +0 -1
- package/dist/types/tuples/LastOfEach.d.ts +0 -16
- package/dist/types/tuples/LastOfEach.d.ts.map +0 -1
- package/dist/types/tuples/LastOfEach.js +0 -1
- package/dist/types/tuples/SecondOfEach.d.ts +0 -11
- package/dist/types/tuples/SecondOfEach.d.ts.map +0 -1
- package/dist/types/tuples/SecondOfEach.js +0 -1
- package/dist/types/tuples/index.d.ts +0 -9
- package/dist/types/tuples/index.d.ts.map +0 -1
- package/dist/types/tuples/index.js +0 -16
- package/dist/types/type-conversion/AsBoolean.d.ts +0 -8
- package/dist/types/type-conversion/AsBoolean.d.ts.map +0 -1
- package/dist/types/type-conversion/AsBoolean.js +0 -1
- package/dist/types/type-conversion/AsContainer.d.ts +0 -9
- package/dist/types/type-conversion/AsContainer.d.ts.map +0 -1
- package/dist/types/type-conversion/AsContainer.js +0 -1
- package/dist/types/type-conversion/AsDefined.d.ts +0 -8
- package/dist/types/type-conversion/AsDefined.d.ts.map +0 -1
- package/dist/types/type-conversion/AsDefined.js +0 -1
- package/dist/types/type-conversion/AsDictionary.d.ts +0 -3
- package/dist/types/type-conversion/AsDictionary.d.ts.map +0 -1
- package/dist/types/type-conversion/AsDictionary.js +0 -1
- package/dist/types/type-conversion/AsFunction.d.ts +0 -9
- package/dist/types/type-conversion/AsFunction.d.ts.map +0 -1
- package/dist/types/type-conversion/AsFunction.js +0 -1
- package/dist/types/type-conversion/AsNonNull.d.ts +0 -21
- package/dist/types/type-conversion/AsNonNull.d.ts.map +0 -1
- package/dist/types/type-conversion/AsNonNull.js +0 -1
- package/dist/types/type-conversion/AsNumber.d.ts +0 -21
- package/dist/types/type-conversion/AsNumber.d.ts.map +0 -1
- package/dist/types/type-conversion/AsNumber.js +0 -1
- package/dist/types/type-conversion/AsObject.d.ts +0 -2
- package/dist/types/type-conversion/AsObject.d.ts.map +0 -1
- package/dist/types/type-conversion/AsObject.js +0 -1
- package/dist/types/type-conversion/AsObjectKeys.d.ts +0 -15
- package/dist/types/type-conversion/AsObjectKeys.d.ts.map +0 -1
- package/dist/types/type-conversion/AsObjectKeys.js +0 -1
- package/dist/types/type-conversion/AsPropertyKey.d.ts +0 -8
- package/dist/types/type-conversion/AsPropertyKey.d.ts.map +0 -1
- package/dist/types/type-conversion/AsPropertyKey.js +0 -1
- package/dist/types/type-conversion/AsRecord.d.ts +0 -10
- package/dist/types/type-conversion/AsRecord.d.ts.map +0 -1
- package/dist/types/type-conversion/AsRecord.js +0 -1
- package/dist/types/type-conversion/AsRef.d.ts +0 -5
- package/dist/types/type-conversion/AsRef.d.ts.map +0 -1
- package/dist/types/type-conversion/AsRef.js +0 -1
- package/dist/types/type-conversion/AsString.d.ts +0 -15
- package/dist/types/type-conversion/AsString.d.ts.map +0 -1
- package/dist/types/type-conversion/AsString.js +0 -1
- package/dist/types/type-conversion/AsStringUnion.d.ts +0 -25
- package/dist/types/type-conversion/AsStringUnion.d.ts.map +0 -1
- package/dist/types/type-conversion/AsStringUnion.js +0 -1
- package/dist/types/type-conversion/Awaited.d.ts +0 -8
- package/dist/types/type-conversion/Awaited.d.ts.map +0 -1
- package/dist/types/type-conversion/Awaited.js +0 -1
- package/dist/types/type-conversion/Break.d.ts +0 -15
- package/dist/types/type-conversion/Break.d.ts.map +0 -1
- package/dist/types/type-conversion/Break.js +0 -1
- package/dist/types/type-conversion/IntersectWithAll.d.ts +0 -18
- package/dist/types/type-conversion/IntersectWithAll.d.ts.map +0 -1
- package/dist/types/type-conversion/IntersectWithAll.js +0 -1
- package/dist/types/type-conversion/JSON.d.ts +0 -25
- package/dist/types/type-conversion/JSON.d.ts.map +0 -1
- package/dist/types/type-conversion/JSON.js +0 -1
- package/dist/types/type-conversion/LeftWhitespace.d.ts +0 -11
- package/dist/types/type-conversion/LeftWhitespace.d.ts.map +0 -1
- package/dist/types/type-conversion/LeftWhitespace.js +0 -1
- package/dist/types/type-conversion/Merge.d.ts +0 -54
- package/dist/types/type-conversion/Merge.d.ts.map +0 -1
- package/dist/types/type-conversion/Merge.js +0 -1
- package/dist/types/type-conversion/MergeObjects.d.ts +0 -10
- package/dist/types/type-conversion/MergeObjects.d.ts.map +0 -1
- package/dist/types/type-conversion/MergeObjects.js +0 -1
- package/dist/types/type-conversion/Mutable.d.ts +0 -30
- package/dist/types/type-conversion/Mutable.d.ts.map +0 -1
- package/dist/types/type-conversion/Mutable.js +0 -1
- package/dist/types/type-conversion/ObjectToCssString.d.ts +0 -19
- package/dist/types/type-conversion/ObjectToCssString.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToCssString.js +0 -1
- package/dist/types/type-conversion/ObjectToJsString.d.ts +0 -19
- package/dist/types/type-conversion/ObjectToJsString.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToJsString.js +0 -1
- package/dist/types/type-conversion/ObjectToJsonString.d.ts +0 -18
- package/dist/types/type-conversion/ObjectToJsonString.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToJsonString.js +0 -1
- package/dist/types/type-conversion/ObjectToKeyframeString.d.ts +0 -19
- package/dist/types/type-conversion/ObjectToKeyframeString.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToKeyframeString.js +0 -1
- package/dist/types/type-conversion/ObjectToTuple.d.ts +0 -28
- package/dist/types/type-conversion/ObjectToTuple.d.ts.map +0 -1
- package/dist/types/type-conversion/ObjectToTuple.js +0 -1
- package/dist/types/type-conversion/ReduceValues.d.ts +0 -19
- package/dist/types/type-conversion/ReduceValues.d.ts.map +0 -1
- package/dist/types/type-conversion/ReduceValues.js +0 -1
- package/dist/types/type-conversion/RemoveFromEnd.d.ts +0 -9
- package/dist/types/type-conversion/RemoveFromEnd.d.ts.map +0 -1
- package/dist/types/type-conversion/RemoveFromEnd.js +0 -1
- package/dist/types/type-conversion/RemoveFromStart.d.ts +0 -9
- package/dist/types/type-conversion/RemoveFromStart.d.ts.map +0 -1
- package/dist/types/type-conversion/RemoveFromStart.js +0 -1
- package/dist/types/type-conversion/RemoveIndex.d.ts +0 -17
- package/dist/types/type-conversion/RemoveIndex.d.ts.map +0 -1
- package/dist/types/type-conversion/RemoveIndex.js +0 -1
- package/dist/types/type-conversion/Replace.d.ts +0 -18
- package/dist/types/type-conversion/Replace.d.ts.map +0 -1
- package/dist/types/type-conversion/Replace.js +0 -1
- package/dist/types/type-conversion/ReplaceAll.d.ts +0 -29
- package/dist/types/type-conversion/ReplaceAll.d.ts.map +0 -1
- package/dist/types/type-conversion/ReplaceAll.js +0 -1
- package/dist/types/type-conversion/RetainChars.d.ts +0 -15
- package/dist/types/type-conversion/RetainChars.d.ts.map +0 -1
- package/dist/types/type-conversion/RetainChars.js +0 -1
- package/dist/types/type-conversion/ReturnValues.d.ts +0 -18
- package/dist/types/type-conversion/ReturnValues.d.ts.map +0 -1
- package/dist/types/type-conversion/ReturnValues.js +0 -1
- package/dist/types/type-conversion/RightWhitespace.d.ts +0 -11
- package/dist/types/type-conversion/RightWhitespace.d.ts.map +0 -1
- package/dist/types/type-conversion/RightWhitespace.js +0 -1
- package/dist/types/type-conversion/StringLength.d.ts +0 -11
- package/dist/types/type-conversion/StringLength.d.ts.map +0 -1
- package/dist/types/type-conversion/StringLength.js +0 -1
- package/dist/types/type-conversion/StringLiteralFromTuple.d.ts +0 -18
- package/dist/types/type-conversion/StringLiteralFromTuple.d.ts.map +0 -1
- package/dist/types/type-conversion/StringLiteralFromTuple.js +0 -1
- package/dist/types/type-conversion/StripChars.d.ts +0 -19
- package/dist/types/type-conversion/StripChars.d.ts.map +0 -1
- package/dist/types/type-conversion/StripChars.js +0 -1
- package/dist/types/type-conversion/ToBoolean.d.ts +0 -15
- package/dist/types/type-conversion/ToBoolean.d.ts.map +0 -1
- package/dist/types/type-conversion/ToBoolean.js +0 -1
- package/dist/types/type-conversion/ToContainer.d.ts +0 -23
- package/dist/types/type-conversion/ToContainer.d.ts.map +0 -1
- package/dist/types/type-conversion/ToContainer.js +0 -1
- package/dist/types/type-conversion/ToJsonValue.d.ts +0 -22
- package/dist/types/type-conversion/ToJsonValue.d.ts.map +0 -1
- package/dist/types/type-conversion/ToJsonValue.js +0 -1
- package/dist/types/type-conversion/ToNumber.d.ts +0 -15
- package/dist/types/type-conversion/ToNumber.d.ts.map +0 -1
- package/dist/types/type-conversion/ToNumber.js +0 -1
- package/dist/types/type-conversion/ToString.d.ts +0 -16
- package/dist/types/type-conversion/ToString.d.ts.map +0 -1
- package/dist/types/type-conversion/ToString.js +0 -1
- package/dist/types/type-conversion/ToStringArray.d.ts +0 -13
- package/dist/types/type-conversion/ToStringArray.d.ts.map +0 -1
- package/dist/types/type-conversion/ToStringArray.js +0 -1
- package/dist/types/type-conversion/ToUnion.d.ts +0 -10
- package/dist/types/type-conversion/ToUnion.d.ts.map +0 -1
- package/dist/types/type-conversion/ToUnion.js +0 -1
- package/dist/types/type-conversion/Trim.d.ts +0 -14
- package/dist/types/type-conversion/Trim.d.ts.map +0 -1
- package/dist/types/type-conversion/Trim.js +0 -1
- package/dist/types/type-conversion/TrimLeft.d.ts +0 -12
- package/dist/types/type-conversion/TrimLeft.d.ts.map +0 -1
- package/dist/types/type-conversion/TrimLeft.js +0 -1
- package/dist/types/type-conversion/TrimRight.d.ts +0 -12
- package/dist/types/type-conversion/TrimRight.d.ts.map +0 -1
- package/dist/types/type-conversion/TrimRight.js +0 -1
- package/dist/types/type-conversion/TupleToUnion.d.ts +0 -14
- package/dist/types/type-conversion/TupleToUnion.d.ts.map +0 -1
- package/dist/types/type-conversion/TupleToUnion.js +0 -1
- package/dist/types/type-conversion/UnionArrayToTuple.d.ts +0 -15
- package/dist/types/type-conversion/UnionArrayToTuple.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionArrayToTuple.js +0 -1
- package/dist/types/type-conversion/UnionFilter.d.ts +0 -42
- package/dist/types/type-conversion/UnionFilter.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionFilter.js +0 -1
- package/dist/types/type-conversion/UnionShift.d.ts +0 -22
- package/dist/types/type-conversion/UnionShift.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionShift.js +0 -1
- package/dist/types/type-conversion/UnionToIntersection.d.ts +0 -7
- package/dist/types/type-conversion/UnionToIntersection.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionToIntersection.js +0 -1
- package/dist/types/type-conversion/UnionToTuple.d.ts +0 -19
- package/dist/types/type-conversion/UnionToTuple.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionToTuple.js +0 -1
- package/dist/types/type-conversion/UnionWithAll.d.ts +0 -15
- package/dist/types/type-conversion/UnionWithAll.d.ts.map +0 -1
- package/dist/types/type-conversion/UnionWithAll.js +0 -1
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts +0 -20
- package/dist/types/type-conversion/ValueOrReturnValue.d.ts.map +0 -1
- package/dist/types/type-conversion/ValueOrReturnValue.js +0 -1
- package/dist/types/type-conversion/Widen.d.ts +0 -47
- package/dist/types/type-conversion/Widen.d.ts.map +0 -1
- package/dist/types/type-conversion/Widen.js +0 -3
- package/dist/types/type-conversion/WidenValues.d.ts +0 -16
- package/dist/types/type-conversion/WidenValues.d.ts.map +0 -1
- package/dist/types/type-conversion/WidenValues.js +0 -1
- package/dist/types/type-conversion/WithDefault.d.ts +0 -23
- package/dist/types/type-conversion/WithDefault.d.ts.map +0 -1
- package/dist/types/type-conversion/WithDefault.js +0 -1
- package/dist/types/type-conversion/form-fields.d.ts +0 -9
- package/dist/types/type-conversion/form-fields.d.ts.map +0 -1
- package/dist/types/type-conversion/form-fields.js +0 -1
- package/dist/types/type-conversion/index.d.ts +0 -62
- package/dist/types/type-conversion/index.d.ts.map +0 -1
- package/dist/types/type-conversion/index.js +0 -69
|
@@ -0,0 +1,4439 @@
|
|
|
1
|
+
// src/api/defineApi.ts
|
|
2
|
+
function asEscapeFunction(fn2) {
|
|
3
|
+
return createFnWithProps(fn2, { escape: true });
|
|
4
|
+
}
|
|
5
|
+
function asOptionalParamFunction(fn2) {
|
|
6
|
+
return createFnWithProps(fn2, { optionalParams: true });
|
|
7
|
+
}
|
|
8
|
+
function asApi(api2) {
|
|
9
|
+
return isApi(api2) ? api2 : isApiSurface(api2) ? { _kind: "api", surface: api2 } : createErrorCondition("invalid-api");
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// src/api/handleDoneFn.ts
|
|
13
|
+
function handleDoneFn(val, call_bare_fn = false) {
|
|
14
|
+
return isObject(val) || isFunction(val) ? isDoneFn(val) ? val.done() : isFunction(val) ? call_bare_fn ? val() : val : val : isFunction(val) ? call_bare_fn ? val() : val : val;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// src/boolean-logic/ifArray.ts
|
|
18
|
+
function ifArray(val, isAnArray, isNotAnArray) {
|
|
19
|
+
return Array.isArray(val) ? isAnArray(val) : isNotAnArray(val);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// src/boolean-logic/ifArrayPartial.ts
|
|
23
|
+
function ifArrayPartial() {
|
|
24
|
+
return (isAnArray, isNotAnArray) => {
|
|
25
|
+
return (val) => ifArray(val, isAnArray, isNotAnArray);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// src/boolean-logic/ifBoolean.ts
|
|
30
|
+
function ifBoolean(val, ifBoolean2, notBoolean) {
|
|
31
|
+
return isBoolean(val) ? ifBoolean2(val) : notBoolean(val);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// ../constants/dist/index.js
|
|
35
|
+
var LOWER_ALPHA_CHARS = [
|
|
36
|
+
"a",
|
|
37
|
+
"b",
|
|
38
|
+
"c",
|
|
39
|
+
"d",
|
|
40
|
+
"e",
|
|
41
|
+
"f",
|
|
42
|
+
"g",
|
|
43
|
+
"h",
|
|
44
|
+
"i",
|
|
45
|
+
"j",
|
|
46
|
+
"k",
|
|
47
|
+
"l",
|
|
48
|
+
"m",
|
|
49
|
+
"n",
|
|
50
|
+
"o",
|
|
51
|
+
"p",
|
|
52
|
+
"q",
|
|
53
|
+
"r",
|
|
54
|
+
"s",
|
|
55
|
+
"t",
|
|
56
|
+
"u",
|
|
57
|
+
"v",
|
|
58
|
+
"w",
|
|
59
|
+
"x",
|
|
60
|
+
"y",
|
|
61
|
+
"z"
|
|
62
|
+
];
|
|
63
|
+
var UPPER_ALPHA_CHARS = [
|
|
64
|
+
"A",
|
|
65
|
+
"B",
|
|
66
|
+
"C",
|
|
67
|
+
"D",
|
|
68
|
+
"E",
|
|
69
|
+
"F",
|
|
70
|
+
"G",
|
|
71
|
+
"H",
|
|
72
|
+
"I",
|
|
73
|
+
"J",
|
|
74
|
+
"K",
|
|
75
|
+
"L",
|
|
76
|
+
"M",
|
|
77
|
+
"N",
|
|
78
|
+
"O",
|
|
79
|
+
"P",
|
|
80
|
+
"Q",
|
|
81
|
+
"R",
|
|
82
|
+
"S",
|
|
83
|
+
"T",
|
|
84
|
+
"U",
|
|
85
|
+
"V",
|
|
86
|
+
"W",
|
|
87
|
+
"X",
|
|
88
|
+
"Y",
|
|
89
|
+
"Z"
|
|
90
|
+
];
|
|
91
|
+
var ALPHA_CHARS = [
|
|
92
|
+
...LOWER_ALPHA_CHARS,
|
|
93
|
+
...UPPER_ALPHA_CHARS
|
|
94
|
+
];
|
|
95
|
+
var WHITESPACE_CHARS = [
|
|
96
|
+
" ",
|
|
97
|
+
"\n",
|
|
98
|
+
" ",
|
|
99
|
+
"\b"
|
|
100
|
+
];
|
|
101
|
+
function createConstant(kind) {
|
|
102
|
+
return {
|
|
103
|
+
_type: "Constant",
|
|
104
|
+
kind
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
var FALSY_VALUES = [
|
|
108
|
+
false,
|
|
109
|
+
0,
|
|
110
|
+
-0,
|
|
111
|
+
"",
|
|
112
|
+
null,
|
|
113
|
+
void 0,
|
|
114
|
+
Number.NaN
|
|
115
|
+
];
|
|
116
|
+
var US_STATE_LOOKUP_STRICT = [
|
|
117
|
+
{ name: "Alabama", abbrev: "AL" },
|
|
118
|
+
{ name: "Alaska", abbrev: "AK" },
|
|
119
|
+
{ name: "Arizona", abbrev: "AZ" },
|
|
120
|
+
{ name: "Arkansas", abbrev: "AR" },
|
|
121
|
+
{ name: "California", abbrev: "CA" },
|
|
122
|
+
{ name: "Colorado", abbrev: "CO" },
|
|
123
|
+
{ name: "Connecticut", abbrev: "CT" },
|
|
124
|
+
{ name: "Delaware", abbrev: "DE" },
|
|
125
|
+
{ name: "Florida", abbrev: "FL" },
|
|
126
|
+
{ name: "Georgia", abbrev: "GA" },
|
|
127
|
+
{ name: "Hawaii", abbrev: "HI" },
|
|
128
|
+
{ name: "Idaho", abbrev: "ID" },
|
|
129
|
+
{ name: "Illinois", abbrev: "IL" },
|
|
130
|
+
{ name: "Indiana", abbrev: "IN" },
|
|
131
|
+
{ name: "Iowa", abbrev: "IA" },
|
|
132
|
+
{ name: "Kansas", abbrev: "KS" },
|
|
133
|
+
{ name: "Kentucky", abbrev: "KY" },
|
|
134
|
+
{ name: "Louisiana", abbrev: "LA" },
|
|
135
|
+
{ name: "Maine", abbrev: "ME" },
|
|
136
|
+
{ name: "Maryland", abbrev: "MD" },
|
|
137
|
+
{ name: "Massachusetts", abbrev: "MA" },
|
|
138
|
+
{ name: "Michigan", abbrev: "MI" },
|
|
139
|
+
{ name: "Minnesota", abbrev: "MN" },
|
|
140
|
+
{ name: "Mississippi", abbrev: "MS" },
|
|
141
|
+
{ name: "Missouri", abbrev: "MO" },
|
|
142
|
+
{ name: "Montana", abbrev: "MT" },
|
|
143
|
+
{ name: "Nebraska", abbrev: "NE" },
|
|
144
|
+
{ name: "Nevada", abbrev: "NV" },
|
|
145
|
+
{ name: "New Hampshire", abbrev: "NH" },
|
|
146
|
+
{ name: "New Jersey", abbrev: "NJ" },
|
|
147
|
+
{ name: "New Mexico", abbrev: "NM" },
|
|
148
|
+
{ name: "New York", abbrev: "NY" },
|
|
149
|
+
{ name: "North Carolina", abbrev: "NC" },
|
|
150
|
+
{ name: "North Dakota", abbrev: "ND" },
|
|
151
|
+
{ name: "Ohio", abbrev: "OH" },
|
|
152
|
+
{ name: "Oklahoma", abbrev: "OK" },
|
|
153
|
+
{ name: "Oregon", abbrev: "OR" },
|
|
154
|
+
{ name: "Pennsylvania", abbrev: "PA" },
|
|
155
|
+
{ name: "Rhode Island", abbrev: "RI" },
|
|
156
|
+
{ name: "South Carolina", abbrev: "SC" },
|
|
157
|
+
{ name: "South Dakota", abbrev: "SD" },
|
|
158
|
+
{ name: "Tennessee", abbrev: "TN" },
|
|
159
|
+
{ name: "Texas", abbrev: "TX" },
|
|
160
|
+
{ name: "Utah", abbrev: "UT" },
|
|
161
|
+
{ name: "Vermont", abbrev: "VT" },
|
|
162
|
+
{ name: "Virginia", abbrev: "VA" },
|
|
163
|
+
{ name: "Washington", abbrev: "WA" },
|
|
164
|
+
{ name: "West Virginia", abbrev: "WV" },
|
|
165
|
+
{ name: "Wisconsin", abbrev: "WI" },
|
|
166
|
+
{ name: "Wyoming", abbrev: "WY" }
|
|
167
|
+
];
|
|
168
|
+
var US_STATE_LOOKUP_PROVINCES = [
|
|
169
|
+
{ name: "Puerto Rico", abbrev: "PR" },
|
|
170
|
+
{ name: "Virgin Islands", abbrev: "VI" },
|
|
171
|
+
{ name: "Palau", abbrev: "PW" },
|
|
172
|
+
{ name: "Federated States of Micronesia", abbrev: "FM" },
|
|
173
|
+
{ name: "Northern Mariana Islands", abbrev: "MP" },
|
|
174
|
+
{ name: "District of Columbia", abbrev: "DC" },
|
|
175
|
+
{ name: "Marshall Islands", abbrev: "MH" },
|
|
176
|
+
{ name: "American Samoa", abbrev: "AS" },
|
|
177
|
+
{ name: "Guam", abbrev: "GU" }
|
|
178
|
+
];
|
|
179
|
+
var US_STATE_LOOKUP = [
|
|
180
|
+
...US_STATE_LOOKUP_STRICT,
|
|
181
|
+
...US_STATE_LOOKUP_PROVINCES
|
|
182
|
+
];
|
|
183
|
+
var ISO3166_1 = [
|
|
184
|
+
{ name: "Afghanistan", alpha2: "AF", countryCode: "004", alpha3: "AFG" },
|
|
185
|
+
{ name: "Albania", alpha2: "AL", countryCode: "008", alpha3: "ALB" },
|
|
186
|
+
{ name: "Algeria", alpha2: "DZ", countryCode: "012", alpha3: "DZA" },
|
|
187
|
+
{ name: "Andorra", alpha2: "AD", countryCode: "020", alpha3: "AND" },
|
|
188
|
+
{ name: "Angola", alpha2: "AO", countryCode: "024", alpha3: "AGO" },
|
|
189
|
+
{ name: "Argentina", alpha2: "AR", countryCode: "032", alpha3: "ARG" },
|
|
190
|
+
{ name: "Australia", alpha2: "AU", countryCode: "036", alpha3: "AUS" },
|
|
191
|
+
{ name: "Austria", alpha2: "AT", countryCode: "040", alpha3: "AUT" },
|
|
192
|
+
{ name: "Azerbaijan", alpha2: "AZ", countryCode: "031", alpha3: "AZE" },
|
|
193
|
+
{ name: "Bahamas", alpha2: "BS", countryCode: "044", alpha3: "BHS" },
|
|
194
|
+
{ name: "Bangladesh", alpha2: "BD", countryCode: "050", alpha3: "BGD" },
|
|
195
|
+
{ name: "Belgium", alpha2: "BE", countryCode: "056", alpha3: "BEL" },
|
|
196
|
+
{ name: "Belize", alpha2: "BZ", countryCode: "084", alpha3: "BLZ" },
|
|
197
|
+
{ name: "Benin", alpha2: "BJ", countryCode: "204", alpha3: "BEN" },
|
|
198
|
+
{ name: "Bhutan", alpha2: "BT", countryCode: "064", alpha3: "BTN" },
|
|
199
|
+
{ name: "Bolivia", alpha2: "BO", countryCode: "068", alpha3: "BOL" },
|
|
200
|
+
{ name: "Bosnia and Herzegovina", alpha2: "BA", countryCode: "070", alpha3: "BIH" },
|
|
201
|
+
{ name: "Botswana", alpha2: "BW", countryCode: "072", alpha3: "BWA" },
|
|
202
|
+
{ name: "Brazil", alpha2: "BR", countryCode: "076", alpha3: "BRA" },
|
|
203
|
+
{ name: "Brunei Darussalam", alpha2: "BN", countryCode: "096", alpha3: "BRN" },
|
|
204
|
+
{ name: "Bulgaria", alpha2: "BG", countryCode: "100", alpha3: "BGR" },
|
|
205
|
+
{ name: "Burkina Faso", alpha2: "BF", countryCode: "854", alpha3: "BFA" },
|
|
206
|
+
{ name: "Burundi", alpha2: "BI", countryCode: "108", alpha3: "BDI" },
|
|
207
|
+
{ name: "Cambodia", alpha2: "KH", countryCode: "116", alpha3: "KHM" },
|
|
208
|
+
{ name: "Cameroon", alpha2: "CM", countryCode: "120", alpha3: "CMR" },
|
|
209
|
+
{ name: "Canada", alpha2: "CA", countryCode: "124", alpha3: "CAN" },
|
|
210
|
+
{ name: "Afghanistan", alpha2: "AF", countryCode: "004", alpha3: "AFG" },
|
|
211
|
+
{ name: "Albania", alpha2: "AL", countryCode: "008", alpha3: "ALB" },
|
|
212
|
+
{ name: "Algeria", alpha2: "DZ", countryCode: "012", alpha3: "DZA" },
|
|
213
|
+
{ name: "Andorra", alpha2: "AD", countryCode: "020", alpha3: "AND" },
|
|
214
|
+
{ name: "Angola", alpha2: "AO", countryCode: "024", alpha3: "AGO" },
|
|
215
|
+
{ name: "Argentina", alpha2: "AR", countryCode: "032", alpha3: "ARG" },
|
|
216
|
+
{ name: "Australia", alpha2: "AU", countryCode: "036", alpha3: "AUS" },
|
|
217
|
+
{ name: "Austria", alpha2: "AT", countryCode: "040", alpha3: "AUT" },
|
|
218
|
+
{ name: "Azerbaijan", alpha2: "AZ", countryCode: "031", alpha3: "AZE" },
|
|
219
|
+
{ name: "Bahamas", alpha2: "BS", countryCode: "044", alpha3: "BHS" },
|
|
220
|
+
{ name: "Bangladesh", alpha2: "BD", countryCode: "050", alpha3: "BGD" },
|
|
221
|
+
{ name: "Belgium", alpha2: "BE", countryCode: "056", alpha3: "BEL" },
|
|
222
|
+
{ name: "Belize", alpha2: "BZ", countryCode: "084", alpha3: "BLZ" },
|
|
223
|
+
{ name: "Benin", alpha2: "BJ", countryCode: "204", alpha3: "BEN" },
|
|
224
|
+
{ name: "Bhutan", alpha2: "BT", countryCode: "064", alpha3: "BTN" },
|
|
225
|
+
{ name: "Bolivia", alpha2: "BO", countryCode: "068", alpha3: "BOL" },
|
|
226
|
+
{ name: "Bosnia and Herzegovina", alpha2: "BA", countryCode: "070", alpha3: "BIH" },
|
|
227
|
+
{ name: "Botswana", alpha2: "BW", countryCode: "072", alpha3: "BWA" },
|
|
228
|
+
{ name: "Brazil", alpha2: "BR", countryCode: "076", alpha3: "BRA" },
|
|
229
|
+
{ name: "Brunei Darussalam", alpha2: "BN", countryCode: "096", alpha3: "BRN" },
|
|
230
|
+
{ name: "Bulgaria", alpha2: "BG", countryCode: "100", alpha3: "BGR" },
|
|
231
|
+
{ name: "Burkina Faso", alpha2: "BF", countryCode: "854", alpha3: "BFA" },
|
|
232
|
+
{ name: "Burundi", alpha2: "BI", countryCode: "108", alpha3: "BDI" },
|
|
233
|
+
{ name: "Cambodia", alpha2: "KH", countryCode: "116", alpha3: "KHM" },
|
|
234
|
+
{ name: "Cameroon", alpha2: "CM", countryCode: "120", alpha3: "CMR" },
|
|
235
|
+
{ name: "Canada", alpha2: "CA", countryCode: "124", alpha3: "CAN" },
|
|
236
|
+
{ name: "Maldives", alpha2: "MV", countryCode: "462", alpha3: "MDV" },
|
|
237
|
+
{ name: "Mali", alpha2: "ML", countryCode: "466", alpha3: "MLI" },
|
|
238
|
+
{ name: "Malta", alpha2: "MT", countryCode: "470", alpha3: "MLT" },
|
|
239
|
+
{ name: "Marshall Islands", alpha2: "MH", countryCode: "584", alpha3: "MHL" },
|
|
240
|
+
{ name: "Mauritania", alpha2: "MR", countryCode: "478", alpha3: "MRT" },
|
|
241
|
+
{ name: "Mauritius", alpha2: "MU", countryCode: "480", alpha3: "MUS" },
|
|
242
|
+
{ name: "Mexico", alpha2: "MX", countryCode: "484", alpha3: "MEX" },
|
|
243
|
+
{ name: "Micronesia (Federated States of)", alpha2: "FM", countryCode: "583", alpha3: "FSM" },
|
|
244
|
+
{ name: "Moldova (Republic of)", alpha2: "MD", countryCode: "498", alpha3: "MDA" },
|
|
245
|
+
{ name: "Monaco", alpha2: "MC", countryCode: "492", alpha3: "MCO" },
|
|
246
|
+
{ name: "Mongolia", alpha2: "MN", countryCode: "496", alpha3: "MNG" },
|
|
247
|
+
{ name: "Montenegro", alpha2: "ME", countryCode: "499", alpha3: "MNE" },
|
|
248
|
+
{ name: "Morocco", alpha2: "MA", countryCode: "504", alpha3: "MAR" },
|
|
249
|
+
{ name: "Mozambique", alpha2: "MZ", countryCode: "508", alpha3: "MOZ" },
|
|
250
|
+
{ name: "Myanmar", alpha2: "MM", countryCode: "104", alpha3: "MMR" },
|
|
251
|
+
{ name: "Namibia", alpha2: "NA", countryCode: "516", alpha3: "NAM" },
|
|
252
|
+
{ name: "Nauru", alpha2: "NR", countryCode: "520", alpha3: "NRU" },
|
|
253
|
+
{ name: "Nepal", alpha2: "NP", countryCode: "524", alpha3: "NPL" },
|
|
254
|
+
{ name: "Netherlands", alpha2: "NL", countryCode: "528", alpha3: "NLD" },
|
|
255
|
+
{ name: "New Zealand", alpha2: "NZ", countryCode: "554", alpha3: "NZL" },
|
|
256
|
+
{ name: "Nicaragua", alpha2: "NI", countryCode: "558", alpha3: "NIC" },
|
|
257
|
+
{ name: "Niger", alpha2: "NE", countryCode: "562", alpha3: "NER" },
|
|
258
|
+
{ name: "Nigeria", alpha2: "NG", countryCode: "566", alpha3: "NGA" },
|
|
259
|
+
{ name: "North Macedonia", alpha2: "MK", countryCode: "807", alpha3: "MKD" },
|
|
260
|
+
{ name: "Norway", alpha2: "NO", countryCode: "578", alpha3: "NOR" },
|
|
261
|
+
{ name: "Oman", alpha2: "OM", countryCode: "512", alpha3: "OMN" },
|
|
262
|
+
{ name: "Pakistan", alpha2: "PK", countryCode: "586", alpha3: "PAK" },
|
|
263
|
+
{ name: "Palau", alpha2: "PW", countryCode: "585", alpha3: "PLW" },
|
|
264
|
+
{ name: "Panama", alpha2: "PA", countryCode: "591", alpha3: "PAN" },
|
|
265
|
+
{ name: "Papua New Guinea", alpha2: "PG", countryCode: "598", alpha3: "PNG" },
|
|
266
|
+
{ name: "Paraguay", alpha2: "PY", countryCode: "600", alpha3: "PRY" },
|
|
267
|
+
{ name: "Peru", alpha2: "PE", countryCode: "604", alpha3: "PER" },
|
|
268
|
+
{ name: "Philippines", alpha2: "PH", countryCode: "608", alpha3: "PHL" },
|
|
269
|
+
{ name: "Poland", alpha2: "PL", countryCode: "616", alpha3: "POL" },
|
|
270
|
+
{ name: "Portugal", alpha2: "PT", countryCode: "620", alpha3: "PRT" },
|
|
271
|
+
{ name: "Qatar", alpha2: "QA", countryCode: "634", alpha3: "QAT" },
|
|
272
|
+
{ name: "Romania", alpha2: "RO", countryCode: "642", alpha3: "ROU" },
|
|
273
|
+
{ name: "Russian Federation", alpha2: "RU", countryCode: "643", alpha3: "RUS" },
|
|
274
|
+
{ name: "Rwanda", alpha2: "RW", countryCode: "646", alpha3: "RWA" },
|
|
275
|
+
{ name: "Saint Kitts and Nevis", alpha2: "KN", countryCode: "659", alpha3: "KNA" },
|
|
276
|
+
{ name: "Saint Lucia", alpha2: "LC", countryCode: "662", alpha3: "LCA" },
|
|
277
|
+
{ name: "Saint Vincent and the Grenadines", alpha2: "VC", countryCode: "670", alpha3: "VCT" },
|
|
278
|
+
{ name: "Samoa", alpha2: "WS", countryCode: "882", alpha3: "WSM" },
|
|
279
|
+
{ name: "San Marino", alpha2: "SM", countryCode: "674", alpha3: "SMR" },
|
|
280
|
+
{ name: "Sao Tome and Principe", alpha2: "ST", countryCode: "678", alpha3: "STP" },
|
|
281
|
+
{ name: "Saudi Arabia", alpha2: "SA", countryCode: "682", alpha3: "SAU" },
|
|
282
|
+
{ name: "Senegal", alpha2: "SN", countryCode: "686", alpha3: "SEN" },
|
|
283
|
+
{ name: "Serbia", alpha2: "RS", countryCode: "688", alpha3: "SRB" },
|
|
284
|
+
{ name: "Seychelles", alpha2: "SC", countryCode: "690", alpha3: "SYC" },
|
|
285
|
+
{ name: "Sierra Leone", alpha2: "SL", countryCode: "694", alpha3: "SLE" },
|
|
286
|
+
{ name: "Singapore", alpha2: "SG", countryCode: "702", alpha3: "SGP" },
|
|
287
|
+
{ name: "Slovakia", alpha2: "SK", countryCode: "703", alpha3: "SVK" },
|
|
288
|
+
{ name: "Slovenia", alpha2: "SI", countryCode: "705", alpha3: "SVN" },
|
|
289
|
+
{ name: "Solomon Islands", alpha2: "SB", countryCode: "090", alpha3: "SLB" },
|
|
290
|
+
{ name: "Somalia", alpha2: "SO", countryCode: "706", alpha3: "SOM" },
|
|
291
|
+
{ name: "South Africa", alpha2: "ZA", countryCode: "710", alpha3: "ZAF" },
|
|
292
|
+
{ name: "South Sudan", alpha2: "SS", countryCode: "728", alpha3: "SSD" },
|
|
293
|
+
{ name: "Spain", alpha2: "ES", countryCode: "724", alpha3: "ESP" },
|
|
294
|
+
{ name: "Sri Lanka", alpha2: "LK", countryCode: "144", alpha3: "LKA" },
|
|
295
|
+
{ name: "Sudan", alpha2: "SD", countryCode: "729", alpha3: "SDN" },
|
|
296
|
+
{ name: "Suriname", alpha2: "SR", countryCode: "740", alpha3: "SUR" },
|
|
297
|
+
{ name: "Sweden", alpha2: "SE", countryCode: "752", alpha3: "SWE" },
|
|
298
|
+
{ name: "Switzerland", alpha2: "CH", countryCode: "756", alpha3: "CHE" },
|
|
299
|
+
{ name: "Syrian Arab Republic", alpha2: "SY", countryCode: "760", alpha3: "SYR" },
|
|
300
|
+
{ name: "Taiwan", alpha2: "TW", countryCode: "158", alpha3: "TWN" },
|
|
301
|
+
{ name: "Tajikistan", alpha2: "TJ", countryCode: "762", alpha3: "TJK" },
|
|
302
|
+
{ name: "Tanzania", alpha2: "TZ", countryCode: "834", alpha3: "TZA" },
|
|
303
|
+
{ name: "Thailand", alpha2: "TH", countryCode: "764", alpha3: "THA" },
|
|
304
|
+
{ name: "Timor-Leste", alpha2: "TL", countryCode: "626", alpha3: "TLS" },
|
|
305
|
+
{ name: "Togo", alpha2: "TG", countryCode: "768", alpha3: "TGO" },
|
|
306
|
+
{ name: "Tonga", alpha2: "TO", countryCode: "776", alpha3: "TON" },
|
|
307
|
+
{ name: "Tonga", alpha2: "TO", countryCode: "776", alpha3: "TON" },
|
|
308
|
+
{ name: "Trinidad and Tobago", alpha2: "TT", countryCode: "780", alpha3: "TTO" },
|
|
309
|
+
{ name: "Tunisia", alpha2: "TN", countryCode: "788", alpha3: "TUN" },
|
|
310
|
+
{ name: "Turkey", alpha2: "TR", countryCode: "792", alpha3: "TUR" },
|
|
311
|
+
{ name: "Turkmenistan", alpha2: "TM", countryCode: "795", alpha3: "TKM" },
|
|
312
|
+
{ name: "Tuvalu", alpha2: "TV", countryCode: "798", alpha3: "TUV" },
|
|
313
|
+
{ name: "Uganda", alpha2: "UG", countryCode: "800", alpha3: "UGA" },
|
|
314
|
+
{ name: "Ukraine", alpha2: "UA", countryCode: "804", alpha3: "UKR" },
|
|
315
|
+
{ name: "United Arab Emirates", alpha2: "AE", countryCode: "784", alpha3: "ARE" },
|
|
316
|
+
{ name: "United Kingdom", alpha2: "GB", countryCode: "826", alpha3: "GBR" },
|
|
317
|
+
{ name: "United States of America", alpha2: "US", countryCode: "840", alpha3: "USA" },
|
|
318
|
+
{ name: "Uruguay", alpha2: "UY", countryCode: "858", alpha3: "URY" },
|
|
319
|
+
{ name: "Uzbekistan", alpha2: "UZ", countryCode: "860", alpha3: "UZB" },
|
|
320
|
+
{ name: "Vanuatu", alpha2: "VU", countryCode: "548", alpha3: "VUT" },
|
|
321
|
+
{ name: "Venezuela", alpha2: "VE", countryCode: "862", alpha3: "VEN" },
|
|
322
|
+
{ name: "Viet Nam", alpha2: "VN", countryCode: "704", alpha3: "VNM" },
|
|
323
|
+
{ name: "Yemen", alpha2: "YE", countryCode: "887", alpha3: "YEM" },
|
|
324
|
+
{ name: "Zambia", alpha2: "ZM", countryCode: "894", alpha3: "ZMB" },
|
|
325
|
+
{ name: "Zimbabwe", alpha2: "ZW", countryCode: "716", alpha3: "ZWE" }
|
|
326
|
+
];
|
|
327
|
+
var DISTANCE_METRICS_LOOKUP = [
|
|
328
|
+
{ abbrev: "km", name: "kilometer" },
|
|
329
|
+
{ abbrev: "mi", name: "mile" },
|
|
330
|
+
{ abbrev: "mm", name: "millimeter" },
|
|
331
|
+
{ abbrev: "cm", name: "centimeter" },
|
|
332
|
+
{ abbrev: "yd", name: "yard" },
|
|
333
|
+
{ abbrev: "ft", name: "foot" },
|
|
334
|
+
{ abbrev: "in", name: "inch" },
|
|
335
|
+
{ abbrev: "m", name: "meter" },
|
|
336
|
+
{ abbrev: "nm", name: "nautical mile" },
|
|
337
|
+
{ abbrev: "nmi", name: "nanometer" },
|
|
338
|
+
{ abbrev: "\xB5m", name: "micrometer" },
|
|
339
|
+
{ abbrev: "dm", name: "decimeter" },
|
|
340
|
+
{ abbrev: "AU", name: "astronomical unit" },
|
|
341
|
+
{ abbrev: "ly", name: "light year" },
|
|
342
|
+
{ abbrev: "pc", name: "parsec" }
|
|
343
|
+
];
|
|
344
|
+
var MASS_METRICS_LOOKUP = [
|
|
345
|
+
{ abbrev: "g", name: "gram" },
|
|
346
|
+
{ abbrev: "kg", name: "kilogram" },
|
|
347
|
+
{ abbrev: "mg", name: "milligram" },
|
|
348
|
+
{ abbrev: "\xB5g", name: "microgram" },
|
|
349
|
+
{ abbrev: "t", name: "tonne" },
|
|
350
|
+
{ abbrev: "lb", name: "pound" },
|
|
351
|
+
{ abbrev: "oz", name: "ounce" },
|
|
352
|
+
{ abbrev: "st", name: "stone" },
|
|
353
|
+
{ abbrev: "ct", name: "carat" },
|
|
354
|
+
{ abbrev: "Mt", name: "megatonne" },
|
|
355
|
+
{ abbrev: "gt", name: "gigatonne" },
|
|
356
|
+
{ abbrev: "slug", name: "slug" },
|
|
357
|
+
{ abbrev: "dr", name: "dram" },
|
|
358
|
+
{ abbrev: "gr", name: "grain" },
|
|
359
|
+
{ abbrev: "q", name: "quintal" }
|
|
360
|
+
];
|
|
361
|
+
var SPEED_METRICS_LOOKUP = [
|
|
362
|
+
{ abbrev: "m/s", name: "meters per second" },
|
|
363
|
+
{ abbrev: "km/h", name: "kilometers per hour" },
|
|
364
|
+
{ abbrev: "mph", name: "miles per hour" },
|
|
365
|
+
{ abbrev: "kn", name: "knot" },
|
|
366
|
+
{ abbrev: "ft/s", name: "feet per second" },
|
|
367
|
+
{ abbrev: "c", name: "speed of light" },
|
|
368
|
+
{ abbrev: "mach", name: "mach" },
|
|
369
|
+
{ abbrev: "cm/s", name: "centimeters per second" },
|
|
370
|
+
{ abbrev: "in/s", name: "inches per second" },
|
|
371
|
+
{ abbrev: "ly/y", name: "light years per year" }
|
|
372
|
+
];
|
|
373
|
+
var ACCELERATION_METRICS_LOOKUP = [
|
|
374
|
+
{ abbrev: "m/s\xB2", name: "meters per second squared" },
|
|
375
|
+
{ abbrev: "ft/s\xB2", name: "feet per second squared" },
|
|
376
|
+
{ abbrev: "g", name: "g-force" },
|
|
377
|
+
{ abbrev: "Gal", name: "galileo" },
|
|
378
|
+
{ abbrev: "cm/s\xB2", name: "centimeters per second squared" },
|
|
379
|
+
{ abbrev: "km/h\xB2", name: "kilometers per hour squared" },
|
|
380
|
+
{ abbrev: "in/s\xB2", name: "inches per second squared" },
|
|
381
|
+
{ abbrev: "mi/h\xB2", name: "miles per hour squared" },
|
|
382
|
+
{ abbrev: "kn/s\xB2", name: "knots per second squared" }
|
|
383
|
+
];
|
|
384
|
+
var VOLUME_METRICS_LOOKUP = [
|
|
385
|
+
{ abbrev: "L", name: "liter" },
|
|
386
|
+
{ abbrev: "dL", name: "deciliter" },
|
|
387
|
+
{ abbrev: "mL", name: "milliliter" },
|
|
388
|
+
{ abbrev: "\xB5L", name: "microliter" },
|
|
389
|
+
{ abbrev: "cm\xB3", name: "cubic centimeter" },
|
|
390
|
+
{ abbrev: "m\xB3", name: "cubic meter" },
|
|
391
|
+
{ abbrev: "ft\xB3", name: "cubic foot" },
|
|
392
|
+
{ abbrev: "in\xB3", name: "cubic inch" },
|
|
393
|
+
{ abbrev: "gallon", name: "gallon" },
|
|
394
|
+
{ abbrev: "qt", name: "quart" },
|
|
395
|
+
{ abbrev: "pt", name: "pint" },
|
|
396
|
+
{ abbrev: "fl oz", name: "fluid ounce" },
|
|
397
|
+
{ abbrev: "barrel", name: "barrel" },
|
|
398
|
+
{ abbrev: "tbsp", name: "tablespoon" },
|
|
399
|
+
{ abbrev: "tsp", name: "teaspoon" }
|
|
400
|
+
];
|
|
401
|
+
var TEMPERATURE_METRICS_LOOKUP = [
|
|
402
|
+
{ abbrev: "\xB0C", name: "celsius" },
|
|
403
|
+
{ abbrev: "\xB0F", name: "fahrenheit" },
|
|
404
|
+
{ abbrev: "K", name: "kelvin" }
|
|
405
|
+
];
|
|
406
|
+
var PRESSURE_METRICS_LOOKUP = [
|
|
407
|
+
{ abbrev: "Pa", name: "pascal" },
|
|
408
|
+
{ abbrev: "bar", name: "bar" },
|
|
409
|
+
{ abbrev: "atm", name: "atmosphere" },
|
|
410
|
+
{ abbrev: "mmHg", name: "millimeters of mercury" },
|
|
411
|
+
{ abbrev: "psi", name: "pounds per square inch" }
|
|
412
|
+
];
|
|
413
|
+
var ENERGY_METRICS_LOOKUP = [
|
|
414
|
+
{ abbrev: "J", name: "joule" },
|
|
415
|
+
{ abbrev: "cal", name: "calorie" },
|
|
416
|
+
{ abbrev: "kcal", name: "kilocalorie" },
|
|
417
|
+
{ abbrev: "kWh", name: "kilowatt-hour" },
|
|
418
|
+
{ abbrev: "BTU", name: "british thermal unit" },
|
|
419
|
+
{ abbrev: "eV", name: "electronvolt" }
|
|
420
|
+
];
|
|
421
|
+
var TIME_METRICS_LOOKUP = [
|
|
422
|
+
{ abbrev: "s", name: "second" },
|
|
423
|
+
{ abbrev: "m", name: "minute" },
|
|
424
|
+
{ abbrev: "h", name: "hour" },
|
|
425
|
+
{ abbrev: "day", name: "day" },
|
|
426
|
+
{ abbrev: "week", name: "week" },
|
|
427
|
+
{ abbrev: "mo", name: "month" },
|
|
428
|
+
{ abbrev: "ms", name: "millisecond" },
|
|
429
|
+
{ abbrev: "\xB5s", name: "microsecond" },
|
|
430
|
+
{ abbrev: "ns", name: "nanosecond" }
|
|
431
|
+
];
|
|
432
|
+
var POWER_METRICS_LOOKUP = [
|
|
433
|
+
{ abbrev: "W", name: "Watt" },
|
|
434
|
+
{ abbrev: "kW", name: "kilowatt" },
|
|
435
|
+
{ abbrev: "MW", name: "megawatt" },
|
|
436
|
+
{ abbrev: "hp", name: "horsepower" },
|
|
437
|
+
{ abbrev: "GW", name: "gigawatt" }
|
|
438
|
+
];
|
|
439
|
+
var FREQUENCY_METRICS_LOOKUP = [
|
|
440
|
+
{ abbrev: "Hz", name: "hertz" },
|
|
441
|
+
{ abbrev: "kHz", name: "kilohertz" },
|
|
442
|
+
{ abbrev: "MHz", name: "megahertz" },
|
|
443
|
+
{ abbrev: "GHz", name: "gigahertz" },
|
|
444
|
+
{ abbrev: "THz", name: "terahertz" }
|
|
445
|
+
];
|
|
446
|
+
var VOLTAGE_METRICS_LOOKUP = [
|
|
447
|
+
{ abbrev: "V", name: "volt" },
|
|
448
|
+
{ abbrev: "kV", name: "kilovolt" },
|
|
449
|
+
{ abbrev: "mV", name: "millivolt" },
|
|
450
|
+
{ abbrev: "\xB5V", name: "microvolt" }
|
|
451
|
+
];
|
|
452
|
+
var CURRENT_METRICS_LOOKUP = [
|
|
453
|
+
{ abbrev: "A", name: "ampere" },
|
|
454
|
+
{ abbrev: "mA", name: "milliampere" },
|
|
455
|
+
{ abbrev: "\xB5A", name: "microampere" },
|
|
456
|
+
{ abbrev: "kA", name: "kiloampere" }
|
|
457
|
+
];
|
|
458
|
+
var RESISTANCE_METRICS_LOOKUP = [
|
|
459
|
+
{ abbrev: "\u03A9", name: "ohm" },
|
|
460
|
+
{ abbrev: "k\u03A9", name: "kiloohm" },
|
|
461
|
+
{ abbrev: "M\u03A9", name: "megaohm" }
|
|
462
|
+
];
|
|
463
|
+
var LUMINOSITY_METRICS_LOOKUP = [
|
|
464
|
+
{ abbrev: "cd", name: "candela" },
|
|
465
|
+
{ abbrev: "lm", name: "lumen" },
|
|
466
|
+
{ abbrev: "lx", name: "lux" }
|
|
467
|
+
];
|
|
468
|
+
var AREA_METRICS_LOOKUP = [
|
|
469
|
+
{ abbrev: "m\xB2", name: "square meter" },
|
|
470
|
+
{ abbrev: "cm\xB2", name: "square centimeter" },
|
|
471
|
+
{ abbrev: "mm\xB2", name: "square millimeter" },
|
|
472
|
+
{ abbrev: "km\xB2", name: "square kilometer" },
|
|
473
|
+
{ abbrev: "ft\xB2", name: "square foot" },
|
|
474
|
+
{ abbrev: "in\xB2", name: "square inch" },
|
|
475
|
+
{ abbrev: "acre", name: "acre" },
|
|
476
|
+
{ abbrev: "ha", name: "hectare" }
|
|
477
|
+
];
|
|
478
|
+
var NETWORK_PROTOCOL_LOOKUP = {
|
|
479
|
+
http: ["http", "https"],
|
|
480
|
+
ftp: ["ftp", "sftp"],
|
|
481
|
+
file: ["", "file"],
|
|
482
|
+
ws: ["ws", "wss"],
|
|
483
|
+
ssh: ["", "ssh"],
|
|
484
|
+
scp: ["", "scp"]
|
|
485
|
+
};
|
|
486
|
+
var Never = createConstant("never");
|
|
487
|
+
var US_NEWS = [
|
|
488
|
+
{ company: "New York Times", baseUrls: ["www.nytimes.com"] },
|
|
489
|
+
{ company: "CNN", baseUrls: ["www.cnn.com"] },
|
|
490
|
+
{ company: "Fox News", baseUrls: ["www.foxnews.com"] },
|
|
491
|
+
{ company: "NBC News", baseUrls: ["www.nbcnews.com", "www.msnbc.com"] },
|
|
492
|
+
{ company: "ABC News", baseUrls: ["abcnews.go.com"] },
|
|
493
|
+
{ company: "The Washington Post", baseUrls: ["www.washingtonpost.com"] },
|
|
494
|
+
{ company: "USA Today", baseUrls: ["www.usatoday.com"] },
|
|
495
|
+
{ company: "Bloomberg", baseUrls: ["www.bloomberg.com"] },
|
|
496
|
+
{ company: "NPR", baseUrls: ["www.npr.org"] },
|
|
497
|
+
{ company: "CBS News", baseUrls: ["www.cbsnews.com"] },
|
|
498
|
+
{ company: "The Wall Street Journal", baseUrls: ["www.wsj.com"] },
|
|
499
|
+
{ company: "Associated Press (AP)", baseUrls: ["www.apnews.com", "www.ap.org"] },
|
|
500
|
+
{ company: "Reuters", baseUrls: ["www.reuters.com"] },
|
|
501
|
+
{ company: "Newsweek", baseUrls: ["www.newsweek.com"] },
|
|
502
|
+
{ company: "Politico", baseUrls: ["www.politico.com"] },
|
|
503
|
+
{ company: "The Atlantic", baseUrls: ["www.theatlantic.com"] },
|
|
504
|
+
{ company: "Nexstar Media Group", baseUrls: ["www.nexstar.tv"] },
|
|
505
|
+
{ company: "PBS News", baseUrls: ["www.pbs.org"] },
|
|
506
|
+
{ company: "HuffPost", baseUrls: ["www.huffpost.com"] },
|
|
507
|
+
{ company: "The Boston Globe", baseUrls: ["www.bostonglobe.com"] }
|
|
508
|
+
];
|
|
509
|
+
var UK_NEWS = [
|
|
510
|
+
{ company: "BBC", baseUrls: ["www.bbc.co.uk", "www.bbc.com"] },
|
|
511
|
+
{ company: "The Guardian", baseUrls: ["www.theguardian.com/uk"] },
|
|
512
|
+
{ company: "The Daily Mail", baseUrls: ["www.dailymail.co.uk"] },
|
|
513
|
+
{ company: "The Sun", baseUrls: ["www.thesun.co.uk"] },
|
|
514
|
+
{ company: "The Times", baseUrls: ["www.thetimes.co.uk"] },
|
|
515
|
+
{ company: "Sky News", baseUrls: ["news.sky.com"] },
|
|
516
|
+
{ company: "The Telegraph", baseUrls: ["www.telegraph.co.uk"] },
|
|
517
|
+
{ company: "ITV News", baseUrls: ["www.itv.com/news"] },
|
|
518
|
+
{ company: "Financial Times", baseUrls: ["www.ft.com"] },
|
|
519
|
+
{ company: "Metro", baseUrls: ["www.metro.co.uk"] },
|
|
520
|
+
{ company: "The Independent", baseUrls: ["www.independent.co.uk"] },
|
|
521
|
+
{ company: "Evening Standard", baseUrls: ["www.standard.co.uk"] },
|
|
522
|
+
{ company: "Daily Mirror", baseUrls: ["www.mirror.co.uk"] },
|
|
523
|
+
{ company: "Channel 4 News", baseUrls: ["www.channel4.com/news"] },
|
|
524
|
+
{ company: "LBC", baseUrls: ["www.lbc.co.uk"] },
|
|
525
|
+
{ company: "Daily Express", baseUrls: ["www.express.co.uk"] },
|
|
526
|
+
{ company: "Birmingham Mail", baseUrls: ["www.birminghammail.co.uk"] },
|
|
527
|
+
{ company: "Manchester Evening News", baseUrls: ["www.manchestereveningnews.co.uk"] },
|
|
528
|
+
{ company: "The Scotsman", baseUrls: ["www.scotsman.com"] },
|
|
529
|
+
{ company: "Daily Record", baseUrls: ["www.dailyrecord.co.uk"] }
|
|
530
|
+
];
|
|
531
|
+
var GERMAN_NEWS = [
|
|
532
|
+
{ company: "BILD", baseUrls: ["www.bild.de"] },
|
|
533
|
+
{ company: "Die Zeit", baseUrls: ["www.zeit.de"] },
|
|
534
|
+
{ company: "Frankfurter Allgemeine Zeitung", baseUrls: ["www.faz.net"] },
|
|
535
|
+
{ company: "S\xFCddeutsche Zeitung", baseUrls: ["www.sueddeutsche.de"] },
|
|
536
|
+
{ company: "Der Spiegel", baseUrls: ["www.spiegel.de"] },
|
|
537
|
+
{ company: "Die Welt", baseUrls: ["www.welt.de"] },
|
|
538
|
+
{ company: "Tagesschau", baseUrls: ["www.tagesschau.de"] },
|
|
539
|
+
{ company: "t-online", baseUrls: ["www.t-online.de"] },
|
|
540
|
+
{ company: "n-tv", baseUrls: ["www.n-tv.de"] },
|
|
541
|
+
{ company: "Handelsblatt", baseUrls: ["www.handelsblatt.com"] },
|
|
542
|
+
{ company: "Focus Online", baseUrls: ["www.focus.de"] },
|
|
543
|
+
{ company: "Frankfurter Rundschau", baseUrls: ["www.fr.de", "www.fr-online.de"] },
|
|
544
|
+
{ company: "taz - die tageszeitung", baseUrls: ["www.taz.de"] },
|
|
545
|
+
{ company: "Der Tagesspiegel", baseUrls: ["www.tagesspiegel.de"] },
|
|
546
|
+
{ company: "Rheinische Post", baseUrls: ["www.rp-online.de"] },
|
|
547
|
+
{ company: "Express", baseUrls: ["www.express.de"] },
|
|
548
|
+
{ company: "M\xFCnchner Merkur", baseUrls: ["www.merkur.de"] },
|
|
549
|
+
{ company: "Stuttgarter Zeitung", baseUrls: ["www.stuttgarter-zeitung.de"] },
|
|
550
|
+
{ company: "Hamburger Abendblatt", baseUrls: ["www.abendblatt.de"] },
|
|
551
|
+
{ company: "Deutsche Welle", baseUrls: ["www.dw.com"] }
|
|
552
|
+
];
|
|
553
|
+
var FRENCH_NEWS = [
|
|
554
|
+
{ company: "Le Figaro", baseUrls: ["www.lefigaro.fr"] },
|
|
555
|
+
{ company: "Le Monde", baseUrls: ["www.lemonde.fr"] },
|
|
556
|
+
{ company: "France 24", baseUrls: ["www.france24.com"] },
|
|
557
|
+
{ company: "Lib\xE9ration", baseUrls: ["www.liberation.fr"] },
|
|
558
|
+
{ company: "Les Echos", baseUrls: ["www.lesechos.fr"] },
|
|
559
|
+
{ company: "Ouest-France", baseUrls: ["www.ouest-france.fr"] },
|
|
560
|
+
{ company: "Le Parisien", baseUrls: ["www.leparisien.fr"] },
|
|
561
|
+
{ company: "Mediapart", baseUrls: ["www.mediapart.fr"] },
|
|
562
|
+
{ company: "L'Express", baseUrls: ["www.lexpress.fr"] },
|
|
563
|
+
{ company: "La Croix", baseUrls: ["www.la-croix.com"] },
|
|
564
|
+
{ company: "20 Minutes", baseUrls: ["www.20minutes.fr"] },
|
|
565
|
+
{ company: "Courrier International", baseUrls: ["www.courrierinternational.com"] },
|
|
566
|
+
{ company: "Le Point", baseUrls: ["www.lepoint.fr"] },
|
|
567
|
+
{ company: "Marianne", baseUrls: ["www.marianne.net"] },
|
|
568
|
+
{ company: "BFM TV", baseUrls: ["www.bfmtv.com"] },
|
|
569
|
+
{ company: "RTL France", baseUrls: ["www.rtl.fr"] },
|
|
570
|
+
{ company: "Charlie Hebdo", baseUrls: ["www.charliehebdo.fr"] },
|
|
571
|
+
{ company: "Challenges", baseUrls: ["www.challenges.fr"] },
|
|
572
|
+
{ company: "T\xE9l\xE9rama", baseUrls: ["www.telerama.fr"] },
|
|
573
|
+
{ company: "L'Obs", baseUrls: ["www.nouvelobs.com"] }
|
|
574
|
+
];
|
|
575
|
+
var CANADIAN_NEWS = [
|
|
576
|
+
{ company: "CBC News", baseUrls: ["www.cbc.ca"] },
|
|
577
|
+
{ company: "CTV News", baseUrls: ["www.ctvnews.ca"] },
|
|
578
|
+
{ company: "The Globe and Mail", baseUrls: ["www.theglobeandmail.com"] },
|
|
579
|
+
{ company: "Global News", baseUrls: ["www.globalnews.ca"] },
|
|
580
|
+
{ company: "Toronto Star", baseUrls: ["www.thestar.com"] },
|
|
581
|
+
{ company: "National Post", baseUrls: ["www.nationalpost.com"] },
|
|
582
|
+
{ company: "La Presse", baseUrls: ["www.lapresse.ca"] },
|
|
583
|
+
{ company: "Radio-Canada", baseUrls: ["ici.radio-canada.ca"] },
|
|
584
|
+
{ company: "The Canadian Press", baseUrls: ["www.thecanadianpress.com"] },
|
|
585
|
+
{ company: "Financial Post", baseUrls: ["financialpost.com"] },
|
|
586
|
+
{ company: "The Weather Network", baseUrls: ["www.theweathernetwork.com"] },
|
|
587
|
+
{ company: "Le Devoir", baseUrls: ["www.ledevoir.com"] },
|
|
588
|
+
{ company: "TVA Nouvelles", baseUrls: ["www.tvanouvelles.ca"] },
|
|
589
|
+
{ company: "Journal de Montr\xE9al", baseUrls: ["www.journaldemontreal.com"] },
|
|
590
|
+
{ company: "CityNews", baseUrls: ["www.citynews.ca"] },
|
|
591
|
+
{ company: "BNN Bloomberg", baseUrls: ["www.bnnbloomberg.ca"] },
|
|
592
|
+
{ company: "The Hamilton Spectator", baseUrls: ["www.thespec.com"] },
|
|
593
|
+
{ company: "Ottawa Citizen", baseUrls: ["ottawacitizen.com"] },
|
|
594
|
+
{ company: "Windsor Star", baseUrls: ["windsorstar.com"] },
|
|
595
|
+
{ company: "Edmonton Journal", baseUrls: ["edmontonjournal.com"] }
|
|
596
|
+
];
|
|
597
|
+
var DUTCH_NEWS = [
|
|
598
|
+
{ company: "Algemeen Dagblad (AD)", baseUrls: ["www.ad.nl"] },
|
|
599
|
+
{ company: "NOS", baseUrls: ["www.nos.nl"] },
|
|
600
|
+
{ company: "De Telegraaf", baseUrls: ["www.telegraaf.nl"] },
|
|
601
|
+
{ company: "NU.nl", baseUrls: ["www.nu.nl"] },
|
|
602
|
+
{ company: "Volkskrant", baseUrls: ["www.volkskrant.nl"] },
|
|
603
|
+
{ company: "NRC Handelsblad", baseUrls: ["www.nrc.nl"] },
|
|
604
|
+
{ company: "Trouw", baseUrls: ["www.trouw.nl"] },
|
|
605
|
+
{ company: "Het Parool", baseUrls: ["www.parool.nl"] },
|
|
606
|
+
{ company: "RTL Nieuws", baseUrls: ["www.rtlnieuws.nl"] },
|
|
607
|
+
{ company: "BNR Nieuwsradio", baseUrls: ["www.bnr.nl"] },
|
|
608
|
+
{ company: "Emerce", baseUrls: ["www.emerce.nl"] },
|
|
609
|
+
{ company: "VPRO", baseUrls: ["www.vpro.nl"] },
|
|
610
|
+
{ company: "De Gelderlander", baseUrls: ["www.gelderlander.nl"] },
|
|
611
|
+
{ company: "Friesch Dagblad", baseUrls: ["www.frieschdagblad.nl"] },
|
|
612
|
+
{ company: "De Stentor", baseUrls: ["www.destentor.nl"] },
|
|
613
|
+
{ company: "Metro Nieuws", baseUrls: ["www.metronieuws.nl"] },
|
|
614
|
+
{ company: "ANP", baseUrls: ["www.anp.nl"] },
|
|
615
|
+
{ company: "Dagblad van het Noorden", baseUrls: ["www.dvhn.nl"] },
|
|
616
|
+
{ company: "Reformatorisch Dagblad", baseUrls: ["www.rd.nl"] },
|
|
617
|
+
{ company: "Financieele Dagblad", baseUrls: ["www.fd.nl"] }
|
|
618
|
+
];
|
|
619
|
+
var ITALIAN_NEWS = [
|
|
620
|
+
{ company: "ANSA", baseUrls: ["www.ansa.it", "www.ansamed.info"] },
|
|
621
|
+
{ company: "Corriere della Sera", baseUrls: ["www.corriere.it"] },
|
|
622
|
+
{ company: "la Repubblica", baseUrls: ["www.repubblica.it"] },
|
|
623
|
+
{ company: "Il Sole 24 Ore", baseUrls: ["www.ilsole24ore.com"] },
|
|
624
|
+
{ company: "La Stampa", baseUrls: ["www.lastampa.it"] },
|
|
625
|
+
{ company: "Il Messaggero", baseUrls: ["www.ilmessaggero.it"] },
|
|
626
|
+
{ company: "Il Giornale", baseUrls: ["www.ilgiornale.it"] },
|
|
627
|
+
{ company: "Avvenire", baseUrls: ["www.avvenire.it"] },
|
|
628
|
+
{ company: "Il Fatto Quotidiano", baseUrls: ["www.ilfattoquotidiano.it"] },
|
|
629
|
+
{ company: "La Nazione", baseUrls: ["www.lanazione.it"] },
|
|
630
|
+
{ company: "TgCom24", baseUrls: ["www.tgcom24.mediaset.it"] },
|
|
631
|
+
{ company: "Sky TG24", baseUrls: ["tg24.sky.it"] },
|
|
632
|
+
{ company: "Rai News", baseUrls: ["www.rainews.it"] },
|
|
633
|
+
{ company: "Gazzetta dello Sport", baseUrls: ["www.gazzetta.it"] },
|
|
634
|
+
{ company: "Il Resto del Carlino", baseUrls: ["www.ilrestodelcarlino.it"] },
|
|
635
|
+
{ company: "Il Mattino", baseUrls: ["www.ilmattino.it"] },
|
|
636
|
+
{ company: "Il Secolo XIX", baseUrls: ["www.ilsecoloxix.it"] },
|
|
637
|
+
{ company: "Italia Oggi", baseUrls: ["www.italiaoggi.it"] },
|
|
638
|
+
{ company: "Libero", baseUrls: ["www.liberoquotidiano.it"] },
|
|
639
|
+
{ company: "Il Tirreno", baseUrls: ["www.iltirreno.it"] }
|
|
640
|
+
];
|
|
641
|
+
var BELGIUM_NEWS = [
|
|
642
|
+
{ company: "Het Laatste Nieuws (HLN)", baseUrls: ["www.hln.be"] },
|
|
643
|
+
{ company: "Nieuwsblad", baseUrls: ["www.nieuwsblad.be"] },
|
|
644
|
+
{ company: "RTBF", baseUrls: ["www.rtbf.be"] },
|
|
645
|
+
{ company: "Sudinfo", baseUrls: ["www.sudinfo.be"] },
|
|
646
|
+
{ company: "7sur7", baseUrls: ["www.7sur7.be"] },
|
|
647
|
+
{ company: "Le Soir", baseUrls: ["www.lesoir.be"] },
|
|
648
|
+
{ company: "De Standaard", baseUrls: ["www.standaard.be"] },
|
|
649
|
+
{ company: "VRT NWS", baseUrls: ["www.vrt.be"] },
|
|
650
|
+
{ company: "La Libre", baseUrls: ["www.lalibre.be"] },
|
|
651
|
+
{ company: "Gazet van Antwerpen", baseUrls: ["www.gva.be"] },
|
|
652
|
+
{ company: "Het Belang van Limburg", baseUrls: ["www.hbvl.be"] },
|
|
653
|
+
{ company: "De Morgen", baseUrls: ["www.demorgen.be"] },
|
|
654
|
+
{ company: "L'Avenir", baseUrls: ["www.lavenir.net"] },
|
|
655
|
+
{ company: "The Brussels Times", baseUrls: ["www.brusselstimes.com"] },
|
|
656
|
+
{ company: "Metro Belgique", baseUrls: ["nl.metrotime.be"] },
|
|
657
|
+
{ company: "Sudpresse", baseUrls: ["www.sudpress.be"] },
|
|
658
|
+
{ company: "Flamish Radio and TV Broadcasting Organization (VRT)", baseUrls: ["www.vrt.be"] },
|
|
659
|
+
{ company: "Knack", baseUrls: ["www.knack.be"] },
|
|
660
|
+
{ company: "De Tijd", baseUrls: ["www.tijd.be"] },
|
|
661
|
+
{ company: "BX1", baseUrls: ["www.bx1.be"] }
|
|
662
|
+
];
|
|
663
|
+
var MEXICAN_NEWS = [
|
|
664
|
+
{ company: "Televisa", baseUrls: ["www.televisa.news"] },
|
|
665
|
+
{ company: "El Universal", baseUrls: ["www.eluniversal.com.mx"] },
|
|
666
|
+
{ company: "Milenio", baseUrls: ["www.milenio.com"] },
|
|
667
|
+
{ company: "Exc\xE9lsior", baseUrls: ["www.excelsior.com.mx"] },
|
|
668
|
+
{ company: "Reforma", baseUrls: ["www.reforma.com"] },
|
|
669
|
+
{ company: "La Jornada", baseUrls: ["www.jornada.com.mx"] },
|
|
670
|
+
{ company: "El Financiero", baseUrls: ["www.elfinanciero.com.mx"] },
|
|
671
|
+
{ company: "Proceso", baseUrls: ["www.proceso.com.mx"] },
|
|
672
|
+
{ company: "SDP Noticias", baseUrls: ["www.sdpnoticias.com"] },
|
|
673
|
+
{ company: "Diario de Yucat\xE1n", baseUrls: ["www.yucatan.com.mx"] },
|
|
674
|
+
{ company: "El Economista", baseUrls: ["www.eleconomista.com.mx"] },
|
|
675
|
+
{ company: "El Heraldo de M\xE9xico", baseUrls: ["www.heraldodemexico.com.mx"] },
|
|
676
|
+
{ company: "Noticieros Televisa", baseUrls: ["noticieros.televisa.com"] },
|
|
677
|
+
{ company: "Expansi\xF3n", baseUrls: ["expansion.mx"] },
|
|
678
|
+
{ company: "La Raz\xF3n", baseUrls: ["www.razon.com.mx"] },
|
|
679
|
+
{ company: "Noroeste", baseUrls: ["www.noroeste.com.mx"] },
|
|
680
|
+
{ company: "Uniradio Noticias", baseUrls: ["www.uniradionoticias.com"] },
|
|
681
|
+
{ company: "El Imparcial", baseUrls: ["www.elimparcial.com"] },
|
|
682
|
+
{ company: "Publimetro M\xE9xico", baseUrls: ["www.publimetro.com.mx"] },
|
|
683
|
+
{ company: "Notimex", baseUrls: ["www.notimex.gob.mx"] }
|
|
684
|
+
];
|
|
685
|
+
var SPANISH_NEWS = [
|
|
686
|
+
{ company: "El Pa\xEDs", baseUrls: ["www.elpais.com"] },
|
|
687
|
+
{ company: "El Mundo", baseUrls: ["www.elmundo.es"] },
|
|
688
|
+
{ company: "ABC", baseUrls: ["www.abc.es"] },
|
|
689
|
+
{ company: "La Vanguardia", baseUrls: ["www.lavanguardia.com"] },
|
|
690
|
+
{ company: "El Confidencial", baseUrls: ["www.elconfidencial.com"] },
|
|
691
|
+
{ company: "La Raz\xF3n", baseUrls: ["www.larazon.es"] },
|
|
692
|
+
{ company: "20 Minutos", baseUrls: ["www.20minutos.es"] },
|
|
693
|
+
{ company: "Agencia EFE", baseUrls: ["www.efe.com"] },
|
|
694
|
+
{ company: "Europa Press", baseUrls: ["www.europapress.es"] },
|
|
695
|
+
{ company: "Diario AS", baseUrls: ["www.as.com"] },
|
|
696
|
+
{ company: "Mundo Deportivo", baseUrls: ["www.mundodeportivo.com"] },
|
|
697
|
+
{ company: "El Peri\xF3dico", baseUrls: ["www.elperiodico.com"] },
|
|
698
|
+
{ company: "Cinco D\xEDas", baseUrls: ["www.cincodias.com"] },
|
|
699
|
+
{ company: "Expansi\xF3n", baseUrls: ["www.expansion.com"] },
|
|
700
|
+
{ company: "La Informaci\xF3n", baseUrls: ["www.lainformacion.com"] },
|
|
701
|
+
{ company: "OK Diario", baseUrls: ["www.okdiario.com"] },
|
|
702
|
+
{ company: "Heraldo de Arag\xF3n", baseUrls: ["www.heraldo.es"] },
|
|
703
|
+
{ company: "Faro de Vigo", baseUrls: ["www.farodevigo.es"] },
|
|
704
|
+
{ company: "El Correo", baseUrls: ["www.elcorreo.com"] },
|
|
705
|
+
{ company: "Diario Sur", baseUrls: ["www.diariosur.es"] }
|
|
706
|
+
];
|
|
707
|
+
var INDIAN_NEWS = [
|
|
708
|
+
{ company: "The Times of India", baseUrls: ["timesofindia.indiatimes.com"] },
|
|
709
|
+
{ company: "The Hindu", baseUrls: ["www.thehindu.com"] },
|
|
710
|
+
{ company: "Hindustan Times", baseUrls: ["www.hindustantimes.com"] },
|
|
711
|
+
{ company: "NDTV", baseUrls: ["www.ndtv.com"] },
|
|
712
|
+
{ company: "India Today", baseUrls: ["www.indiatoday.in"] },
|
|
713
|
+
{ company: "Zee News", baseUrls: ["zeenews.india.com"] },
|
|
714
|
+
{ company: "Indian Express", baseUrls: ["indianexpress.com"] },
|
|
715
|
+
{ company: "The Economic Times", baseUrls: ["economictimes.indiatimes.com"] },
|
|
716
|
+
{ company: "Deccan Herald", baseUrls: ["www.deccanherald.com"] },
|
|
717
|
+
{ company: "DNA India", baseUrls: ["www.dnaindia.com"] },
|
|
718
|
+
{ company: "The Print", baseUrls: ["theprint.in"] },
|
|
719
|
+
{ company: "News18", baseUrls: ["www.news18.com"] },
|
|
720
|
+
{ company: "Scroll.in", baseUrls: ["scroll.in"] },
|
|
721
|
+
{ company: "Asian News International (ANI)", baseUrls: ["www.aninews.in"] },
|
|
722
|
+
{ company: "Outlook India", baseUrls: ["www.outlookindia.com"] },
|
|
723
|
+
{ company: "Business Standard", baseUrls: ["www.business-standard.com"] },
|
|
724
|
+
{ company: "Mint", baseUrls: ["www.livemint.com"] },
|
|
725
|
+
{ company: "OneIndia", baseUrls: ["www.oneindia.com"] },
|
|
726
|
+
{ company: "Quint", baseUrls: ["www.thequint.com"] },
|
|
727
|
+
{ company: "Free Press Journal", baseUrls: ["www.freepressjournal.in"] }
|
|
728
|
+
];
|
|
729
|
+
var CHINESE_NEWS = [
|
|
730
|
+
{ company: "Xinhua News Agency", baseUrls: ["www.xinhuanet.com"] },
|
|
731
|
+
{ company: "China Central Television (CCTV)", baseUrls: ["www.cctv.com"] },
|
|
732
|
+
{ company: "China Daily", baseUrls: ["www.chinadaily.com.cn"] },
|
|
733
|
+
{ company: "CGTN (China Global Television Network)", baseUrls: ["www.cgtn.com"] },
|
|
734
|
+
{ company: "People's Daily", baseUrls: ["www.people.cn"] },
|
|
735
|
+
{ company: "Global Times", baseUrls: ["www.globaltimes.cn"] },
|
|
736
|
+
{ company: "South China Morning Post", baseUrls: ["www.scmp.com"] },
|
|
737
|
+
{ company: "Shanghai Daily", baseUrls: ["www.shanghaidaily.com"] },
|
|
738
|
+
{ company: "China News Service", baseUrls: ["www.ecns.cn"] },
|
|
739
|
+
{ company: "Caixin", baseUrls: ["www.caixinglobal.com"] },
|
|
740
|
+
{ company: "The Paper", baseUrls: ["www.thepaper.cn"] },
|
|
741
|
+
{ company: "Yicai Global", baseUrls: ["www.yicaiglobal.com"] },
|
|
742
|
+
{ company: "Economic Daily", baseUrls: ["www.ce.cn"] },
|
|
743
|
+
{ company: "21st Century Business Herald", baseUrls: ["www.21jingji.com"] },
|
|
744
|
+
{ company: "Beijing Review", baseUrls: ["www.bjreview.com"] },
|
|
745
|
+
{ company: "China Economic Net", baseUrls: ["www.ce.cn"] },
|
|
746
|
+
{ company: "Tencent News", baseUrls: ["news.qq.com"] },
|
|
747
|
+
{ company: "Sina News", baseUrls: ["news.sina.com.cn"] },
|
|
748
|
+
{ company: "NetEase News", baseUrls: ["news.163.com"] },
|
|
749
|
+
{ company: "Phoenix TV", baseUrls: ["www.ifeng.com"] }
|
|
750
|
+
];
|
|
751
|
+
var DANISH_NEWS = [
|
|
752
|
+
{ company: "Politiken", baseUrls: ["www.politiken.dk"] },
|
|
753
|
+
{ company: "Berlingske", baseUrls: ["www.berlingske.dk"] },
|
|
754
|
+
{ company: "Jyllands-Posten", baseUrls: ["jyllands-posten.dk"] },
|
|
755
|
+
{ company: "Ekstra Bladet", baseUrls: ["ekstrabladet.dk"] },
|
|
756
|
+
{ company: "Information", baseUrls: ["www.information.dk"] },
|
|
757
|
+
{ company: "BT", baseUrls: ["www.bt.dk"] },
|
|
758
|
+
{ company: "Weekendavisen", baseUrls: ["www.weekendavisen.dk"] },
|
|
759
|
+
{ company: "Fyens Stiftstidende", baseUrls: ["fyens.dk"] },
|
|
760
|
+
{ company: "Kristeligt Dagblad", baseUrls: ["www.kristeligt-dagblad.dk"] },
|
|
761
|
+
{ company: "Copenhagen Post", baseUrls: ["cphpost.dk"] },
|
|
762
|
+
{ company: "Nordjyske Stiftstidende", baseUrls: ["nordjyske.dk"] },
|
|
763
|
+
{ company: "\xC5rhus Stiftstidende", baseUrls: ["stiften.dk"] },
|
|
764
|
+
{ company: "Dagbladet B\xF8rsen", baseUrls: ["borsen.dk"] },
|
|
765
|
+
{ company: "Lokalavisen", baseUrls: ["lokalavisen.dk"] },
|
|
766
|
+
{ company: "TV2 Nyheder", baseUrls: ["tv2.dk"] },
|
|
767
|
+
{ company: "DR Nyheder", baseUrls: ["dr.dk"] },
|
|
768
|
+
{ company: "Avisen Danmark", baseUrls: ["avisen.dk"] },
|
|
769
|
+
{ company: "Fagbladet 3F", baseUrls: ["fagbladet3f.dk"] },
|
|
770
|
+
{ company: "Herning Folkeblad", baseUrls: ["herningfolkeblad.dk"] },
|
|
771
|
+
{ company: "Midtjyllands Avis", baseUrls: ["midtjyllandsavis.dk"] }
|
|
772
|
+
];
|
|
773
|
+
var SWISS_NEWS = [
|
|
774
|
+
{ company: "Neue Z\xFCrcher Zeitung (NZZ)", baseUrls: ["www.nzz.ch"], type: ["newspaper", "digital"] },
|
|
775
|
+
{ company: "Swissinfo", baseUrls: ["www.swissinfo.ch"], type: ["digital-first"] },
|
|
776
|
+
{ company: "20 Minuten", baseUrls: ["www.20min.ch"], type: ["newspaper", "digital"] },
|
|
777
|
+
{ company: "Blick", baseUrls: ["www.blick.ch"], type: ["newspaper", "digital"] },
|
|
778
|
+
{ company: "Le Temps", baseUrls: ["www.letemps.ch"], type: ["newspaper", "digital"] },
|
|
779
|
+
{ company: "Tages-Anzeiger", baseUrls: ["www.tagesanzeiger.ch"], type: ["newspaper", "digital"] },
|
|
780
|
+
{ company: "SRF News", baseUrls: ["www.srf.ch"], type: ["television", "radio", "digital"] },
|
|
781
|
+
{ company: "Luzerner Zeitung", baseUrls: ["www.luzernerzeitung.ch"], type: ["newspaper", "digital"] },
|
|
782
|
+
{ company: "La Tribune de Gen\xE8ve", baseUrls: ["www.tdg.ch"], type: ["newspaper", "digital"] },
|
|
783
|
+
{ company: "Aargauer Zeitung", baseUrls: ["www.aargauerzeitung.ch"], type: ["newspaper", "digital"] },
|
|
784
|
+
{ company: "24 Heures", baseUrls: ["www.24heures.ch"], type: ["newspaper", "digital"] },
|
|
785
|
+
{ company: "Radio T\xE9l\xE9vision Suisse (RTS)", baseUrls: ["www.rts.ch"], type: ["television", "radio", "digital"] },
|
|
786
|
+
{ company: "Der Bund", baseUrls: ["www.derbund.ch"], type: ["newspaper", "digital"] },
|
|
787
|
+
{ company: "Schweizer Radio und Fernsehen (SRF)", baseUrls: ["www.srf.ch"], type: ["television", "radio", "digital"] },
|
|
788
|
+
{ company: "Basler Zeitung", baseUrls: ["www.bazonline.ch"], type: ["newspaper", "digital"] },
|
|
789
|
+
{ company: "Handelszeitung", baseUrls: ["www.handelszeitung.ch"], type: ["newspaper", "digital"] },
|
|
790
|
+
{ company: "Watson", baseUrls: ["www.watson.ch"], type: ["digital-first"] },
|
|
791
|
+
{ company: "Le Matin", baseUrls: ["www.lematin.ch"], type: ["newspaper", "digital"] },
|
|
792
|
+
{ company: "La Libert\xE9", baseUrls: ["www.laliberte.ch"], type: ["newspaper", "digital"] },
|
|
793
|
+
{ company: "The Swiss Times", baseUrls: ["www.theswisstimes.ch"], type: ["digital-first"] }
|
|
794
|
+
];
|
|
795
|
+
var AUSTRALIAN_NEWS = [
|
|
796
|
+
{ company: "ABC News", baseUrls: ["www.abc.net.au"], type: ["television", "radio", "digital"] },
|
|
797
|
+
{ company: "The Sydney Morning Herald", baseUrls: ["www.smh.com.au"], type: ["newspaper", "digital"] },
|
|
798
|
+
{ company: "The Australian", baseUrls: ["www.theaustralian.com.au"], type: ["newspaper", "digital"] },
|
|
799
|
+
{ company: "Herald Sun", baseUrls: ["www.heraldsun.com.au"], type: ["newspaper", "digital"] },
|
|
800
|
+
{ company: "9News", baseUrls: ["www.9news.com.au"], type: ["television", "digital"] },
|
|
801
|
+
{ company: "SBS News", baseUrls: ["www.sbs.com.au"], type: ["television", "digital", "multicultural"] },
|
|
802
|
+
{ company: "The Age", baseUrls: ["www.theage.com.au"], type: ["newspaper", "digital"] },
|
|
803
|
+
{ company: "Sky News Australia", baseUrls: ["www.skynews.com.au"], type: ["television", "digital"] },
|
|
804
|
+
{ company: "Australian Financial Review", baseUrls: ["www.afr.com"], type: ["newspaper", "digital"] },
|
|
805
|
+
{ company: "news.com.au", baseUrls: ["www.news.com.au"], type: ["digital-first"] },
|
|
806
|
+
{ company: "The Courier-Mail", baseUrls: ["www.couriermail.com.au"], type: ["newspaper", "digital"] },
|
|
807
|
+
{ company: "7NEWS", baseUrls: ["7news.com.au"], type: ["television", "digital"] },
|
|
808
|
+
{ company: "The West Australian", baseUrls: ["www.thewest.com.au"], type: ["newspaper", "digital"] },
|
|
809
|
+
{ company: "Daily Telegraph", baseUrls: ["www.dailytelegraph.com.au"], type: ["newspaper", "digital"] },
|
|
810
|
+
{ company: "Guardian Australia", baseUrls: ["www.theguardian.com/au"], type: ["digital-first"] },
|
|
811
|
+
{ company: "Crikey", baseUrls: ["www.crikey.com.au"], type: ["digital-first", "independent"] },
|
|
812
|
+
{ company: "AAP (Australian Associated Press)", baseUrls: ["www.aap.com.au"], type: ["news agency", "digital"] },
|
|
813
|
+
{ company: "NT News", baseUrls: ["www.ntnews.com.au"], type: ["newspaper", "digital"] },
|
|
814
|
+
{ company: "The Canberra Times", baseUrls: ["www.canberratimes.com.au"], type: ["newspaper", "digital"] },
|
|
815
|
+
{ company: "Brisbane Times", baseUrls: ["www.brisbanetimes.com.au"], type: ["digital-first"] }
|
|
816
|
+
];
|
|
817
|
+
var JAPANESE_NEWS = [
|
|
818
|
+
{ company: "The Asahi Shimbun", baseUrls: ["www.asahi.com"], type: ["newspaper", "digital"] },
|
|
819
|
+
{ company: "Yomiuri Shimbun", baseUrls: ["www.yomiuri.co.jp"], type: ["newspaper", "digital"] },
|
|
820
|
+
{ company: "Nikkei", baseUrls: ["www.nikkei.com"], type: ["newspaper", "digital"] },
|
|
821
|
+
{ company: "Mainichi Shimbun", baseUrls: ["mainichi.jp"], type: ["newspaper", "digital"] },
|
|
822
|
+
{ company: "Kyodo News", baseUrls: ["www.kyodonews.jp"], type: ["news agency", "digital"] },
|
|
823
|
+
{ company: "Japan Times", baseUrls: ["www.japantimes.co.jp"], type: ["newspaper", "digital"] },
|
|
824
|
+
{ company: "NHK", baseUrls: ["www.nhk.or.jp"], type: ["television", "radio", "digital"] },
|
|
825
|
+
{ company: "Fuji News Network (FNN)", baseUrls: ["www.fnn.jp"], type: ["television", "digital"] },
|
|
826
|
+
{ company: "Sankei Shimbun", baseUrls: ["www.sankei.com"], type: ["newspaper", "digital"] },
|
|
827
|
+
{ company: "Toyo Keizai", baseUrls: ["www.toyokeizai.net"], type: ["digital", "business magazine"] },
|
|
828
|
+
{ company: "Hokkaido Shimbun", baseUrls: ["www.hokkaido-np.co.jp"], type: ["newspaper", "digital"] },
|
|
829
|
+
{ company: "Shizuoka Shimbun", baseUrls: ["www.at-s.com"], type: ["newspaper", "digital"] },
|
|
830
|
+
{ company: "Tokyo Shimbun", baseUrls: ["www.tokyo-np.co.jp"], type: ["newspaper", "digital"] },
|
|
831
|
+
{ company: "Yahoo Japan News", baseUrls: ["news.yahoo.co.jp"], type: ["digital-first"] },
|
|
832
|
+
{ company: "TBS News", baseUrls: ["news.tbs.co.jp"], type: ["television", "digital"] },
|
|
833
|
+
{ company: "Nippon TV News 24 Japan", baseUrls: ["www.news24.jp"], type: ["television", "digital"] },
|
|
834
|
+
{ company: "Jiji Press", baseUrls: ["www.jiji.com"], type: ["news agency", "digital"] },
|
|
835
|
+
{ company: "TV Asahi News", baseUrls: ["news.tv-asahi.co.jp"], type: ["television", "digital"] },
|
|
836
|
+
{ company: "WOWOW Prime News", baseUrls: ["www.wowow.co.jp"], type: ["television", "digital"] },
|
|
837
|
+
{ company: "Kansai Telecasting Corporation (KTV)", baseUrls: ["www.ktv.jp"], type: ["television", "digital"] }
|
|
838
|
+
];
|
|
839
|
+
var SOUTH_KOREAN_NEWS = [
|
|
840
|
+
{ company: "Yonhap News Agency", baseUrls: ["www.yonhapnews.co.kr"], type: ["news agency", "digital"] },
|
|
841
|
+
{ company: "The Korea Herald", baseUrls: ["www.koreaherald.com"], type: ["newspaper", "digital"] },
|
|
842
|
+
{ company: "The Korea Times", baseUrls: ["www.koreatimes.co.kr"], type: ["newspaper", "digital"] },
|
|
843
|
+
{ company: "Chosun Ilbo", baseUrls: ["www.chosun.com"], type: ["newspaper", "digital"] },
|
|
844
|
+
{ company: "JoongAng Ilbo", baseUrls: ["www.joongang.co.kr"], type: ["newspaper", "digital"] },
|
|
845
|
+
{ company: "Dong-A Ilbo", baseUrls: ["www.donga.com"], type: ["newspaper", "digital"] },
|
|
846
|
+
{ company: "MBC News", baseUrls: ["www.imnews.imbc.com"], type: ["television", "digital"] },
|
|
847
|
+
{ company: "SBS News", baseUrls: ["news.sbs.co.kr"], type: ["television", "digital"] },
|
|
848
|
+
{ company: "KBS News", baseUrls: ["news.kbs.co.kr"], type: ["television", "radio", "digital"] },
|
|
849
|
+
{ company: "Hankyoreh", baseUrls: ["english.hani.co.kr"], type: ["newspaper", "digital"] },
|
|
850
|
+
{ company: "Maeil Business Newspaper", baseUrls: ["www.mk.co.kr"], type: ["newspaper", "digital"] },
|
|
851
|
+
{ company: "MoneyToday", baseUrls: ["www.mt.co.kr"], type: ["digital-first", "business"] },
|
|
852
|
+
{ company: "Seoul Shinmun", baseUrls: ["www.seoul.co.kr"], type: ["newspaper", "digital"] },
|
|
853
|
+
{ company: "OhmyNews", baseUrls: ["www.ohmynews.com"], type: ["digital-first"] },
|
|
854
|
+
{ company: "News1 Korea", baseUrls: ["www.news1.kr"], type: ["news agency", "digital"] },
|
|
855
|
+
{ company: "Asia Business Daily", baseUrls: ["www.asiae.co.kr"], type: ["newspaper", "digital"] },
|
|
856
|
+
{ company: "Herald Business", baseUrls: ["biz.heraldcorp.com"], type: ["newspaper", "digital"] },
|
|
857
|
+
{ company: "eDaily", baseUrls: ["www.edaily.co.kr"], type: ["digital-first", "business"] },
|
|
858
|
+
{ company: "Seoul Economic Daily", baseUrls: ["www.sedaily.com"], type: ["newspaper", "digital"] },
|
|
859
|
+
{ company: "JTBC News", baseUrls: ["news.jtbc.co.kr"], type: ["television", "digital"] }
|
|
860
|
+
];
|
|
861
|
+
var TURKISH_NEWS = [
|
|
862
|
+
{ company: "Anadolu Agency (AA)", baseUrls: ["www.aa.com.tr"], type: ["news agency", "digital"] },
|
|
863
|
+
{ company: "H\xFCrriyet", baseUrls: ["www.hurriyet.com.tr"], type: ["newspaper", "digital"] },
|
|
864
|
+
{ company: "Sabah", baseUrls: ["www.sabah.com.tr"], type: ["newspaper", "digital"] },
|
|
865
|
+
{ company: "Milliyet", baseUrls: ["www.milliyet.com.tr"], type: ["newspaper", "digital"] },
|
|
866
|
+
{ company: "TRT World", baseUrls: ["www.trtworld.com"], type: ["television", "digital"] },
|
|
867
|
+
{ company: "CNN T\xFCrk", baseUrls: ["www.cnnturk.com"], type: ["television", "digital"] },
|
|
868
|
+
{ company: "Sozcu", baseUrls: ["www.sozcu.com.tr"], type: ["newspaper", "digital"] },
|
|
869
|
+
{ company: "Daily Sabah", baseUrls: ["www.dailysabah.com"], type: ["newspaper", "digital"] },
|
|
870
|
+
{ company: "Yeni \u015Eafak", baseUrls: ["www.yenisafak.com"], type: ["newspaper", "digital"] },
|
|
871
|
+
{ company: "Habert\xFCrk", baseUrls: ["www.haberturk.com"], type: ["television", "digital"] },
|
|
872
|
+
{ company: "BirG\xFCn", baseUrls: ["www.birgun.net"], type: ["newspaper", "digital"] },
|
|
873
|
+
{ company: "T\xFCrkiye Gazetesi", baseUrls: ["www.turkiyegazetesi.com.tr"], type: ["newspaper", "digital"] },
|
|
874
|
+
{ company: "Cumhuriyet", baseUrls: ["www.cumhuriyet.com.tr"], type: ["newspaper", "digital"] },
|
|
875
|
+
{ company: "Diken", baseUrls: ["www.diken.com.tr"], type: ["digital-first"] },
|
|
876
|
+
{ company: "NTV", baseUrls: ["www.ntv.com.tr"], type: ["television", "digital"] },
|
|
877
|
+
{ company: "Ensonhaber", baseUrls: ["www.ensonhaber.com"], type: ["digital-first"] },
|
|
878
|
+
{ company: "T24", baseUrls: ["www.t24.com.tr"], type: ["digital-first"] },
|
|
879
|
+
{ company: "Karar", baseUrls: ["www.karar.com"], type: ["newspaper", "digital"] },
|
|
880
|
+
{ company: "Gazete Duvar", baseUrls: ["www.gazeteduvar.com.tr"], type: ["digital-first"] },
|
|
881
|
+
{ company: "Bloomberg HT", baseUrls: ["www.bloomberght.com"], type: ["television", "digital"] }
|
|
882
|
+
];
|
|
883
|
+
var NORWEGIAN_NEWS = [
|
|
884
|
+
{ company: "Aftenposten", baseUrls: ["www.aftenposten.no"], type: ["newspaper", "digital"] },
|
|
885
|
+
{ company: "Verdens Gang (VG)", baseUrls: ["www.vg.no"], type: ["newspaper", "digital"] },
|
|
886
|
+
{ company: "Dagbladet", baseUrls: ["www.dagbladet.no"], type: ["newspaper", "digital"] },
|
|
887
|
+
{ company: "NRK", baseUrls: ["www.nrk.no"], type: ["television", "radio", "digital"] },
|
|
888
|
+
{ company: "Dagens N\xE6ringsliv", baseUrls: ["www.dn.no"], type: ["newspaper", "digital"] },
|
|
889
|
+
{ company: "Nettavisen", baseUrls: ["www.nettavisen.no"], type: ["digital-first"] },
|
|
890
|
+
{ company: "Klassekampen", baseUrls: ["www.klassekampen.no"], type: ["newspaper", "digital"] },
|
|
891
|
+
{ company: "Morgenbladet", baseUrls: ["www.morgenbladet.no"], type: ["newspaper", "digital"] },
|
|
892
|
+
{ company: "E24", baseUrls: ["www.e24.no"], type: ["digital-first", "business"] },
|
|
893
|
+
{ company: "TV2", baseUrls: ["www.tv2.no"], type: ["television", "digital"] },
|
|
894
|
+
{ company: "Bergens Tidende", baseUrls: ["www.bt.no"], type: ["newspaper", "digital"] },
|
|
895
|
+
{ company: "Adresseavisen", baseUrls: ["www.adressa.no"], type: ["newspaper", "digital"] },
|
|
896
|
+
{ company: "Stavanger Aftenblad", baseUrls: ["www.aftenbladet.no"], type: ["newspaper", "digital"] },
|
|
897
|
+
{ company: "F\xE6drelandsvennen", baseUrls: ["www.fvn.no"], type: ["newspaper", "digital"] },
|
|
898
|
+
{ company: "ABC Nyheter", baseUrls: ["www.abcnyheter.no"], type: ["digital-first"] },
|
|
899
|
+
{ company: "Romerikes Blad", baseUrls: ["www.rb.no"], type: ["newspaper", "digital"] },
|
|
900
|
+
{ company: "Sunnm\xF8rsposten", baseUrls: ["www.smp.no"], type: ["newspaper", "digital"] },
|
|
901
|
+
{ company: "Finansavisen", baseUrls: ["www.finansavisen.no"], type: ["newspaper", "digital"] },
|
|
902
|
+
{ company: "Nordlys", baseUrls: ["www.nordlys.no"], type: ["newspaper", "digital"] },
|
|
903
|
+
{ company: "Hamar Arbeiderblad", baseUrls: ["www.h-a.no"], type: ["newspaper", "digital"] }
|
|
904
|
+
];
|
|
905
|
+
var NO_DEFAULT_VALUE = createConstant("no-default-value");
|
|
906
|
+
var NOT_DEFINED = createConstant("not-defined");
|
|
907
|
+
var NUMERIC_CHAR = [
|
|
908
|
+
"0",
|
|
909
|
+
"1",
|
|
910
|
+
"2",
|
|
911
|
+
"3",
|
|
912
|
+
"4",
|
|
913
|
+
"5",
|
|
914
|
+
"6",
|
|
915
|
+
"7",
|
|
916
|
+
"8",
|
|
917
|
+
"9"
|
|
918
|
+
];
|
|
919
|
+
var PLURAL_EXCEPTIONS = {
|
|
920
|
+
photo: "photos",
|
|
921
|
+
piano: "pianos",
|
|
922
|
+
halo: "halos",
|
|
923
|
+
foot: "feet",
|
|
924
|
+
man: "men",
|
|
925
|
+
woman: "women",
|
|
926
|
+
person: "people",
|
|
927
|
+
mouse: "mice",
|
|
928
|
+
series: "series",
|
|
929
|
+
sheep: "sheep",
|
|
930
|
+
money: "monies",
|
|
931
|
+
deer: "deer",
|
|
932
|
+
goose: "geese",
|
|
933
|
+
child: "children",
|
|
934
|
+
tooth: "teeth",
|
|
935
|
+
ox: "oxen",
|
|
936
|
+
basis: "bases",
|
|
937
|
+
radius: "radii",
|
|
938
|
+
syllabus: "syllabi",
|
|
939
|
+
ice: "ice",
|
|
940
|
+
fish: "fish",
|
|
941
|
+
means: "means",
|
|
942
|
+
phenomenon: "phenomena",
|
|
943
|
+
criterion: "criteria",
|
|
944
|
+
datum: "data",
|
|
945
|
+
memorandum: "memoranda",
|
|
946
|
+
bacterium: "bacteria",
|
|
947
|
+
stratum: "strata",
|
|
948
|
+
curriculum: "curricula",
|
|
949
|
+
index: "indices",
|
|
950
|
+
appendix: "appendices",
|
|
951
|
+
vortex: "vortices",
|
|
952
|
+
bison: "bison",
|
|
953
|
+
axis: "axes",
|
|
954
|
+
antenna: "antennas",
|
|
955
|
+
cactus: "cacti",
|
|
956
|
+
corpus: "corpora",
|
|
957
|
+
beau: "beaux",
|
|
958
|
+
die: "dice",
|
|
959
|
+
ellipsis: "ellipses",
|
|
960
|
+
erratum: "errata",
|
|
961
|
+
focus: "foci",
|
|
962
|
+
formula: "formulas",
|
|
963
|
+
fungus: "fungi",
|
|
964
|
+
genus: "genera",
|
|
965
|
+
graffito: "graffiti",
|
|
966
|
+
grouse: "grouses",
|
|
967
|
+
half: "halves",
|
|
968
|
+
hoof: "hooves",
|
|
969
|
+
hypothesis: "hypothesis",
|
|
970
|
+
larva: "larvae",
|
|
971
|
+
libretto: "libretti",
|
|
972
|
+
loaf: "loaves",
|
|
973
|
+
locus: "loci",
|
|
974
|
+
medium: "mediums",
|
|
975
|
+
minutia: "minutiae",
|
|
976
|
+
nucleus: "nuclei",
|
|
977
|
+
oasis: "oases",
|
|
978
|
+
opus: "opuses",
|
|
979
|
+
ovum: "ova",
|
|
980
|
+
parenthesis: "parentheses",
|
|
981
|
+
phylum: "phyla",
|
|
982
|
+
quiz: "quizzes",
|
|
983
|
+
referendum: "referendums",
|
|
984
|
+
self: "selves",
|
|
985
|
+
species: "species",
|
|
986
|
+
stimulus: "stimuli",
|
|
987
|
+
swine: "swine",
|
|
988
|
+
synopsis: "synopses",
|
|
989
|
+
thesis: "theses",
|
|
990
|
+
thief: "thieves",
|
|
991
|
+
vertex: "vertexes",
|
|
992
|
+
wife: "wives",
|
|
993
|
+
wolf: "wolves"
|
|
994
|
+
};
|
|
995
|
+
var REPO_SOURCES = [
|
|
996
|
+
"github",
|
|
997
|
+
"bitbucket",
|
|
998
|
+
"gitlab",
|
|
999
|
+
"codecommit",
|
|
1000
|
+
"local"
|
|
1001
|
+
];
|
|
1002
|
+
var REPO_SOURCE_LOOKUP = {
|
|
1003
|
+
github: [`https://github.com`, "https://github.io"],
|
|
1004
|
+
bitbucket: ["https://bitbucket.org"],
|
|
1005
|
+
gitlab: ["https://gitlab.com"],
|
|
1006
|
+
codecommit: ["https://aws.amazon.com/codecommit/"],
|
|
1007
|
+
local: []
|
|
1008
|
+
};
|
|
1009
|
+
var AMAZON_DNS = [
|
|
1010
|
+
"www.amazon.com",
|
|
1011
|
+
`www.amazon.co.uk`,
|
|
1012
|
+
`www.amazon.fr`,
|
|
1013
|
+
`www.amazon.de`,
|
|
1014
|
+
`www.amazon.it`,
|
|
1015
|
+
`www.amazon.es`
|
|
1016
|
+
];
|
|
1017
|
+
var WALMART_DNS = [
|
|
1018
|
+
"www.walmart.com",
|
|
1019
|
+
"www.walmart.ca",
|
|
1020
|
+
"www.walmart.com.mx"
|
|
1021
|
+
];
|
|
1022
|
+
var APPLE_DNS = [
|
|
1023
|
+
"store.apple.com",
|
|
1024
|
+
"www.apple.com"
|
|
1025
|
+
];
|
|
1026
|
+
var HOME_DEPOT_DNS = [
|
|
1027
|
+
"www.homedepot.com",
|
|
1028
|
+
"www.homedepot.ca"
|
|
1029
|
+
];
|
|
1030
|
+
var EBAY_DNS = [
|
|
1031
|
+
"www.ebay.com",
|
|
1032
|
+
"www.ebay.co.uk",
|
|
1033
|
+
"www.ebay.fr",
|
|
1034
|
+
"www.ebay.de",
|
|
1035
|
+
"www.ebay.it"
|
|
1036
|
+
];
|
|
1037
|
+
var TARGET_DNS = [
|
|
1038
|
+
"www.target.com"
|
|
1039
|
+
];
|
|
1040
|
+
var ETSY_DNS = [
|
|
1041
|
+
"www.etsy.com"
|
|
1042
|
+
];
|
|
1043
|
+
var COSTCO_DNS = [
|
|
1044
|
+
"www.costco.com",
|
|
1045
|
+
"www.costco.co.uk",
|
|
1046
|
+
"www.costco.ca"
|
|
1047
|
+
];
|
|
1048
|
+
var BEST_BUY_DNS = [
|
|
1049
|
+
"www.bestbuy.com",
|
|
1050
|
+
"www.bestbuy.ca"
|
|
1051
|
+
];
|
|
1052
|
+
var WAYFAIR_DNS = [
|
|
1053
|
+
"www.wayfair.com",
|
|
1054
|
+
"www.wayfair.ca",
|
|
1055
|
+
"www.wayfair.co.uk"
|
|
1056
|
+
];
|
|
1057
|
+
var NIKE_DNS = [
|
|
1058
|
+
"www.nike.com"
|
|
1059
|
+
];
|
|
1060
|
+
var MACYS_DNS = [
|
|
1061
|
+
"www.macys.com"
|
|
1062
|
+
];
|
|
1063
|
+
var DELL_DNS = [
|
|
1064
|
+
"www.dell.com"
|
|
1065
|
+
];
|
|
1066
|
+
var HM_DNS = [
|
|
1067
|
+
"www2.hm.com"
|
|
1068
|
+
];
|
|
1069
|
+
var ZARA_DNS = [
|
|
1070
|
+
"www.zara.com"
|
|
1071
|
+
];
|
|
1072
|
+
var KROGER_DNS = [
|
|
1073
|
+
"www.kroger.com"
|
|
1074
|
+
];
|
|
1075
|
+
var WALGREENS_DNS = [
|
|
1076
|
+
"www.walgreens.com"
|
|
1077
|
+
];
|
|
1078
|
+
var CVS_DNS = [
|
|
1079
|
+
"www.cvs.com"
|
|
1080
|
+
];
|
|
1081
|
+
var WHOLE_FOODS_DNS = [
|
|
1082
|
+
"www.wholefoodsmarket.com",
|
|
1083
|
+
"www.wholefoodsmarket.co.uk"
|
|
1084
|
+
];
|
|
1085
|
+
var SHAPE_PREFIXES = [
|
|
1086
|
+
"string",
|
|
1087
|
+
"number",
|
|
1088
|
+
"boolean",
|
|
1089
|
+
"null",
|
|
1090
|
+
"undefined",
|
|
1091
|
+
"unknown",
|
|
1092
|
+
"opt::",
|
|
1093
|
+
"union::",
|
|
1094
|
+
"tuple::",
|
|
1095
|
+
"array::",
|
|
1096
|
+
"object",
|
|
1097
|
+
"record::"
|
|
1098
|
+
];
|
|
1099
|
+
var SINGULAR_NOUN_ENDINGS = [
|
|
1100
|
+
"s",
|
|
1101
|
+
"sh",
|
|
1102
|
+
"ch",
|
|
1103
|
+
"x",
|
|
1104
|
+
"z",
|
|
1105
|
+
"o"
|
|
1106
|
+
];
|
|
1107
|
+
var SOCIAL_MEDIA = [
|
|
1108
|
+
{
|
|
1109
|
+
name: "Facebook",
|
|
1110
|
+
description: "Connect with friends, family, and communities worldwide on one of the largest social networks.",
|
|
1111
|
+
baseUrls: ["https://www.facebook.com"],
|
|
1112
|
+
profileUrl: "https://www.facebook.com/:user_id",
|
|
1113
|
+
approximateUserSize: 3e9,
|
|
1114
|
+
// 3 billion
|
|
1115
|
+
tickerSymbol: "META"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
name: "YouTube",
|
|
1119
|
+
description: "A platform for sharing and watching videos, connecting creators with audiences globally.",
|
|
1120
|
+
baseUrls: ["https://www.youtube.com"],
|
|
1121
|
+
profileUrl: "https://www.youtube.com/user/:user_id",
|
|
1122
|
+
approximateUserSize: 25e8,
|
|
1123
|
+
// 2.5 billion
|
|
1124
|
+
tickerSymbol: "GOOGL"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
name: "WhatsApp",
|
|
1128
|
+
description: "A secure messaging app for personal and business communication.",
|
|
1129
|
+
baseUrls: ["https://www.whatsapp.com", "https://wa.me"],
|
|
1130
|
+
profileUrl: "https://wa.me/:user_id",
|
|
1131
|
+
approximateUserSize: 2e9,
|
|
1132
|
+
// 2 billion
|
|
1133
|
+
tickerSymbol: "META"
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
name: "Instagram",
|
|
1137
|
+
description: "Share photos and videos with friends and followers through posts, stories, and reels.",
|
|
1138
|
+
baseUrls: ["https://www.instagram.com"],
|
|
1139
|
+
profileUrl: "https://www.instagram.com/:user_id",
|
|
1140
|
+
approximateUserSize: 2e9,
|
|
1141
|
+
// 2 billion
|
|
1142
|
+
tickerSymbol: "META"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
name: "TikTok",
|
|
1146
|
+
description: "A short-form video platform known for its highly engaging content and viral trends.",
|
|
1147
|
+
baseUrls: ["https://www.tiktok.com"],
|
|
1148
|
+
profileUrl: "https://www.tiktok.com/@:user_id",
|
|
1149
|
+
approximateUserSize: 16e8
|
|
1150
|
+
// 1.6 billion
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
name: "WeChat",
|
|
1154
|
+
description: "China's popular messaging and lifestyle app, integrating social media and mobile payments.",
|
|
1155
|
+
baseUrls: ["https://www.wechat.com"],
|
|
1156
|
+
profileUrl: "https://www.wechat.com/:user_id",
|
|
1157
|
+
// Profile URLs typically restricted in China
|
|
1158
|
+
approximateUserSize: 13e8
|
|
1159
|
+
// 1.3 billion
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
name: "Facebook Messenger",
|
|
1163
|
+
description: "A messaging app used for personal and business interactions, seamlessly integrated with Facebook.",
|
|
1164
|
+
baseUrls: ["https://www.messenger.com"],
|
|
1165
|
+
profileUrl: "https://www.messenger.com/t/:user_id",
|
|
1166
|
+
approximateUserSize: 1e9,
|
|
1167
|
+
// 1 billion
|
|
1168
|
+
tickerSymbol: "META"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
name: "Telegram",
|
|
1172
|
+
description: "A messaging platform focused on privacy, with channels and group capabilities.",
|
|
1173
|
+
baseUrls: ["https://www.telegram.org", "https://t.me"],
|
|
1174
|
+
profileUrl: "https://t.me/:user_id",
|
|
1175
|
+
approximateUserSize: 9e8
|
|
1176
|
+
// 900 million
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
name: "Snapchat",
|
|
1180
|
+
description: "A multimedia app popular for its disappearing messages and creative filters.",
|
|
1181
|
+
baseUrls: ["https://www.snapchat.com"],
|
|
1182
|
+
profileUrl: "https://www.snapchat.com/add/:user_id",
|
|
1183
|
+
approximateUserSize: 8e8,
|
|
1184
|
+
// 800 million
|
|
1185
|
+
tickerSymbol: "SNAP"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
name: "Douyin",
|
|
1189
|
+
description: "The Chinese version of TikTok, with similar short-form video content tailored for China.",
|
|
1190
|
+
baseUrls: ["https://www.douyin.com"],
|
|
1191
|
+
profileUrl: "https://www.douyin.com/user/:user_id",
|
|
1192
|
+
approximateUserSize: 75e7
|
|
1193
|
+
// 750 million
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
name: "LinkedIn",
|
|
1197
|
+
description: "The largest professional networking platform, where users connect for career opportunities, insights, and business networking.",
|
|
1198
|
+
baseUrls: ["https://www.linkedin.com"],
|
|
1199
|
+
profileUrl: "https://www.linkedin.com/in/:user_id",
|
|
1200
|
+
approximateUserSize: 93e7,
|
|
1201
|
+
// 930 million
|
|
1202
|
+
tickerSymbol: "MSFT"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
name: "X (formerly Twitter)",
|
|
1206
|
+
description: "A platform for real-time updates, news sharing, and public discourse with a focus on brief, impactful posts.",
|
|
1207
|
+
baseUrls: ["https://www.twitter.com", "https://x.com"],
|
|
1208
|
+
profileUrl: "https://twitter.com/:user_id",
|
|
1209
|
+
approximateUserSize: 54e7
|
|
1210
|
+
// 540 million
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
name: "Pinterest",
|
|
1214
|
+
description: "A visually-driven platform for sharing ideas, DIY projects, fashion, and more.",
|
|
1215
|
+
baseUrls: ["https://www.pinterest.com"],
|
|
1216
|
+
profileUrl: "https://www.pinterest.com/:user_id",
|
|
1217
|
+
approximateUserSize: 46e7,
|
|
1218
|
+
// 460 million
|
|
1219
|
+
tickerSymbol: "PINS"
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
name: "Reddit",
|
|
1223
|
+
description: "A community-driven platform organized into niche forums or 'subreddits' focused on various topics.",
|
|
1224
|
+
baseUrls: ["https://www.reddit.com"],
|
|
1225
|
+
profileUrl: "https://www.reddit.com/user/:user_id",
|
|
1226
|
+
approximateUserSize: 43e7
|
|
1227
|
+
// 430 million
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
name: "Clubhouse",
|
|
1231
|
+
description: "A voice-based social network where users engage in live audio conversations on various topics.",
|
|
1232
|
+
baseUrls: ["https://www.clubhouse.com"],
|
|
1233
|
+
profileUrl: "https://www.clubhouse.com/:user_id",
|
|
1234
|
+
approximateUserSize: 1e7
|
|
1235
|
+
// 10 million
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
name: "Discord",
|
|
1239
|
+
description: "Originally aimed at gamers, Discord is now widely used by various communities for group chat, video, and voice calls.",
|
|
1240
|
+
baseUrls: ["https://www.discord.com", "https://discord.com"],
|
|
1241
|
+
profileUrl: "https://discord.com/users/:user_id",
|
|
1242
|
+
approximateUserSize: 3e8
|
|
1243
|
+
// 300 million
|
|
1244
|
+
}
|
|
1245
|
+
];
|
|
1246
|
+
var TW_HUE_NEUTRAL = {
|
|
1247
|
+
slate: 262,
|
|
1248
|
+
gray: 270,
|
|
1249
|
+
zinc: 269,
|
|
1250
|
+
neutral: 270,
|
|
1251
|
+
stone: 273
|
|
1252
|
+
};
|
|
1253
|
+
var TW_HUE_VIBRANT = {
|
|
1254
|
+
red: 24,
|
|
1255
|
+
orange: 44,
|
|
1256
|
+
amber: 79,
|
|
1257
|
+
yellow: 100,
|
|
1258
|
+
lime: 132,
|
|
1259
|
+
green: 144,
|
|
1260
|
+
emerald: 159,
|
|
1261
|
+
teal: 182,
|
|
1262
|
+
cyan: 192,
|
|
1263
|
+
sky: 219,
|
|
1264
|
+
blue: 240,
|
|
1265
|
+
indigo: 268,
|
|
1266
|
+
violet: 283,
|
|
1267
|
+
purple: 294,
|
|
1268
|
+
fuchsia: 319,
|
|
1269
|
+
pink: 334,
|
|
1270
|
+
rose: 15
|
|
1271
|
+
};
|
|
1272
|
+
var TW_HUE_STATIC = {
|
|
1273
|
+
black: 0,
|
|
1274
|
+
white: 106.37411429114086
|
|
1275
|
+
};
|
|
1276
|
+
var TW_HUE = {
|
|
1277
|
+
...TW_HUE_NEUTRAL,
|
|
1278
|
+
...TW_HUE_VIBRANT,
|
|
1279
|
+
...TW_HUE_STATIC
|
|
1280
|
+
};
|
|
1281
|
+
var TW_LUMINOSITY = {
|
|
1282
|
+
50: 97.78,
|
|
1283
|
+
100: 93.56,
|
|
1284
|
+
200: 88.11,
|
|
1285
|
+
300: 82.67,
|
|
1286
|
+
400: 74.22,
|
|
1287
|
+
500: 64.78,
|
|
1288
|
+
600: 57.33,
|
|
1289
|
+
700: 46.89,
|
|
1290
|
+
800: 39.44,
|
|
1291
|
+
900: 32,
|
|
1292
|
+
950: 23.78
|
|
1293
|
+
};
|
|
1294
|
+
var TW_CHROMA = {
|
|
1295
|
+
50: 0.0108,
|
|
1296
|
+
100: 0.0321,
|
|
1297
|
+
200: 0.0609,
|
|
1298
|
+
300: 0.0908,
|
|
1299
|
+
400: 0.1398,
|
|
1300
|
+
500: 0.1472,
|
|
1301
|
+
600: 0.1299,
|
|
1302
|
+
700: 0.1067,
|
|
1303
|
+
800: 0.0898,
|
|
1304
|
+
900: 0.0726,
|
|
1305
|
+
950: 0.054
|
|
1306
|
+
};
|
|
1307
|
+
var TW_COLOR_TARGETS = [
|
|
1308
|
+
"bg",
|
|
1309
|
+
"text",
|
|
1310
|
+
"border",
|
|
1311
|
+
"ring",
|
|
1312
|
+
"shadow",
|
|
1313
|
+
"border"
|
|
1314
|
+
];
|
|
1315
|
+
var TW_MODIFIERS_CORE = [
|
|
1316
|
+
"dark",
|
|
1317
|
+
"focus",
|
|
1318
|
+
"hover",
|
|
1319
|
+
"active",
|
|
1320
|
+
"visited",
|
|
1321
|
+
"disabled"
|
|
1322
|
+
];
|
|
1323
|
+
var TW_MODIFIERS_ORDER = [
|
|
1324
|
+
"first",
|
|
1325
|
+
"last",
|
|
1326
|
+
"odd",
|
|
1327
|
+
"even"
|
|
1328
|
+
];
|
|
1329
|
+
var TW_MODIFIERS_RELN = [
|
|
1330
|
+
"focus-within",
|
|
1331
|
+
"focus-visible",
|
|
1332
|
+
"checked",
|
|
1333
|
+
"peer-invalid",
|
|
1334
|
+
`peer-checked/{{string}}`
|
|
1335
|
+
];
|
|
1336
|
+
var TW_MODIFIERS_SIZING = [
|
|
1337
|
+
"sm",
|
|
1338
|
+
"md",
|
|
1339
|
+
"lg",
|
|
1340
|
+
"xl",
|
|
1341
|
+
"2xl"
|
|
1342
|
+
];
|
|
1343
|
+
var TW_MODIFIERS = [
|
|
1344
|
+
...TW_MODIFIERS_CORE,
|
|
1345
|
+
...TW_MODIFIERS_ORDER,
|
|
1346
|
+
...TW_MODIFIERS_SIZING,
|
|
1347
|
+
...TW_MODIFIERS_RELN
|
|
1348
|
+
];
|
|
1349
|
+
var WideAssignment = {
|
|
1350
|
+
boolean: () => "<<boolean>>",
|
|
1351
|
+
string: () => "<<string>>",
|
|
1352
|
+
number: () => "<<number>>",
|
|
1353
|
+
symbol: () => "<<symbol>>",
|
|
1354
|
+
null: () => "<<null>>",
|
|
1355
|
+
function: () => "<<function>>",
|
|
1356
|
+
tuple: () => "<<tuple>>",
|
|
1357
|
+
singularTuple: () => ["<<tuple>>"],
|
|
1358
|
+
object: () => "<<object>>",
|
|
1359
|
+
emptyObject: () => "<<empty-object>>",
|
|
1360
|
+
undefined: () => "<<undefined>>",
|
|
1361
|
+
/**
|
|
1362
|
+
* run-time value is a type token for `unknown` and type is of course `unknown`
|
|
1363
|
+
*/
|
|
1364
|
+
unknown: () => "<<unknown>>",
|
|
1365
|
+
nothing: () => "<<nothing>>",
|
|
1366
|
+
something: () => "<<something>>"
|
|
1367
|
+
};
|
|
1368
|
+
var wide = WideAssignment;
|
|
1369
|
+
function entry(refType, desc, ...params) {
|
|
1370
|
+
return [
|
|
1371
|
+
refType(wide),
|
|
1372
|
+
desc,
|
|
1373
|
+
params.map(
|
|
1374
|
+
(i) => typeof i === "function" ? i(wide) : i
|
|
1375
|
+
)
|
|
1376
|
+
];
|
|
1377
|
+
}
|
|
1378
|
+
({
|
|
1379
|
+
Extends: entry((t) => t.unknown(), "extends the type", (t) => t.unknown()),
|
|
1380
|
+
NotExtends: entry((t) => t.unknown(), "does not extent the type", (t) => t.unknown()),
|
|
1381
|
+
Equals: entry((t) => t.unknown(), "equals the type", (t) => t.unknown()),
|
|
1382
|
+
NotEqual: entry((t) => t.unknown(), "does not equal the type", (t) => t.unknown()),
|
|
1383
|
+
Truthy: entry((t) => t.unknown(), "must be a truthy value"),
|
|
1384
|
+
Falsy: entry((t) => t.unknown(), "must be a falsy value"),
|
|
1385
|
+
IsSomething: entry((t) => t.unknown(), "must be 'something' (aka, not null or undefined)"),
|
|
1386
|
+
IsNothing: entry((t) => t.unknown(), "must be 'nothing' (aka, null or undefined)"),
|
|
1387
|
+
IsString: entry((t) => t.string(), "must extend a string type"),
|
|
1388
|
+
IsNumber: entry((t) => t.number(), "must extend a number type"),
|
|
1389
|
+
IsBoolean: entry((t) => t.boolean(), "must extend a boolean type"),
|
|
1390
|
+
// numeric
|
|
1391
|
+
GreaterThan: entry((t) => t.number(), "must be a numeric literal greater than [[0]]", (t) => t.number()),
|
|
1392
|
+
LessThan: entry((t) => t.number(), "must be a numeric literal less than [[0]]", (t) => t.number()),
|
|
1393
|
+
// string
|
|
1394
|
+
StartsWith: entry((t) => t.string(), "must be a string literal that starts with '[[0]]'", (t) => t.string()),
|
|
1395
|
+
EndsWith: entry((t) => t.string(), "must be a string literal that ends with '[[0]]'", (t) => t.string()),
|
|
1396
|
+
Includes: entry((t) => t.string(), "must be a string literal that includes the substring '[[0]]'", (t) => t.string()),
|
|
1397
|
+
// function
|
|
1398
|
+
ReturnsSomething: entry((t) => t.function(), "must be a function which returns 'something' (aka, not null or undefined)"),
|
|
1399
|
+
ReturnsNothing: entry((t) => t.function(), "must be a function which returns 'nothing' (aka, null or undefined)"),
|
|
1400
|
+
ReturnsTrue: entry((t) => t.function(), "must be a function which returns 'true'"),
|
|
1401
|
+
ReturnsFalse: entry((t) => t.function(), "must be a function which returns 'false'"),
|
|
1402
|
+
ReturnsTruthy: entry((t) => t.function(), "must be a function which returns a 'truthy' value"),
|
|
1403
|
+
ReturnsFalsy: entry((t) => t.function(), "must be a function which returns a 'falsy' value"),
|
|
1404
|
+
ReturnsExtends: entry((t) => t.unknown(), "must be a function which returns a value which extends [[0]]", (t) => t.unknown()),
|
|
1405
|
+
ReturnsEquals: entry((t) => t.unknown(), "must be a function which returns a value which equals [[0]]", (t) => t.unknown()),
|
|
1406
|
+
Contains: entry((t) => t.tuple(), "must be a tuple and have elements that extends the value [[0]]", (t) => t.unknown()),
|
|
1407
|
+
// TODO: get the below working`
|
|
1408
|
+
ContainsSome: entry((t) => t.tuple(), "must be a tuple and have elements that extends the value [[0]]", (t) => t.singularTuple())
|
|
1409
|
+
});
|
|
1410
|
+
var SIMPLE_SCALAR_TOKENS = [
|
|
1411
|
+
"string",
|
|
1412
|
+
"number",
|
|
1413
|
+
`string(TOKEN)`,
|
|
1414
|
+
`number(TOKEN)`,
|
|
1415
|
+
"boolean",
|
|
1416
|
+
"true",
|
|
1417
|
+
"false",
|
|
1418
|
+
"null",
|
|
1419
|
+
"undefined",
|
|
1420
|
+
"unknown",
|
|
1421
|
+
"any",
|
|
1422
|
+
"never"
|
|
1423
|
+
];
|
|
1424
|
+
var SIMPLE_OPT_SCALAR_TOKENS = [
|
|
1425
|
+
"Opt<string>",
|
|
1426
|
+
"Opt<number>",
|
|
1427
|
+
"Opt<boolean>",
|
|
1428
|
+
"Opt<true>",
|
|
1429
|
+
"Opt<false>",
|
|
1430
|
+
"Opt<null>",
|
|
1431
|
+
"Opt<undefined>",
|
|
1432
|
+
"Opt<unknown>",
|
|
1433
|
+
"Opt<any>",
|
|
1434
|
+
"Opt<string(TOKEN)>",
|
|
1435
|
+
"Opt<number(TOKEN)>",
|
|
1436
|
+
"Opt<undefined>"
|
|
1437
|
+
];
|
|
1438
|
+
var SIMPLE_UNION_TOKENS = [
|
|
1439
|
+
`Union(TOKEN)`
|
|
1440
|
+
];
|
|
1441
|
+
var SIMPLE_DICT_TOKENS = [
|
|
1442
|
+
"Dict",
|
|
1443
|
+
"Dict<string, string>",
|
|
1444
|
+
"Dict<string, number>",
|
|
1445
|
+
"Dict<string, boolean>",
|
|
1446
|
+
"Dict<string, unknown>",
|
|
1447
|
+
"Dict<string, Opt<string>>",
|
|
1448
|
+
"Dict<string, Opt<number>>",
|
|
1449
|
+
"Dict<string, Opt<boolean>>",
|
|
1450
|
+
"Dict<string, Opt<unknown>>",
|
|
1451
|
+
"Dict<{TOKEN: TOKEN}>",
|
|
1452
|
+
"Dict<{TOKEN: TOKEN, TOKEN: TOKEN}>"
|
|
1453
|
+
];
|
|
1454
|
+
var SIMPLE_ARRAY_TOKENS = [
|
|
1455
|
+
"Array",
|
|
1456
|
+
"Array<string>",
|
|
1457
|
+
"Array<string(TOKEN)>",
|
|
1458
|
+
"Array<number>",
|
|
1459
|
+
"Array<number(TOKEN)>",
|
|
1460
|
+
"Array<boolean>",
|
|
1461
|
+
"Array<unknown>",
|
|
1462
|
+
`Array<Dict>`,
|
|
1463
|
+
`Array<Set>`,
|
|
1464
|
+
`Array<Map>`
|
|
1465
|
+
];
|
|
1466
|
+
var SIMPLE_MAP_TOKENS = [
|
|
1467
|
+
"Map",
|
|
1468
|
+
"Map<TOKEN, TOKEN>",
|
|
1469
|
+
"WeakMap"
|
|
1470
|
+
];
|
|
1471
|
+
var SIMPLE_SET_TOKENS = [
|
|
1472
|
+
"Set",
|
|
1473
|
+
"Set<TOKEN>"
|
|
1474
|
+
];
|
|
1475
|
+
var SIMPLE_CONTAINER_TOKENS = [
|
|
1476
|
+
...SIMPLE_DICT_TOKENS,
|
|
1477
|
+
...SIMPLE_ARRAY_TOKENS,
|
|
1478
|
+
...SIMPLE_MAP_TOKENS,
|
|
1479
|
+
...SIMPLE_SET_TOKENS
|
|
1480
|
+
];
|
|
1481
|
+
var SIMPLE_TOKENS = [
|
|
1482
|
+
...SIMPLE_SCALAR_TOKENS,
|
|
1483
|
+
...SIMPLE_OPT_SCALAR_TOKENS,
|
|
1484
|
+
...SIMPLE_CONTAINER_TOKENS,
|
|
1485
|
+
...SIMPLE_UNION_TOKENS
|
|
1486
|
+
];
|
|
1487
|
+
var TT_Atomics = [
|
|
1488
|
+
"undefined",
|
|
1489
|
+
"null",
|
|
1490
|
+
"boolean",
|
|
1491
|
+
"true",
|
|
1492
|
+
"false"
|
|
1493
|
+
];
|
|
1494
|
+
var TT_Singletons = [
|
|
1495
|
+
"string",
|
|
1496
|
+
"number"
|
|
1497
|
+
];
|
|
1498
|
+
var TT_Sets = [
|
|
1499
|
+
"string-set",
|
|
1500
|
+
"numeric-set",
|
|
1501
|
+
"union-set"
|
|
1502
|
+
];
|
|
1503
|
+
var TT_Functions = [
|
|
1504
|
+
"fn",
|
|
1505
|
+
"gen"
|
|
1506
|
+
];
|
|
1507
|
+
var TT_Containers = [
|
|
1508
|
+
"rec",
|
|
1509
|
+
"arr",
|
|
1510
|
+
"set",
|
|
1511
|
+
"map",
|
|
1512
|
+
"union",
|
|
1513
|
+
"obj",
|
|
1514
|
+
"tuple"
|
|
1515
|
+
];
|
|
1516
|
+
|
|
1517
|
+
// src/boolean-logic/ifChar.ts
|
|
1518
|
+
var def_if = (v) => v;
|
|
1519
|
+
var def_else = () => Never;
|
|
1520
|
+
function ifChar(ch, callback_if_match = def_if, callback_not_match = def_else) {
|
|
1521
|
+
return ch.length === 1 ? callback_if_match(ch) : callback_not_match(ch);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
// src/boolean-logic/ifContainer.ts
|
|
1525
|
+
function ifContainer(value, ifContainer2, notContainer) {
|
|
1526
|
+
return isObject(value) || isArray(value) ? ifContainer2(value) : notContainer(value);
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
// src/boolean-logic/ifFalse.ts
|
|
1530
|
+
function ifFalse(val, ifVal, elseVal) {
|
|
1531
|
+
return isFalse(val) ? ifVal : elseVal;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
// src/boolean-logic/ifFunction.ts
|
|
1535
|
+
function ifFunction(value, isFnCallback, notFnCallback) {
|
|
1536
|
+
return typeof value === "function" ? isFnCallback(value) : notFnCallback(value);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
// src/boolean-logic/ifHasKey.ts
|
|
1540
|
+
function ifHasKey(container, key, hasKey, doesNotHaveKey) {
|
|
1541
|
+
return hasIndexOf(container, key) ? hasKey(container) : doesNotHaveKey(container);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
// src/boolean-logic/ifLength.ts
|
|
1545
|
+
function ifLength(value, length, ifVal, elseVal) {
|
|
1546
|
+
return Array.isArray(value) && value.length === length ? ifVal(value) : elseVal(value);
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
// src/boolean-logic/ifNotNull.ts
|
|
1550
|
+
function ifNotNull(val, ifVal, elseVal) {
|
|
1551
|
+
return isNull(val) ? elseVal() : ifVal(val);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
// src/boolean-logic/ifNull.ts
|
|
1555
|
+
function ifNull(val, ifVal, elseVal) {
|
|
1556
|
+
return isNull(val) ? ifVal() : elseVal(val);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
// src/boolean-logic/ifNumber.ts
|
|
1560
|
+
function ifNumber(val, ifVal, elseVal) {
|
|
1561
|
+
return isNumber(val) ? ifVal(val) : elseVal(val);
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
// src/boolean-logic/ifObject.ts
|
|
1565
|
+
function ifObject(val, ifObj, notObj) {
|
|
1566
|
+
return isObject(val) ? ifObj : notObj;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
// src/boolean-logic/ifSameType.ts
|
|
1570
|
+
function ifSameType(value, comparator, same, notSame) {
|
|
1571
|
+
return (
|
|
1572
|
+
// runtime values match
|
|
1573
|
+
typeof value === typeof comparator ? same(value) : notSame(value)
|
|
1574
|
+
);
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
// src/type-guards/isNull.ts
|
|
1578
|
+
function isNull(value) {
|
|
1579
|
+
return value === null;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
// src/type-guards/isNumber.ts
|
|
1583
|
+
function isNumber(value) {
|
|
1584
|
+
return typeof value === "number";
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// src/type-guards/isString.ts
|
|
1588
|
+
function isString(value) {
|
|
1589
|
+
return typeof value === "string";
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
// src/type-guards/isSymbol.ts
|
|
1593
|
+
function isSymbol(value) {
|
|
1594
|
+
return typeof value === "symbol";
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
// src/type-guards/isScalar.ts
|
|
1598
|
+
function isScalar(value) {
|
|
1599
|
+
return isString(value) || isNumber(value) || isSymbol(value) || isNull(value);
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
// src/boolean-logic/ifScalar.ts
|
|
1603
|
+
function ifScalar(value, ifCallback, notCallback) {
|
|
1604
|
+
const result2 = isScalar(value) ? ifCallback(
|
|
1605
|
+
value
|
|
1606
|
+
) : notCallback(value);
|
|
1607
|
+
return result2;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
// src/boolean-logic/ifString.ts
|
|
1611
|
+
function ifString(val, ifVal, elseVal) {
|
|
1612
|
+
return typeof val === "string" ? ifVal(val) : elseVal(val);
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
// src/boolean-logic/ifTrue.ts
|
|
1616
|
+
function ifTrue(val, ifVal, elseVal) {
|
|
1617
|
+
return (
|
|
1618
|
+
//
|
|
1619
|
+
isTrue(val) ? ifVal(val) : elseVal(val)
|
|
1620
|
+
);
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
// src/boolean-logic/ifUndefined.ts
|
|
1624
|
+
function ifUndefined(val, ifUndefined2, ifDefined2) {
|
|
1625
|
+
return isUndefined(val) ? ifUndefined2() : ifDefined2(val);
|
|
1626
|
+
}
|
|
1627
|
+
function ifDefined(val, ifVal, elseVal) {
|
|
1628
|
+
return isDefined(val) ? ifVal : elseVal;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
// src/combinators/and.ts
|
|
1632
|
+
function and(...values) {
|
|
1633
|
+
return values.every((i) => i === true);
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
// src/combinators/or.ts
|
|
1637
|
+
function or(...conditions) {
|
|
1638
|
+
const values = conditions.includes(true);
|
|
1639
|
+
return values;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
// src/css/createCssKeyframe.ts
|
|
1643
|
+
function api(state = []) {
|
|
1644
|
+
return {
|
|
1645
|
+
state,
|
|
1646
|
+
add: (stage, defn) => {
|
|
1647
|
+
return api(
|
|
1648
|
+
[...state, [stage, defn]]
|
|
1649
|
+
);
|
|
1650
|
+
},
|
|
1651
|
+
done() {
|
|
1652
|
+
return state;
|
|
1653
|
+
}
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
function hasDone(val) {
|
|
1657
|
+
return isObject(val) && "done" in val && typeof val.done === "function";
|
|
1658
|
+
}
|
|
1659
|
+
function frameToCss(frames) {
|
|
1660
|
+
const tuples = frames.map(([ts, defn]) => [
|
|
1661
|
+
ts,
|
|
1662
|
+
Object.keys(defn).reduce(
|
|
1663
|
+
(acc, i) => [
|
|
1664
|
+
...acc,
|
|
1665
|
+
`${i}: ${String(defn[i])}`
|
|
1666
|
+
],
|
|
1667
|
+
[]
|
|
1668
|
+
).join("; ")
|
|
1669
|
+
]);
|
|
1670
|
+
return tuples.map(([ts, defn]) => ` ${ts} { ${defn} }`).join("\n");
|
|
1671
|
+
}
|
|
1672
|
+
function createCssKeyframe(name, keyframes) {
|
|
1673
|
+
const surface = api([]);
|
|
1674
|
+
const rtn = keyframes(surface);
|
|
1675
|
+
const frames = hasDone(rtn) ? rtn.done() : rtn;
|
|
1676
|
+
return {
|
|
1677
|
+
name,
|
|
1678
|
+
keyframes: frames,
|
|
1679
|
+
css: `@keyframes ${name} {
|
|
1680
|
+
${frameToCss(frames)}
|
|
1681
|
+
}`
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
// src/datetime/asDate.ts
|
|
1686
|
+
function asDate(input) {
|
|
1687
|
+
if (isDate(input)) {
|
|
1688
|
+
input.setHours(0, 0, 0, 0);
|
|
1689
|
+
return input;
|
|
1690
|
+
}
|
|
1691
|
+
if (isMoment(input)) {
|
|
1692
|
+
return input.toDate();
|
|
1693
|
+
}
|
|
1694
|
+
if (isLuxonDateTime(input)) {
|
|
1695
|
+
return new Date(input.toMillis());
|
|
1696
|
+
}
|
|
1697
|
+
if (isIsoDateTime(input)) {
|
|
1698
|
+
const [year, month, day] = stripAfter(input, "T").split("-").map(Number);
|
|
1699
|
+
return new Date(year, month - 1, day);
|
|
1700
|
+
}
|
|
1701
|
+
if (isIsoExplicitDate(input)) {
|
|
1702
|
+
const [year, month, day] = input.split("-").map(Number);
|
|
1703
|
+
return new Date(year, month - 1, day);
|
|
1704
|
+
}
|
|
1705
|
+
if (isIsoImplicitDate(input)) {
|
|
1706
|
+
const year = Number(input.slice(0, 4));
|
|
1707
|
+
const month = Number(input.slice(4, 6));
|
|
1708
|
+
const day = Number(input.slice(6, 8));
|
|
1709
|
+
return new Date(year, month - 1, day);
|
|
1710
|
+
}
|
|
1711
|
+
if (isIsoYear(input)) {
|
|
1712
|
+
const d = new Date(Number(input), 0, 1);
|
|
1713
|
+
d.setHours(0, 0, 0, 0);
|
|
1714
|
+
return d;
|
|
1715
|
+
}
|
|
1716
|
+
if (isNumber(input)) {
|
|
1717
|
+
if (`${input}`.length === 4) {
|
|
1718
|
+
return /* @__PURE__ */ new Date(`${input}-01-01`);
|
|
1719
|
+
}
|
|
1720
|
+
if (input >= 0) {
|
|
1721
|
+
return new Date(input * 1e3);
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
return void 0;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
// src/datetime/asIsoDate.ts
|
|
1728
|
+
function strip(str) {
|
|
1729
|
+
return stripAfter(str, "T");
|
|
1730
|
+
}
|
|
1731
|
+
function asIsoDate(input) {
|
|
1732
|
+
return isDate(input) ? strip(input.toISOString()) : isMoment(input) ? strip(input.toISOString()) : isLuxonDateTime(input) ? input.toISODate() : isIsoExplicitDate(input) ? input : isIsoExplicitDate(input) ? `${input.slice(0, 4)}-${input.slice(4, 6)}-${input.slice(6, 8)}` : isString(input) ? strip(input) : "0000-00-00";
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
// src/datetime/getDaysBetween.ts
|
|
1736
|
+
function getDaysBetween(a, b = /* @__PURE__ */ new Date()) {
|
|
1737
|
+
const aDate = asDate(a);
|
|
1738
|
+
const bDate = asDate(b);
|
|
1739
|
+
if (!aDate || !bDate) {
|
|
1740
|
+
throw new Error(`Invalid date passed into getDaysBetween()`);
|
|
1741
|
+
}
|
|
1742
|
+
const aStr = aDate.toISOString().split("T")[0];
|
|
1743
|
+
const bStr = bDate.toISOString().split("T")[0];
|
|
1744
|
+
const dateA = /* @__PURE__ */ new Date(`${aStr}T00:00:00Z`);
|
|
1745
|
+
const dateB = /* @__PURE__ */ new Date(`${bStr}T00:00:00Z`);
|
|
1746
|
+
const msInDay = 24 * 60 * 60 * 1e3;
|
|
1747
|
+
return Math.round(Math.abs((dateB.getTime() - dateA.getTime()) / msInDay));
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
// src/datetime/getToday.ts
|
|
1751
|
+
function getToday() {
|
|
1752
|
+
const today = /* @__PURE__ */ new Date();
|
|
1753
|
+
return today.toISOString().split("T")[0];
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
// src/datetime/getTomorrow.ts
|
|
1757
|
+
function getTomorrow() {
|
|
1758
|
+
const tomorrow = /* @__PURE__ */ new Date();
|
|
1759
|
+
tomorrow.setDate(tomorrow.getDate() + 1);
|
|
1760
|
+
return tomorrow.toISOString().split("T")[0];
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
// src/datetime/getWeekNumber.ts
|
|
1764
|
+
function getWeekNumber(date = /* @__PURE__ */ new Date()) {
|
|
1765
|
+
const d = asDate(date);
|
|
1766
|
+
if (!d) {
|
|
1767
|
+
throw new Error(`invalid date passed into getWeekNumber${String(date)}`);
|
|
1768
|
+
}
|
|
1769
|
+
const daysIntoYear = getDaysBetween(new Date(d.getFullYear(), 0, 1), d);
|
|
1770
|
+
const week = Math.floor(daysIntoYear / 7) + 1;
|
|
1771
|
+
return week;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
// src/datetime/getYesterday.ts
|
|
1775
|
+
function getYesterday() {
|
|
1776
|
+
const yesterday = /* @__PURE__ */ new Date();
|
|
1777
|
+
yesterday.setDate(yesterday.getDate() - 1);
|
|
1778
|
+
return yesterday.toISOString().split("T")[0];
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
// src/datetime/isLeapYear.ts
|
|
1782
|
+
function isLeapYear(val) {
|
|
1783
|
+
const year = asDate(val)?.getUTCFullYear();
|
|
1784
|
+
if (!year) {
|
|
1785
|
+
throw new Error(`Invalid date passed into isLeapYear(${String(val)})`);
|
|
1786
|
+
}
|
|
1787
|
+
return year % 100 === 0 ? year % 400 === 0 : year % 4 === 0;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
// src/dictionary/entries.ts
|
|
1791
|
+
function entries(obj) {
|
|
1792
|
+
const iterable = {
|
|
1793
|
+
*[Symbol.iterator]() {
|
|
1794
|
+
for (const k of keysOf(obj)) {
|
|
1795
|
+
yield { key: k, value: obj[k] };
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
};
|
|
1799
|
+
return iterable;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
// src/dictionary/get.ts
|
|
1803
|
+
function updatedDotPath(value, dotpath, segment) {
|
|
1804
|
+
return isRef(value) ? dotpath.replace(segment, `Ref(${segment})`) : dotpath;
|
|
1805
|
+
}
|
|
1806
|
+
function getValue(value, dotPath, defaultValue, handleInvalid, fullDotPath) {
|
|
1807
|
+
const pathSegments = isTruthy(dotPath) ? dotPath.split(".") : [];
|
|
1808
|
+
const idx = pathSegments[0];
|
|
1809
|
+
const hasMoreSegments = pathSegments.length > 1;
|
|
1810
|
+
const valueIsIndexable = isContainer(value) && hasIndexOf(value, idx);
|
|
1811
|
+
const hasHandler = !isSpecificConstant("not-defined")(handleInvalid);
|
|
1812
|
+
const invalidDotPath = createErrorCondition(
|
|
1813
|
+
"invalid-dot-path",
|
|
1814
|
+
`The segment "${idx}" in the dotpath "${fullDotPath}" was not indexable and no default value existed on: ${JSON.stringify(value)}`
|
|
1815
|
+
);
|
|
1816
|
+
const current = hasMoreSegments ? isContainer(value) && idx in value ? getValue(
|
|
1817
|
+
indexOf(value, idx),
|
|
1818
|
+
pathSegments.join(".").replace(`${idx}.`, ""),
|
|
1819
|
+
defaultValue,
|
|
1820
|
+
handleInvalid,
|
|
1821
|
+
updatedDotPath(value, fullDotPath, idx)
|
|
1822
|
+
) : hasHandler ? handleInvalid : invalidDotPath : valueIsIndexable ? hasDefaultValue(hasDefaultValue) ? indexOf(value, idx) || defaultValue : indexOf(value, idx) : hasHandler ? handleInvalid : invalidDotPath;
|
|
1823
|
+
return current;
|
|
1824
|
+
}
|
|
1825
|
+
function get(value, dotPath, options = {
|
|
1826
|
+
defaultValue: NO_DEFAULT_VALUE,
|
|
1827
|
+
handleInvalidDotpath: NOT_DEFINED
|
|
1828
|
+
}) {
|
|
1829
|
+
const outcome = dotPath === null || dotPath === "" ? value : getValue(
|
|
1830
|
+
value,
|
|
1831
|
+
dotPath,
|
|
1832
|
+
options?.defaultValue || NO_DEFAULT_VALUE,
|
|
1833
|
+
options?.handleInvalidDotpath || NOT_DEFINED,
|
|
1834
|
+
String(dotPath)
|
|
1835
|
+
);
|
|
1836
|
+
return outcome;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
// src/dictionary/keysOf.ts
|
|
1840
|
+
function keysOf(container) {
|
|
1841
|
+
const keys = Array.isArray(container) ? Object.keys(container).map((i) => Number(i)) : isObject(container) ? isRef(container) ? ["value"] : Object.keys(container) : [];
|
|
1842
|
+
return keys;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
// src/dictionary/omit.ts
|
|
1846
|
+
function omit(obj, ...removeKeys) {
|
|
1847
|
+
const keys = Object.keys(obj);
|
|
1848
|
+
return keys.reduce(
|
|
1849
|
+
(acc, key) => removeKeys.includes(key) ? acc : {
|
|
1850
|
+
...acc,
|
|
1851
|
+
[key]: obj[key]
|
|
1852
|
+
},
|
|
1853
|
+
{}
|
|
1854
|
+
);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
// src/dictionary/retain.ts
|
|
1858
|
+
function retain(dict, ...keys) {
|
|
1859
|
+
let output = {};
|
|
1860
|
+
for (const k of keys) {
|
|
1861
|
+
output = {
|
|
1862
|
+
...output,
|
|
1863
|
+
[k]: dict[k]
|
|
1864
|
+
};
|
|
1865
|
+
}
|
|
1866
|
+
return output;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
// src/dictionary/sharedKeys.ts
|
|
1870
|
+
function sharedKeys(a, b) {
|
|
1871
|
+
const ka = Object.keys(a);
|
|
1872
|
+
const kb = Object.keys(b);
|
|
1873
|
+
return ka.filter((k) => kb.includes(k));
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
// src/dictionary/takeProp.ts
|
|
1877
|
+
function takeProp(val, prop, otherwise) {
|
|
1878
|
+
return (isObject(val) || isArray(val)) && prop in val ? val[prop] : otherwise;
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
// src/dictionary/valuesOf.ts
|
|
1882
|
+
function valuesOf(obj) {
|
|
1883
|
+
const values = [];
|
|
1884
|
+
for (const k of Object.keys(obj)) {
|
|
1885
|
+
values.push(obj[k]);
|
|
1886
|
+
}
|
|
1887
|
+
return values;
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
// src/dictionary/withDefaults.ts
|
|
1891
|
+
function withDefaults(with_defaults) {
|
|
1892
|
+
return (obj) => {
|
|
1893
|
+
const merged = {
|
|
1894
|
+
...with_defaults,
|
|
1895
|
+
...obj
|
|
1896
|
+
};
|
|
1897
|
+
return merged;
|
|
1898
|
+
};
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
// src/dictionary/withKeys.ts
|
|
1902
|
+
function withKeys(dict, ...keys) {
|
|
1903
|
+
return retain(dict, ...keys);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
// src/dictionary/withoutKeys.ts
|
|
1907
|
+
function withoutKeys(dict, ...exclude) {
|
|
1908
|
+
return omit(dict, ...exclude);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
// src/dictionary/withoutValue.ts
|
|
1912
|
+
function withoutValue(val) {
|
|
1913
|
+
return (obj) => {
|
|
1914
|
+
return Object.keys(obj).reduce(
|
|
1915
|
+
(acc, key) => val === obj[key] ? acc : { ...acc, [key]: obj[key] },
|
|
1916
|
+
{}
|
|
1917
|
+
);
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
// src/errors/createErrorCondition.ts
|
|
1922
|
+
function createErrorCondition(kind, msg = "", utility = "") {
|
|
1923
|
+
return {
|
|
1924
|
+
__kind: "ErrorCondition",
|
|
1925
|
+
kind,
|
|
1926
|
+
msg,
|
|
1927
|
+
utility
|
|
1928
|
+
};
|
|
1929
|
+
}
|
|
1930
|
+
function errCondition(kind, msg) {
|
|
1931
|
+
return {
|
|
1932
|
+
__kind: "ErrorCondition",
|
|
1933
|
+
kind,
|
|
1934
|
+
msg
|
|
1935
|
+
};
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
// src/functional/result.ts
|
|
1939
|
+
var result = "NOT READY";
|
|
1940
|
+
|
|
1941
|
+
// src/functions/fnMeta.ts
|
|
1942
|
+
function fnMeta(func) {
|
|
1943
|
+
const fn2 = (...args) => func(...args);
|
|
1944
|
+
const props = Object.keys(fn2).reduce(
|
|
1945
|
+
(acc, key) => ({ ...acc, [key]: fn2[key] }),
|
|
1946
|
+
{}
|
|
1947
|
+
);
|
|
1948
|
+
return {
|
|
1949
|
+
fn: fn2,
|
|
1950
|
+
props
|
|
1951
|
+
};
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
// src/functions/wrapFn.ts
|
|
1955
|
+
var wrapFn = "NOT IMPLEMENTED";
|
|
1956
|
+
|
|
1957
|
+
// src/initializers/addFnToProps.ts
|
|
1958
|
+
function addPropsToFn(fn2, clone_fn) {
|
|
1959
|
+
const localFn = clone_fn ? (...args) => fn2(args) : fn2;
|
|
1960
|
+
return (obj) => {
|
|
1961
|
+
for (const k in obj) {
|
|
1962
|
+
localFn[k] = obj[k];
|
|
1963
|
+
}
|
|
1964
|
+
return localFn;
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
// src/initializers/addPropsToFn.ts
|
|
1969
|
+
function addFnToProps(props, _clone_fn) {
|
|
1970
|
+
return (fn2) => {
|
|
1971
|
+
const localFn = (...args) => fn2(args);
|
|
1972
|
+
for (const k in props) {
|
|
1973
|
+
localFn[k] = props[k];
|
|
1974
|
+
}
|
|
1975
|
+
return localFn;
|
|
1976
|
+
};
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
// src/initializers/createCssSelector.ts
|
|
1980
|
+
function createCssSelector(_opt) {
|
|
1981
|
+
return (...selectors) => {
|
|
1982
|
+
return selectors.join(" ");
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
// src/initializers/createFnWithProps.ts
|
|
1987
|
+
function createFnWithProps(fn2, props, narrowing = false) {
|
|
1988
|
+
const fnWithProps = fn2;
|
|
1989
|
+
for (const prop of Object.keys(props)) {
|
|
1990
|
+
fnWithProps[prop] = props[prop];
|
|
1991
|
+
}
|
|
1992
|
+
return isTrue(narrowing) ? fnWithProps : fnWithProps;
|
|
1993
|
+
}
|
|
1994
|
+
|
|
1995
|
+
// src/initializers/defineObj.ts
|
|
1996
|
+
function defineObj(literal2 = {}) {
|
|
1997
|
+
return (wide2 = {}) => {
|
|
1998
|
+
const obj = literal2 ? { ...literal2, ...wide2 } : wide2;
|
|
1999
|
+
return obj;
|
|
2000
|
+
};
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
// src/initializers/defineTuple.ts
|
|
2004
|
+
function defineTuple(...values) {
|
|
2005
|
+
return values.map(
|
|
2006
|
+
(i) => isFunction(i) ? handleDoneFn(i(ShapeApiImplementation)) : i
|
|
2007
|
+
);
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
// src/lists/asArray.ts
|
|
2011
|
+
function asArray(thing) {
|
|
2012
|
+
return Array.isArray(thing) === true ? thing : typeof thing === "undefined" ? [] : [thing];
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
// src/lists/createConverter.ts
|
|
2016
|
+
function createConverter(mapper) {
|
|
2017
|
+
return (input) => {
|
|
2018
|
+
let result2;
|
|
2019
|
+
if (isNothing(input)) {
|
|
2020
|
+
result2 = mapper.nothing ? mapper.nothing(input) : Never;
|
|
2021
|
+
} else if (isObject(input)) {
|
|
2022
|
+
result2 = mapper.object ? mapper.object(input) : Never;
|
|
2023
|
+
} else {
|
|
2024
|
+
switch (typeof input) {
|
|
2025
|
+
case "string":
|
|
2026
|
+
result2 = mapper.string ? mapper.string(input) : Never;
|
|
2027
|
+
break;
|
|
2028
|
+
case "number":
|
|
2029
|
+
case "bigint":
|
|
2030
|
+
result2 = mapper.number ? mapper.number(input) : Never;
|
|
2031
|
+
break;
|
|
2032
|
+
case "boolean":
|
|
2033
|
+
result2 = mapper.boolean ? mapper.boolean(input) : Never;
|
|
2034
|
+
break;
|
|
2035
|
+
default:
|
|
2036
|
+
throw new Error(`Unhandled type: ${typeof input}`);
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
return result2;
|
|
2040
|
+
};
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
// src/lists/filter.ts
|
|
2044
|
+
var filter = "NOT READY";
|
|
2045
|
+
|
|
2046
|
+
// src/lists/find.ts
|
|
2047
|
+
function find(list2, deref = null) {
|
|
2048
|
+
return (comparator) => {
|
|
2049
|
+
return list2.find((i) => {
|
|
2050
|
+
const val = deref ? isContainer(i) ? deref in i ? i[deref] : void 0 : i : i;
|
|
2051
|
+
return val === comparator;
|
|
2052
|
+
});
|
|
2053
|
+
};
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
// src/lists/getEach.ts
|
|
2057
|
+
function getEach(list2, dotPath) {
|
|
2058
|
+
const result2 = list2.map(
|
|
2059
|
+
(i) => isNull(dotPath) ? i : isContainer(i) ? get(i, dotPath) : Never
|
|
2060
|
+
).filter((i) => !isErrorCondition(i));
|
|
2061
|
+
return result2;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
// src/lists/indexOf.ts
|
|
2065
|
+
function indexOf(val, index) {
|
|
2066
|
+
const isNegative = isNumber(index) && index < 0;
|
|
2067
|
+
if (isNegative && !Array.isArray(val)) {
|
|
2068
|
+
throw new Error(`The indexOf(val,idx) utility received a negative index value [${index}] but the value being de-references is not an array [${typeof val}]!`);
|
|
2069
|
+
}
|
|
2070
|
+
if (isNegative && Array.isArray(val) && val.length < Math.abs(index)) {
|
|
2071
|
+
throw new Error(`The indexOf(val,idx) utility received a negative index of ${index} but the length of the array passed in is only ${val.length}! This is not allowed.`);
|
|
2072
|
+
}
|
|
2073
|
+
const idx = isNegative && Array.isArray(val) ? val.length + 1 - Math.abs(index) : index;
|
|
2074
|
+
return index === null ? val : isNull(idx) ? val : isArray(val) ? Number(idx) in val ? val[Number(idx)] : errCondition("invalid-index", `attempt to index a numeric array with an invalid index: ${Number(idx)}`) : isObject(val) ? String(idx) in val ? val[String(idx)] : errCondition("invalid-index", `attempt to index a dictionary object with an invalid index: ${String(idx)}`) : errCondition("invalid-container-type", `Attempt to use indexOf() on an invalid container type: ${typeof val}`);
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
// src/lists/intersection.ts
|
|
2078
|
+
function intersectWithOffset(a, b, deref) {
|
|
2079
|
+
const aIndexable = a.every((i) => isIndexable(i));
|
|
2080
|
+
const bIndexable = b.every((i) => isIndexable(i));
|
|
2081
|
+
if (!aIndexable || !bIndexable) {
|
|
2082
|
+
if (!aIndexable) {
|
|
2083
|
+
throw new Error(`The "a" array passed into intersect(a,b) was not fully composed of indexable properties: ${a.map((i) => typeof i).join(", ")}`);
|
|
2084
|
+
} else {
|
|
2085
|
+
throw new Error(`The "b" array passed into intersect(a,b) was not fully composed of indexable properties: ${b.map((i) => typeof i).join(", ")}`);
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
const aMatches = getEach(a, deref);
|
|
2089
|
+
const bMatches = getEach(b, deref);
|
|
2090
|
+
const sharedKeys2 = ifNotNull(
|
|
2091
|
+
deref,
|
|
2092
|
+
(v) => [
|
|
2093
|
+
a.filter((i) => Array.from(bMatches).includes(get(i, v))),
|
|
2094
|
+
b.filter((i) => Array.from(aMatches).includes(get(i, v)))
|
|
2095
|
+
],
|
|
2096
|
+
() => a.filter((k) => b.includes(k))
|
|
2097
|
+
);
|
|
2098
|
+
return sharedKeys2;
|
|
2099
|
+
}
|
|
2100
|
+
function intersectNoOffset(a, b) {
|
|
2101
|
+
return a.length < b.length ? a.filter((val) => b.includes(val)) : b.filter((val) => a.includes(val));
|
|
2102
|
+
}
|
|
2103
|
+
function intersection(a, b, deref = null) {
|
|
2104
|
+
return deref === null ? intersectNoOffset(a, b) : intersectWithOffset(a, b, deref);
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
// src/lists/joinWith.ts
|
|
2108
|
+
function joinWith(joinWith2) {
|
|
2109
|
+
return (...tuple3) => {
|
|
2110
|
+
const tup = tuple3;
|
|
2111
|
+
return tup.join(joinWith2);
|
|
2112
|
+
};
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
// src/lists/last.ts
|
|
2116
|
+
function last(list2) {
|
|
2117
|
+
return [...list2].pop();
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
// src/lists/logicalReturns.ts
|
|
2121
|
+
function logicalReturns(conditions) {
|
|
2122
|
+
return conditions.map(
|
|
2123
|
+
(c) => isBoolean(c) ? c : isFunction(c) ? c() : Never
|
|
2124
|
+
);
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
// src/lists/reverse.ts
|
|
2128
|
+
function reverse(list2) {
|
|
2129
|
+
return [...list2].reverse();
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
// src/lists/shift.ts
|
|
2133
|
+
function shift(list2) {
|
|
2134
|
+
let rtn;
|
|
2135
|
+
if (isDefined(list2)) {
|
|
2136
|
+
rtn = list2.length === 0 ? void 0 : list2[0];
|
|
2137
|
+
try {
|
|
2138
|
+
list2 = list2.slice(1);
|
|
2139
|
+
} catch {
|
|
2140
|
+
}
|
|
2141
|
+
} else {
|
|
2142
|
+
rtn = void 0;
|
|
2143
|
+
}
|
|
2144
|
+
return rtn;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
// src/lists/slice.ts
|
|
2148
|
+
function slice(list2, start, end) {
|
|
2149
|
+
return list2.slice(start, end);
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
// src/lists/unique.ts
|
|
2153
|
+
function unique(...values) {
|
|
2154
|
+
const u = [];
|
|
2155
|
+
for (const i of values.flat()) {
|
|
2156
|
+
if (!u.includes(i)) {
|
|
2157
|
+
u.push(i);
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
return u;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
// src/literals/box.ts
|
|
2164
|
+
function box(value) {
|
|
2165
|
+
const rtn = {
|
|
2166
|
+
__type: "box",
|
|
2167
|
+
value,
|
|
2168
|
+
unbox: (...p) => {
|
|
2169
|
+
return typeof value === "function" ? value(...p) : value;
|
|
2170
|
+
}
|
|
2171
|
+
};
|
|
2172
|
+
return rtn;
|
|
2173
|
+
}
|
|
2174
|
+
function isBox(thing) {
|
|
2175
|
+
return typeof thing === "object" && "__type" in thing && thing.__type === "box";
|
|
2176
|
+
}
|
|
2177
|
+
function boxDictionaryValues(dict) {
|
|
2178
|
+
const keys = Object.keys(dict);
|
|
2179
|
+
return keys.reduce(
|
|
2180
|
+
(acc, key) => ({ ...acc, [key]: box(dict[key]) }),
|
|
2181
|
+
{}
|
|
2182
|
+
);
|
|
2183
|
+
}
|
|
2184
|
+
function unbox(val) {
|
|
2185
|
+
return isBox(val) ? val.value : val;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
// src/literals/capitalize.ts
|
|
2189
|
+
function capitalize(str) {
|
|
2190
|
+
return `${str?.slice(0, 1).toUpperCase()}${str?.slice(1)}`;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
// src/literals/color/cssColor.ts
|
|
2194
|
+
function cssColor(color, v1, v2, v3, opacity) {
|
|
2195
|
+
return `color(${color} ${v1} ${v2} ${v3}${opacity ? ` / ${opacity}` : ""}`;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
// src/literals/color/twColor.ts
|
|
2199
|
+
function twColor(color, luminosity) {
|
|
2200
|
+
const lum = TW_LUMINOSITY[luminosity];
|
|
2201
|
+
const chroma = TW_CHROMA[luminosity];
|
|
2202
|
+
const hue = TW_HUE[color];
|
|
2203
|
+
return `oklch(${lum} ${chroma} ${hue})`;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
// src/literals/ensureLeading.ts
|
|
2207
|
+
function ensureLeading(content, ensure) {
|
|
2208
|
+
const output = String(content);
|
|
2209
|
+
return output.startsWith(String(ensure)) ? content : isString(content) ? `${ensure}${content}` : Number(`${ensure}${content}`);
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
// src/literals/ensureSurround.ts
|
|
2213
|
+
function ensureSurround(prefix, postfix) {
|
|
2214
|
+
const fn2 = (input) => {
|
|
2215
|
+
let result2 = input;
|
|
2216
|
+
result2 = ensureLeading(result2, prefix);
|
|
2217
|
+
result2 = ensureTrailing(result2, postfix);
|
|
2218
|
+
return result2;
|
|
2219
|
+
};
|
|
2220
|
+
return fn2;
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
// src/literals/ensureTrailing.ts
|
|
2224
|
+
function ensureTrailing(content, ensure) {
|
|
2225
|
+
return (
|
|
2226
|
+
//
|
|
2227
|
+
content.endsWith(ensure) ? content : `${content}${ensure}`
|
|
2228
|
+
);
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
// src/literals/identity.ts
|
|
2232
|
+
function identity(...values) {
|
|
2233
|
+
return values.length === 1 ? values[0] : values.length === 0 ? void 0 : values;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
// src/literals/ifLowercase.ts
|
|
2237
|
+
function ifLowercaseChar(ch, callbackForMatch, callbackForNoMatch) {
|
|
2238
|
+
if (ch.length !== 1) {
|
|
2239
|
+
throw new Error(`call to ifUppercaseChar received ${ch.length} characters but is only valid when one character is passed in!`);
|
|
2240
|
+
}
|
|
2241
|
+
return LOWER_ALPHA_CHARS.includes(ch) ? callbackForMatch(ch) : callbackForNoMatch(ch);
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
// src/literals/ifUppercase.ts
|
|
2245
|
+
function ifUppercaseChar(ch, callbackForMatch, callbackForNoMatch) {
|
|
2246
|
+
if (ch.length !== 1) {
|
|
2247
|
+
throw new Error(`Invalid string length passed to ifUppercaseChar(ch); this function requires a single character but ${ch.length} were received`);
|
|
2248
|
+
}
|
|
2249
|
+
return LOWER_ALPHA_CHARS.includes(ch) ? callbackForMatch(ch) : callbackForNoMatch(ch);
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
// src/literals/literal.ts
|
|
2253
|
+
function idLiteral(o) {
|
|
2254
|
+
return { ...o, id: o.id };
|
|
2255
|
+
}
|
|
2256
|
+
function nameLiteral(o) {
|
|
2257
|
+
return o;
|
|
2258
|
+
}
|
|
2259
|
+
function kindLiteral(o) {
|
|
2260
|
+
return o;
|
|
2261
|
+
}
|
|
2262
|
+
function idTypeGuard(_o) {
|
|
2263
|
+
return true;
|
|
2264
|
+
}
|
|
2265
|
+
function literal(obj) {
|
|
2266
|
+
return obj;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
// src/literals/lowercase.ts
|
|
2270
|
+
function lowercase(str) {
|
|
2271
|
+
return str.toLowerCase();
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
// src/literals/narrow.ts
|
|
2275
|
+
function narrow(...values) {
|
|
2276
|
+
return values.length === 1 ? values[0] : values;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
// src/literals/pathJoin.ts
|
|
2280
|
+
function pathJoin(...segments) {
|
|
2281
|
+
const clean_path = segments.map((i) => stripTrailing(stripLeading(i, "/"), "/")).join("/");
|
|
2282
|
+
const original_path = segments.join("/");
|
|
2283
|
+
const pre = original_path.startsWith("/") ? "/" : "";
|
|
2284
|
+
const post = original_path.endsWith("/") ? "/" : "";
|
|
2285
|
+
return `${pre}${clean_path}${post}`;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
// src/literals/phone/asPhoneNumber.ts
|
|
2289
|
+
var asPhoneFormat = () => `NOT IMPLEMENTED`;
|
|
2290
|
+
|
|
2291
|
+
// src/literals/phone/getPhoneCountryCode.ts
|
|
2292
|
+
function getPhoneCountryCode(phone) {
|
|
2293
|
+
return phone.trim().startsWith("+") || phone.trim().startsWith("00") ? retainWhile(
|
|
2294
|
+
stripLeading(stripLeading(phone.trim(), "+"), "00"),
|
|
2295
|
+
...NUMERIC_CHAR
|
|
2296
|
+
) : "";
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
// src/literals/phone/removePhoneCountryCode.ts
|
|
2300
|
+
function removePhoneCountryCode(phone) {
|
|
2301
|
+
const countryCode = getPhoneCountryCode(phone);
|
|
2302
|
+
return countryCode !== "" ? stripLeading(stripLeading(
|
|
2303
|
+
phone.trim(),
|
|
2304
|
+
"+",
|
|
2305
|
+
"00"
|
|
2306
|
+
), countryCode).trim() : phone.trim();
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
// src/literals/pluralize.ts
|
|
2310
|
+
var isException = (word) => Object.keys(PLURAL_EXCEPTIONS).includes(word);
|
|
2311
|
+
function endingIn(word, postfix) {
|
|
2312
|
+
switch (postfix) {
|
|
2313
|
+
case "is":
|
|
2314
|
+
return word.endsWith(postfix) ? `${word}es` : void 0;
|
|
2315
|
+
case "singular-noun":
|
|
2316
|
+
return SINGULAR_NOUN_ENDINGS.some((i) => word.endsWith(i)) ? split(word).every((i) => [...ALPHA_CHARS].includes(i)) ? `${word}es` : void 0 : void 0;
|
|
2317
|
+
case "f":
|
|
2318
|
+
return word.endsWith("f") ? `${stripTrailing(word, "f")}ves` : word.endsWith("fe") ? `${stripTrailing(word, "fe")}ves` : void 0;
|
|
2319
|
+
case "y":
|
|
2320
|
+
return word.endsWith("y") ? `${stripTrailing(word, "y")}ies` : void 0;
|
|
2321
|
+
default:
|
|
2322
|
+
throw new Error(`endingIn received "${postfix}" as a postfix but this ending is not known!`);
|
|
2323
|
+
}
|
|
2324
|
+
}
|
|
2325
|
+
function pluralize(word) {
|
|
2326
|
+
const right = rightWhitespace(word);
|
|
2327
|
+
const w = word.trimEnd();
|
|
2328
|
+
const result2 = isException(w) ? PLURAL_EXCEPTIONS[w] : endingIn(w, "is") || endingIn(w, "singular-noun") || endingIn(w, "f") || endingIn(w, "y") || `${w}s`;
|
|
2329
|
+
return `${result2}${right}`;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
// src/literals/retainAfter.ts
|
|
2333
|
+
function retainAfter(content, ...find2) {
|
|
2334
|
+
const idx = Math.min(
|
|
2335
|
+
...find2.map((i) => content.indexOf(i)).filter((i) => i > -1)
|
|
2336
|
+
);
|
|
2337
|
+
const min = Math.min(...find2.map((i) => i.length));
|
|
2338
|
+
let len = Math.max(...find2.map((i) => i.length));
|
|
2339
|
+
if (min !== len) {
|
|
2340
|
+
if (!find2.includes(content.slice(idx, len))) {
|
|
2341
|
+
len = min;
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
return idx && idx > 0 ? content.slice(idx + len) : "";
|
|
2345
|
+
}
|
|
2346
|
+
function retainAfterInclusive(content, ...find2) {
|
|
2347
|
+
const minFound = Math.min(
|
|
2348
|
+
...find2.map((i) => content.indexOf(i)).filter((i) => i > -1)
|
|
2349
|
+
);
|
|
2350
|
+
return minFound > 0 ? content.slice(minFound) : "";
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
// src/type-conversion/asChars.ts
|
|
2354
|
+
function asChars(str) {
|
|
2355
|
+
return str.split("");
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
// src/literals/retainChars.ts
|
|
2359
|
+
function retainChars(content, ...retain2) {
|
|
2360
|
+
const chars = asChars(content);
|
|
2361
|
+
return chars.filter((c) => retain2.includes(c)).join("");
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
// src/type-conversion/asRecord.ts
|
|
2365
|
+
function asRecord(obj) {
|
|
2366
|
+
return obj;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
// src/type-conversion/asString.ts
|
|
2370
|
+
function asString(value) {
|
|
2371
|
+
return isString(value) ? value : isNumber(value) ? `${value}` : isBoolean(value) ? `${value}` : isArray(value) ? value.join("") : String(value);
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
// src/type-guards/isFunction.ts
|
|
2375
|
+
function isFunction(value) {
|
|
2376
|
+
return typeof value === "function";
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
// src/type-guards/isObject.ts
|
|
2380
|
+
function isObject(value) {
|
|
2381
|
+
return typeof value === "object" && value !== null && Array.isArray(value) === false;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
// src/type-guards/api-tg.ts
|
|
2385
|
+
function isEscapeFunction(val) {
|
|
2386
|
+
return isFunction(val) && "escape" in val && val.escape === true;
|
|
2387
|
+
}
|
|
2388
|
+
function isOptionalParamFunction(val) {
|
|
2389
|
+
return isFunction(val) && "optionalParams" in val && val.optionalParams === true;
|
|
2390
|
+
}
|
|
2391
|
+
function isApi(api2) {
|
|
2392
|
+
return isObject(api2) && "surface" in api2 && "_kind" in api2 && api2._kind === "api";
|
|
2393
|
+
}
|
|
2394
|
+
function isApiSurface(val) {
|
|
2395
|
+
return isObject(val) && Object.keys(val).some((k) => isEscapeFunction(val[k]));
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
// src/type-guards/date-time/isDate.ts
|
|
2399
|
+
function isDate(val) {
|
|
2400
|
+
return val instanceof Date;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
// src/type-guards/date-time/isDateTime.ts
|
|
2404
|
+
function isIsoDateTime(val) {
|
|
2405
|
+
if (!isString(val)) {
|
|
2406
|
+
return false;
|
|
2407
|
+
}
|
|
2408
|
+
const ISO_DATETIME_REGEX = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,3}))?)?(Z|[+-]\d{2}:\d{2})?$/;
|
|
2409
|
+
if (!ISO_DATETIME_REGEX.test(val)) {
|
|
2410
|
+
return false;
|
|
2411
|
+
}
|
|
2412
|
+
const [_, ...matches] = val.match(ISO_DATETIME_REGEX) || [];
|
|
2413
|
+
const [year, month, day, hours, minutes, seconds] = matches.map(Number);
|
|
2414
|
+
if (hours >= 24 || minutes >= 60 || seconds != null && seconds >= 60) {
|
|
2415
|
+
return false;
|
|
2416
|
+
}
|
|
2417
|
+
if (month < 1 || month > 12) {
|
|
2418
|
+
return false;
|
|
2419
|
+
}
|
|
2420
|
+
const daysInMonth = new Date(year, month, 0).getDate();
|
|
2421
|
+
if (day < 1 || day > daysInMonth) {
|
|
2422
|
+
return false;
|
|
2423
|
+
}
|
|
2424
|
+
const tzMatch = val.match(/([+-])(\d{2}):(\d{2})$/);
|
|
2425
|
+
if (tzMatch) {
|
|
2426
|
+
const [_2, _sign, tzHours, tzMinutes] = tzMatch;
|
|
2427
|
+
const numHours = Number.parseInt(tzHours, 10);
|
|
2428
|
+
const numMinutes = Number.parseInt(tzMinutes, 10);
|
|
2429
|
+
if (numHours > 14 || numMinutes > 59) {
|
|
2430
|
+
return false;
|
|
2431
|
+
}
|
|
2432
|
+
if (numHours === 14 && numMinutes > 0) {
|
|
2433
|
+
return false;
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
return true;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
// src/type-guards/date-time/isIsoDate.ts
|
|
2440
|
+
function isIsoExplicitDate(val) {
|
|
2441
|
+
if (isString(val)) {
|
|
2442
|
+
const parts = val.split("-").map((i) => Number(i));
|
|
2443
|
+
return val.includes("-") ? val.split("-").every((i) => isNumberLike(i)) ? parts[0] >= 0 && parts[0] <= 9999 && parts[1] >= 1 && parts[1] <= 12 && parts[2] >= 1 && parts[2] <= 31 : false : false;
|
|
2444
|
+
} else {
|
|
2445
|
+
return false;
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
function isIsoImplicitDate(val) {
|
|
2449
|
+
if (isString(val) && val.length === 8 && isNumberLike(val)) {
|
|
2450
|
+
const year = Number(val.slice(0, 4));
|
|
2451
|
+
const month = Number(val.slice(4, 6));
|
|
2452
|
+
const date = Number(val.slice(6, 8));
|
|
2453
|
+
return year >= 0 && year <= 9999 && month >= 1 && month <= 12 && date >= 1 && date <= 31;
|
|
2454
|
+
} else {
|
|
2455
|
+
return false;
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
function isIsoDate(val) {
|
|
2459
|
+
if (isString(val)) {
|
|
2460
|
+
return val.includes("-") ? isIsoExplicitDate(val) : isIsoImplicitDate(val);
|
|
2461
|
+
} else {
|
|
2462
|
+
return false;
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
// src/type-guards/date-time/isIsoTime.ts
|
|
2467
|
+
function isIsoExplicitTime(val) {
|
|
2468
|
+
if (isString(val)) {
|
|
2469
|
+
const parts = stripLeading(stripAfter(val, "Z"), "T").split(/[:.]/).map((i) => Number(i));
|
|
2470
|
+
return val.startsWith("T") && val.includes(":") && val.split(":").length === 3 && parts[0] >= 0 && parts[0] <= 23 && parts[1] >= 0 && parts[1] <= 59;
|
|
2471
|
+
} else {
|
|
2472
|
+
return false;
|
|
2473
|
+
}
|
|
2474
|
+
}
|
|
2475
|
+
function isIsoImplicitTime(val) {
|
|
2476
|
+
if (isString(val)) {
|
|
2477
|
+
const parts = stripAfter(val, "Z").split(/[:.]/).map((i) => Number(i));
|
|
2478
|
+
return val.includes(":") && val.split(":").length === 3 && parts[0] >= 0 && parts[0] <= 23 && parts[1] >= 0 && parts[1] <= 59;
|
|
2479
|
+
} else {
|
|
2480
|
+
return false;
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
function isIsoTime(val) {
|
|
2484
|
+
return isIsoExplicitTime(val) || isIsoImplicitTime(val);
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
// src/type-guards/date-time/isIsoYear.ts
|
|
2488
|
+
function isIsoYear(val) {
|
|
2489
|
+
return !!(isString(val) && val.length === 4 && isNumber(Number(val)) && Number(val) >= 0 && Number(val) <= 9999);
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
// src/type-guards/date-time/isLuxonDateTime.ts
|
|
2493
|
+
function isLuxonDateTime(val) {
|
|
2494
|
+
return isObject(val) && typeof val === "object" && val !== null && "isValid" in val && "invalidReason" in val && "invalidExplanation" in val && "toISO" in val && "toFormat" in val && "toMillis" in val && "year" in val && "month" in val && "day" in val && "hour" in val && "minute" in val && "second" in val && "millisecond" in val && typeof val.isValid === "boolean" && typeof val.toISO === "function";
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
// src/type-guards/date-time/isMoment.ts
|
|
2498
|
+
function isMoment(val) {
|
|
2499
|
+
if (val instanceof Date) {
|
|
2500
|
+
return false;
|
|
2501
|
+
}
|
|
2502
|
+
return isObject(val) && typeof val.format === "function" && typeof val.year === "function" && typeof val.month === "function" && typeof val.date === "function" && "_isAMomentObject" in val && "_isValid" in val && typeof val.add === "function" && typeof val.subtract === "function" && typeof val.toISOString === "function" && typeof val.isValid === "function";
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
// src/type-guards/date-time/isThisMonth.ts
|
|
2506
|
+
function isThisMonth(val) {
|
|
2507
|
+
const now = /* @__PURE__ */ new Date();
|
|
2508
|
+
const currentYear = now.getFullYear();
|
|
2509
|
+
const currentMonth = now.getMonth() + 1;
|
|
2510
|
+
if (val instanceof Date) {
|
|
2511
|
+
return val.getFullYear() === currentYear && val.getMonth() + 1 === currentMonth;
|
|
2512
|
+
}
|
|
2513
|
+
if (isMoment(val)) {
|
|
2514
|
+
const monthValue = val.month();
|
|
2515
|
+
return val.year() === currentYear && (typeof monthValue === "number" ? monthValue + 1 : monthValue) === currentMonth;
|
|
2516
|
+
}
|
|
2517
|
+
if (isLuxonDateTime(val)) {
|
|
2518
|
+
return val.year === currentYear && val.month === currentMonth;
|
|
2519
|
+
}
|
|
2520
|
+
if (typeof val === "string") {
|
|
2521
|
+
const isoDateRegex = /^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])(?:T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[-+][01]\d:[0-5]\d))?$/;
|
|
2522
|
+
if (!isoDateRegex.test(val)) {
|
|
2523
|
+
return false;
|
|
2524
|
+
}
|
|
2525
|
+
const dateMatch = val.match(/^(\d{4})-(\d{2})/);
|
|
2526
|
+
if (dateMatch) {
|
|
2527
|
+
const year = Number.parseInt(dateMatch[1], 10);
|
|
2528
|
+
const month = Number.parseInt(dateMatch[2], 10);
|
|
2529
|
+
return year === currentYear && month === currentMonth;
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
return false;
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
// src/type-guards/date-time/isThisWeek.ts
|
|
2536
|
+
function isThisWeek(date) {
|
|
2537
|
+
const targetDate = asDate(date);
|
|
2538
|
+
if (!targetDate) {
|
|
2539
|
+
return false;
|
|
2540
|
+
}
|
|
2541
|
+
const currentWeek = getWeekNumber();
|
|
2542
|
+
const targetWeek = getWeekNumber(targetDate);
|
|
2543
|
+
return currentWeek === targetWeek;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
// src/type-guards/date-time/isThisYear.ts
|
|
2547
|
+
function isThisYear(val) {
|
|
2548
|
+
const currentYear = (/* @__PURE__ */ new Date()).getFullYear();
|
|
2549
|
+
if (isObject(val) || isNumber(val) || isString(val)) {
|
|
2550
|
+
const date = asDate(val);
|
|
2551
|
+
if (date) {
|
|
2552
|
+
return date.getFullYear() === currentYear;
|
|
2553
|
+
} else {
|
|
2554
|
+
return false;
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
return false;
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
// src/type-guards/date-time/isToday.ts
|
|
2561
|
+
function isToday(test) {
|
|
2562
|
+
if (isString(test)) {
|
|
2563
|
+
const justDate = stripAfter(test, "T");
|
|
2564
|
+
return isIsoExplicitDate(justDate) && justDate === getToday();
|
|
2565
|
+
} else if (isMoment(test) || isDate(test)) {
|
|
2566
|
+
return stripAfter(test.toISOString(), "T") === getToday();
|
|
2567
|
+
} else if (isLuxonDateTime(test)) {
|
|
2568
|
+
return stripAfter(test.toISO(), "T") === getToday();
|
|
2569
|
+
}
|
|
2570
|
+
return false;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
// src/type-guards/date-time/isTomorrow.ts
|
|
2574
|
+
function isTomorrow(test) {
|
|
2575
|
+
if (isString(test)) {
|
|
2576
|
+
const justDate = stripAfter(test, "T");
|
|
2577
|
+
return isIsoExplicitDate(justDate) && justDate === getTomorrow();
|
|
2578
|
+
} else if (isMoment(test) || isDate(test)) {
|
|
2579
|
+
return stripAfter(test.toISOString(), "T") === getTomorrow();
|
|
2580
|
+
} else if (isLuxonDateTime(test)) {
|
|
2581
|
+
return stripAfter(test.toISO(), "T") === getTomorrow();
|
|
2582
|
+
}
|
|
2583
|
+
return false;
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
// src/type-guards/date-time/isYesterday.ts
|
|
2587
|
+
function isYesterday(test) {
|
|
2588
|
+
if (isString(test)) {
|
|
2589
|
+
const justDate = stripAfter(test, "T");
|
|
2590
|
+
return isIsoExplicitDate(justDate) && justDate === getYesterday();
|
|
2591
|
+
} else if (isMoment(test) || isDate(test)) {
|
|
2592
|
+
return stripAfter(test.toISOString(), "T") === getYesterday();
|
|
2593
|
+
} else if (isLuxonDateTime(test)) {
|
|
2594
|
+
return stripAfter(test.toISO(), "T") === getYesterday();
|
|
2595
|
+
}
|
|
2596
|
+
return false;
|
|
2597
|
+
}
|
|
2598
|
+
|
|
2599
|
+
// src/type-guards/geo/isIso3166Alpha2.ts
|
|
2600
|
+
function isIso3166Alpha2(val) {
|
|
2601
|
+
const codes = ISO3166_1.map((i) => i.alpha2);
|
|
2602
|
+
return isString(val) && codes.includes(val);
|
|
2603
|
+
}
|
|
2604
|
+
function isCountryCode2(val) {
|
|
2605
|
+
const codes = ISO3166_1.map((i) => i.alpha2);
|
|
2606
|
+
return isString(val) && codes.includes(val);
|
|
2607
|
+
}
|
|
2608
|
+
function isIso3166Alpha3(val) {
|
|
2609
|
+
const codes = ISO3166_1.map((i) => i.alpha3);
|
|
2610
|
+
return isString(val) && codes.includes(val);
|
|
2611
|
+
}
|
|
2612
|
+
function isCountryCode3(val) {
|
|
2613
|
+
const codes = ISO3166_1.map((i) => i.alpha3);
|
|
2614
|
+
return isString(val) && codes.includes(val);
|
|
2615
|
+
}
|
|
2616
|
+
function isIso3166CountryCode(val) {
|
|
2617
|
+
const codes = ISO3166_1.map((i) => i.countryCode);
|
|
2618
|
+
return isString(val) && codes.includes(val);
|
|
2619
|
+
}
|
|
2620
|
+
function isCountryAbbrev(val) {
|
|
2621
|
+
return isCountryCode2(val) || isCountryCode3(val);
|
|
2622
|
+
}
|
|
2623
|
+
function isIso3166CountryName(val) {
|
|
2624
|
+
const codes = ISO3166_1.map((i) => i.name);
|
|
2625
|
+
return isString(val) && codes.includes(val);
|
|
2626
|
+
}
|
|
2627
|
+
function isCountryName(val) {
|
|
2628
|
+
const codes = ISO3166_1.map((i) => i.name);
|
|
2629
|
+
return isString(val) && codes.includes(val);
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
// src/type-guards/geo/isUsState.ts
|
|
2633
|
+
var ABBREV = US_STATE_LOOKUP.map((i) => i.abbrev);
|
|
2634
|
+
var NAME = US_STATE_LOOKUP.map((i) => i.name);
|
|
2635
|
+
function isUsStateAbbreviation(val) {
|
|
2636
|
+
return isString(val) && ABBREV.includes(val);
|
|
2637
|
+
}
|
|
2638
|
+
function isUsStateName(val) {
|
|
2639
|
+
return isString(val) && NAME.includes(val);
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
// src/literals/split.ts
|
|
2643
|
+
function split(str, sep = "") {
|
|
2644
|
+
return str.split(sep);
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
// src/type-guards/isNumericString.ts
|
|
2648
|
+
function isNumericString(value) {
|
|
2649
|
+
const numericChars = [...NUMERIC_CHAR];
|
|
2650
|
+
return typeof value === "string" && split(value).every((i) => numericChars.includes(i));
|
|
2651
|
+
}
|
|
2652
|
+
function isNumberLike(value) {
|
|
2653
|
+
const numericChars = [...NUMERIC_CHAR];
|
|
2654
|
+
return typeof value === "string" && split(value).every((i) => numericChars.includes(i)) ? true : typeof value === "number";
|
|
2655
|
+
}
|
|
2656
|
+
|
|
2657
|
+
// src/type-guards/geo/isZipCode.ts
|
|
2658
|
+
function isZipCode5(val) {
|
|
2659
|
+
if (isNumber(val)) {
|
|
2660
|
+
return isZipCode5(`${val}`);
|
|
2661
|
+
}
|
|
2662
|
+
return isString(val) && val.trim().length === 5 && isNumberLike(val.trim());
|
|
2663
|
+
}
|
|
2664
|
+
function isZipPlus4(val) {
|
|
2665
|
+
if (isString(val)) {
|
|
2666
|
+
const first = retainWhile(val.trim(), ...NUMERIC_CHAR);
|
|
2667
|
+
const next = stripChars(val.trim().replace(first, "").trim(), "-");
|
|
2668
|
+
return first.length === 5 && next.length === 4 && isNumberLike(next);
|
|
2669
|
+
}
|
|
2670
|
+
return false;
|
|
2671
|
+
}
|
|
2672
|
+
function isZipCode(val) {
|
|
2673
|
+
return isZipCode5(val) || isZipPlus4(val);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
// src/type-guards/isSpecificConstant.ts
|
|
2677
|
+
function isSpecificConstant(kind) {
|
|
2678
|
+
return (value) => {
|
|
2679
|
+
return !!(isConstant(value) && value.kind === kind);
|
|
2680
|
+
};
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
// src/type-guards/hasDefaultValue.ts
|
|
2684
|
+
function hasDefaultValue(value) {
|
|
2685
|
+
const noDefault = isSpecificConstant("no-default-value");
|
|
2686
|
+
return !noDefault(value);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
// src/type-guards/hasIndexOf.ts
|
|
2690
|
+
function hasIndexOf(value, idx) {
|
|
2691
|
+
const result2 = isObject(value) ? String(idx) in value : Array.isArray(value) ? Number(idx) in value : false;
|
|
2692
|
+
return isErrorCondition(result2, "invalid-index") ? false : result2;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
// src/type-guards/hasKeys.ts
|
|
2696
|
+
function hasKeys(...props) {
|
|
2697
|
+
return (val) => {
|
|
2698
|
+
const keys = Array.isArray(props) ? props : Object.keys(props).filter((i) => typeof i === "string");
|
|
2699
|
+
return !!((isFunction(val) || isObject(val)) && keys.every((k) => k in val));
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
// src/type-guards/hasWhitespace.ts
|
|
2704
|
+
function hasWhiteSpace(val) {
|
|
2705
|
+
return isString(val) && asChars(val).some((c) => WHITESPACE_CHARS.includes(c));
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
// src/type-guards/higher-order/endsWith.ts
|
|
2709
|
+
function endsWith(endingIn2) {
|
|
2710
|
+
return (val) => {
|
|
2711
|
+
return isString(val) ? !!val.endsWith(endingIn2) : isNumber(val) ? !!String(val).endsWith(endingIn2) : false;
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
// src/type-guards/higher-order/isEqual.ts
|
|
2716
|
+
function isEqual(base) {
|
|
2717
|
+
return (value) => isSameTypeOf(base)(value) ? value === base : false;
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
// src/type-guards/higher-order/isLength.ts
|
|
2721
|
+
function isLength(value, len) {
|
|
2722
|
+
return isArray(value) ? !!isEqual(value.length)(len) : isString(value) ? !!isEqual(value.length)(len) : isObject(value) ? !!isEqual(keysOf(value))(len) : false;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
// src/type-guards/higher-order/isSameTypeOf.ts
|
|
2726
|
+
function isSameTypeOf(base) {
|
|
2727
|
+
return (compare) => {
|
|
2728
|
+
return typeof base === typeof compare;
|
|
2729
|
+
};
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
// src/type-guards/higher-order/isTuple.ts
|
|
2733
|
+
function isTuple(...tuple3) {
|
|
2734
|
+
const results = tuple3.map((i) => i(ShapeApiImplementation)).map((i) => isDoneFn(i) ? i.done() : i);
|
|
2735
|
+
return (v) => {
|
|
2736
|
+
return isArray(v) && v.length === results.length && results.every(isShape) && v.every((item, idx) => isSameTypeOf(results[idx])(item));
|
|
2737
|
+
};
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
// src/type-guards/higher-order/isTypeOf.ts
|
|
2741
|
+
function isTypeOf(type) {
|
|
2742
|
+
return (value) => {
|
|
2743
|
+
return typeof value === type;
|
|
2744
|
+
};
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
// src/type-guards/higher-order/startsWith.ts
|
|
2748
|
+
function startsWith(startingWith) {
|
|
2749
|
+
return (val) => {
|
|
2750
|
+
return isString(val) ? !!val.startsWith(startingWith) : isNumber(val) ? !!String(val).startsWith(startingWith) : false;
|
|
2751
|
+
};
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2754
|
+
// src/type-guards/html/isHtmlElement.ts
|
|
2755
|
+
function isHtmlElement(val) {
|
|
2756
|
+
return isObject(val) && "attributes" in val && "firstElementChild" in val && "innerHTML" in val;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
// src/type-guards/isAlpha.ts
|
|
2760
|
+
function isAlpha(value) {
|
|
2761
|
+
return isString(value) && split(value).every((v) => ALPHA_CHARS.includes(v));
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
// src/type-guards/isArray.ts
|
|
2765
|
+
function isArray(value) {
|
|
2766
|
+
return Array.isArray(value) === true;
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
// src/type-guards/isBoolean.ts
|
|
2770
|
+
function isBoolean(value) {
|
|
2771
|
+
return typeof value === "boolean";
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
// src/type-guards/isBooleanLike.ts
|
|
2775
|
+
function isBooleanLike(val) {
|
|
2776
|
+
return isBoolean(val) || isString(val) && ["true", "false", "boolean"].includes(val);
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
// src/type-guards/isConstant.ts
|
|
2780
|
+
function isConstant(value) {
|
|
2781
|
+
return !!(isObject(value) && "_type" in value && "kind" in value && value._type === "Constant");
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
// src/type-guards/isContainer.ts
|
|
2785
|
+
function isContainer(value) {
|
|
2786
|
+
return !!(Array.isArray(value) || isObject(value));
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
// src/type-guards/isCssAspectRatio.ts
|
|
2790
|
+
var tokens = [
|
|
2791
|
+
"1",
|
|
2792
|
+
"inherit",
|
|
2793
|
+
"initial",
|
|
2794
|
+
"revert",
|
|
2795
|
+
"revert-layer",
|
|
2796
|
+
"unset",
|
|
2797
|
+
"auto"
|
|
2798
|
+
];
|
|
2799
|
+
var isRatio = (val) => /\d{1,4}\s*\/\s*\d{1,4}/.test(val);
|
|
2800
|
+
function isCssAspectRatio(val) {
|
|
2801
|
+
return isString(val) && val.split(/\s+/).every((i) => tokens.includes(i) || isRatio(i));
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
// src/type-guards/isDefined.ts
|
|
2805
|
+
function isDefined(value) {
|
|
2806
|
+
return typeof value !== "undefined";
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
// src/type-guards/isDoneFn.ts
|
|
2810
|
+
function isDoneFn(val) {
|
|
2811
|
+
return hasKeys("done")(val) && typeof val.done === "function";
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
// src/type-guards/isEmail.ts
|
|
2815
|
+
function isEmail(val) {
|
|
2816
|
+
if (!isString(val)) {
|
|
2817
|
+
return false;
|
|
2818
|
+
}
|
|
2819
|
+
const parts = val?.split("@");
|
|
2820
|
+
const domain = parts[1]?.split(".");
|
|
2821
|
+
const tld = domain ? domain.pop() : "";
|
|
2822
|
+
const firstChar = val[0].toLowerCase();
|
|
2823
|
+
return isString(val) && (LOWER_ALPHA_CHARS.includes(firstChar) && parts.length === 2 && domain.length >= 1 && tld.length >= 2);
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
// src/type-guards/isErrorCondition.ts
|
|
2827
|
+
function isErrorCondition(value, kind = null) {
|
|
2828
|
+
return isObject(value) && "__kind" in value && value.__kind === "ErrorCondition" && "kind" in value ? kind !== null ? value.kind === kind : true : false;
|
|
2829
|
+
}
|
|
2830
|
+
|
|
2831
|
+
// src/type-guards/isFalse.ts
|
|
2832
|
+
function isFalse(i) {
|
|
2833
|
+
return typeof i === "boolean" && !i;
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
// src/type-guards/isFalsy.ts
|
|
2837
|
+
function isFalsy(val) {
|
|
2838
|
+
return FALSY_VALUES.includes(val);
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
// src/type-guards/isFnWithParams.ts
|
|
2842
|
+
function isFnWithParams(input) {
|
|
2843
|
+
return typeof input === "function" && Object.keys(input)?.length > 0;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
// src/type-guards/isHexadecimal.ts
|
|
2847
|
+
function isHexadecimal(val) {
|
|
2848
|
+
return isString(val) && asChars(val).every((i) => isNumericString(i) || ["a", "b", "c", "d", "e", "f"].includes(i.toLowerCase()));
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
// src/type-guards/isIndexable.ts
|
|
2852
|
+
function isIndexable(value) {
|
|
2853
|
+
return !!(Array.isArray(value) || typeof value === "object" && keysOf(value).length > 0);
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
// src/type-guards/isInlineSvg.ts
|
|
2857
|
+
function isInlineSvg(v) {
|
|
2858
|
+
return isString(v) && v.trim().startsWith(`<svg`) && v.trim().endsWith(`</svg>`);
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
// src/type-guards/isNever.ts
|
|
2862
|
+
function isNever(val) {
|
|
2863
|
+
return isConstant(val) && val.kind === "never";
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
// src/type-guards/isNothing.ts
|
|
2867
|
+
function isNothing(val) {
|
|
2868
|
+
return !!(val === null || val === void 0);
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
// src/type-guards/isNotNull.ts
|
|
2872
|
+
function isNotNull(value) {
|
|
2873
|
+
return value === null;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
// src/type-guards/isNumericArray.ts
|
|
2877
|
+
function isNumericArray(val) {
|
|
2878
|
+
return Array.isArray(val) && val.every((i) => isNumber(i));
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
// src/type-guards/isPhoneNumber.ts
|
|
2882
|
+
function isPhoneNumber(val) {
|
|
2883
|
+
const svelte = String(val).trim();
|
|
2884
|
+
const chars = svelte.split("");
|
|
2885
|
+
const numeric = retainChars(svelte, ...NUMERIC_CHAR);
|
|
2886
|
+
const valid = ["+", "(", ...NUMERIC_CHAR];
|
|
2887
|
+
const nothing = stripChars(svelte, ...[
|
|
2888
|
+
...NUMERIC_CHAR,
|
|
2889
|
+
...WHITESPACE_CHARS,
|
|
2890
|
+
"(",
|
|
2891
|
+
")",
|
|
2892
|
+
"+",
|
|
2893
|
+
".",
|
|
2894
|
+
"-"
|
|
2895
|
+
]);
|
|
2896
|
+
return chars.every((i) => valid.includes(i)) && svelte.startsWith(`+`) ? numeric.length >= 8 : svelte.startsWith(`00`) ? numeric.length >= 10 : numeric.length >= 7 && nothing === "";
|
|
2897
|
+
}
|
|
2898
|
+
|
|
2899
|
+
// src/type-guards/isReadonlyArray.ts
|
|
2900
|
+
function isReadonlyArray(value) {
|
|
2901
|
+
return Array.isArray(value) === true;
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
// src/type-guards/isRef.ts
|
|
2905
|
+
function isRef(value) {
|
|
2906
|
+
return isObject(value) && "value" in value && Array.from(Object.keys(value)).includes("_value");
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
// src/type-guards/isRegExp.ts
|
|
2910
|
+
function isRegExp(val) {
|
|
2911
|
+
return val instanceof RegExp;
|
|
2912
|
+
}
|
|
2913
|
+
function isLikeRegExp(val) {
|
|
2914
|
+
if (isRegExp(val)) {
|
|
2915
|
+
return true;
|
|
2916
|
+
}
|
|
2917
|
+
if (isString(val)) {
|
|
2918
|
+
try {
|
|
2919
|
+
const _re = new RegExp(val);
|
|
2920
|
+
return true;
|
|
2921
|
+
} catch {
|
|
2922
|
+
return false;
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
return false;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
// src/type-guards/isStringArray.ts
|
|
2929
|
+
function isStringArray(val) {
|
|
2930
|
+
return Array.isArray(val) && val.every((i) => isString(i));
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
// src/type-guards/isThenable.ts
|
|
2934
|
+
function isThenable(val) {
|
|
2935
|
+
return isObject(val) && "then" in val && "catch" in val && typeof val.then === "function";
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
// src/type-guards/isTrimmable.ts
|
|
2939
|
+
function isTrimable(val) {
|
|
2940
|
+
return isString(val) && val !== val.trim();
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
// src/type-guards/isTrue.ts
|
|
2944
|
+
function isTrue(value) {
|
|
2945
|
+
return value === true;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
// src/type-guards/isTruthy.ts
|
|
2949
|
+
function isTruthy(val) {
|
|
2950
|
+
return !FALSY_VALUES.includes(val);
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
// src/type-guards/isTypeToken.ts
|
|
2954
|
+
function isTypeToken(val) {
|
|
2955
|
+
if (isString(val) && startsWith("<<")(val) && endsWith(">>")(val)) {
|
|
2956
|
+
return true;
|
|
2957
|
+
} else {
|
|
2958
|
+
return false;
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
// src/type-guards/isTypeTuple.ts
|
|
2963
|
+
function isTypeTuple(value) {
|
|
2964
|
+
return Array.isArray(value) && value.length === 3 && typeof value[1] === "function";
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
// src/type-guards/isUndefined.ts
|
|
2968
|
+
function isUndefined(value) {
|
|
2969
|
+
return typeof value === "undefined";
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
// src/type-guards/isUnset.ts
|
|
2973
|
+
function isUnset(val) {
|
|
2974
|
+
return isObject(val) && val.kind === "Unset";
|
|
2975
|
+
}
|
|
2976
|
+
function isSet(val) {
|
|
2977
|
+
return isObject(val) ? val.kind !== "Unset" : true;
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
// src/type-guards/isUrl.ts
|
|
2981
|
+
function isUri(val, ...protocols) {
|
|
2982
|
+
const p = protocols.length === 0 ? valuesOf(NETWORK_PROTOCOL_LOOKUP).flat().filter((i) => i) : protocols;
|
|
2983
|
+
return isString(val) && p.some((i) => val.startsWith(`${i}://`));
|
|
2984
|
+
}
|
|
2985
|
+
function isUrl(val, ...protocols) {
|
|
2986
|
+
const p = protocols.length === 0 ? ["http", "https"] : protocols;
|
|
2987
|
+
return isString(val) && p.some((i) => val.startsWith(`${i}://`));
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
// src/type-guards/metrics/isMetric.ts
|
|
2991
|
+
function separate(s) {
|
|
2992
|
+
return stripWhile(s.toLowerCase(), ...NUMERIC_CHAR).trim();
|
|
2993
|
+
}
|
|
2994
|
+
function isAreaMetric(val) {
|
|
2995
|
+
return isString(val) && AREA_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
2996
|
+
}
|
|
2997
|
+
function isLuminosityMetric(val) {
|
|
2998
|
+
return isString(val) && LUMINOSITY_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
2999
|
+
}
|
|
3000
|
+
function isResistance(val) {
|
|
3001
|
+
return isString(val) && RESISTANCE_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3002
|
+
}
|
|
3003
|
+
function isCurrentMetric(val) {
|
|
3004
|
+
return isString(val) && CURRENT_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3005
|
+
}
|
|
3006
|
+
function isVoltageMetric(val) {
|
|
3007
|
+
return isString(val) && VOLTAGE_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3008
|
+
}
|
|
3009
|
+
function isFrequencyMetric(val) {
|
|
3010
|
+
return isString(val) && FREQUENCY_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3011
|
+
}
|
|
3012
|
+
function isPowerMetric(val) {
|
|
3013
|
+
return isString(val) && POWER_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3014
|
+
}
|
|
3015
|
+
function isTimeMetric(val) {
|
|
3016
|
+
return isString(val) && TIME_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3017
|
+
}
|
|
3018
|
+
function isEnergyMetric(val) {
|
|
3019
|
+
return isString(val) && ENERGY_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3020
|
+
}
|
|
3021
|
+
function isPressureMetric(val) {
|
|
3022
|
+
return isString(val) && PRESSURE_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3023
|
+
}
|
|
3024
|
+
function isTemperatureMetric(val) {
|
|
3025
|
+
return isString(val) && TEMPERATURE_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3026
|
+
}
|
|
3027
|
+
function isVolumeMetric(val) {
|
|
3028
|
+
return isString(val) && VOLUME_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3029
|
+
}
|
|
3030
|
+
function isAccelerationMetric(val) {
|
|
3031
|
+
return isString(val) && ACCELERATION_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3032
|
+
}
|
|
3033
|
+
function isSpeedMetric(val) {
|
|
3034
|
+
const speed = SPEED_METRICS_LOOKUP.map((i) => i.abbrev);
|
|
3035
|
+
return isString(val) && speed.includes(separate(val));
|
|
3036
|
+
}
|
|
3037
|
+
function isMassMetric(val) {
|
|
3038
|
+
return isString(val) && MASS_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3039
|
+
}
|
|
3040
|
+
function isDistanceMetric(val) {
|
|
3041
|
+
return isString(val) && DISTANCE_METRICS_LOOKUP.map((i) => i.abbrev).includes(separate(val));
|
|
3042
|
+
}
|
|
3043
|
+
function isMetric(val) {
|
|
3044
|
+
return isDistanceMetric(val) || isMassMetric(val) || isSpeedMetric(val) || isAccelerationMetric(val) || isVoltageMetric(val) || isTemperatureMetric(val) || isPressureMetric(val) || isEnergyMetric(val) || isTimeMetric(val) || isPowerMetric(val) || isFrequencyMetric(val) || isVoltageMetric(val) || isCurrentMetric(val) || isLuminosityMetric(val) || isAreaMetric(val);
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
// src/type-guards/metrics/isUom.ts
|
|
3048
|
+
function isAreaUom(val) {
|
|
3049
|
+
return isString(val) && AREA_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3050
|
+
}
|
|
3051
|
+
function isLuminosityUom(val) {
|
|
3052
|
+
return isString(val) && LUMINOSITY_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3053
|
+
}
|
|
3054
|
+
function isResistanceUom(val) {
|
|
3055
|
+
return isString(val) && RESISTANCE_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3056
|
+
}
|
|
3057
|
+
function isCurrentUom(val) {
|
|
3058
|
+
return isString(val) && CURRENT_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3059
|
+
}
|
|
3060
|
+
function isVoltageUom(val) {
|
|
3061
|
+
return isString(val) && VOLTAGE_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3062
|
+
}
|
|
3063
|
+
function isFrequencyUom(val) {
|
|
3064
|
+
return isString(val) && FREQUENCY_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3065
|
+
}
|
|
3066
|
+
function isPowerUom(val) {
|
|
3067
|
+
return isString(val) && POWER_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3068
|
+
}
|
|
3069
|
+
function isTimeUom(val) {
|
|
3070
|
+
return isString(val) && TIME_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3071
|
+
}
|
|
3072
|
+
function isEnergyUom(val) {
|
|
3073
|
+
return isString(val) && ENERGY_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3074
|
+
}
|
|
3075
|
+
function isPressureUom(val) {
|
|
3076
|
+
return isString(val) && PRESSURE_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3077
|
+
}
|
|
3078
|
+
function isTemperatureUom(val) {
|
|
3079
|
+
return isString(val) && TEMPERATURE_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3080
|
+
}
|
|
3081
|
+
function isVolumeUom(val) {
|
|
3082
|
+
return isString(val) && VOLUME_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3083
|
+
}
|
|
3084
|
+
function isAccelerationUom(val) {
|
|
3085
|
+
return isString(val) && ACCELERATION_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3086
|
+
}
|
|
3087
|
+
function isSpeedUom(val) {
|
|
3088
|
+
return isString(val) && SPEED_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3089
|
+
}
|
|
3090
|
+
function isMassUom(val) {
|
|
3091
|
+
return isString(val) && MASS_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3092
|
+
}
|
|
3093
|
+
function isDistanceUom(val) {
|
|
3094
|
+
return isString(val) && ENERGY_METRICS_LOOKUP.map((i) => i.abbrev).includes(val);
|
|
3095
|
+
}
|
|
3096
|
+
function isUom(val) {
|
|
3097
|
+
return isDistanceUom(val) || isMassUom(val) || isSpeedUom(val) || isAccelerationUom(val) || isVoltageUom(val) || isTemperatureUom(val) || isPressureUom(val) || isEnergyUom(val) || isTimeUom(val) || isPowerUom(val) || isFrequencyUom(val) || isVoltageUom(val) || isCurrentUom(val) || isLuminosityUom(val) || isAreaUom(val);
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
// src/type-guards/network-tg.ts
|
|
3101
|
+
function isIp4Address(val) {
|
|
3102
|
+
return isString(val) && val.split(".").length === 4 && val.split(".").every((i) => isNumberLike(i)) && val.split(".").every((i) => Number(i) >= 0 && Number(i) <= 255);
|
|
3103
|
+
}
|
|
3104
|
+
function isIp6Address(val) {
|
|
3105
|
+
const expanded = isString(val) ? ip6GroupExpansion(val) : "";
|
|
3106
|
+
return isString(val) && isString(expanded) && expanded.split(":").every((i) => asChars(i).length >= 1 && asChars(i).length <= 4) && expanded.split(":").every((i) => isHexadecimal(i));
|
|
3107
|
+
}
|
|
3108
|
+
function isIpAddress(val) {
|
|
3109
|
+
return isIp4Address(val) || isIp6Address(val);
|
|
3110
|
+
}
|
|
3111
|
+
function hasUrlPort(val) {
|
|
3112
|
+
return isString(val) && asChars(removeUrlProtocol(val)).includes(":");
|
|
3113
|
+
}
|
|
3114
|
+
function isUrlPath(val) {
|
|
3115
|
+
return isString(val) && (val === "" || val.startsWith("/")) && asChars(val).every(
|
|
3116
|
+
(c) => isAlpha(c) || isNumberLike(c) || c === "_" || c === "@" || c === "." || c === "-"
|
|
3117
|
+
);
|
|
3118
|
+
}
|
|
3119
|
+
function isDomainName(val) {
|
|
3120
|
+
return isString(val) && val.split(".").filter((i) => i).length > 1 && isString(val.split(".").filter((i) => i).pop()) && asChars(val.split(".").filter((i) => i).pop()).length > 1 && val.split(".").filter((i) => i).every(
|
|
3121
|
+
(i) => isAlpha(i) || isNumberLike(i) || i === "-" || i === "_"
|
|
3122
|
+
);
|
|
3123
|
+
}
|
|
3124
|
+
function isUrlSource(val) {
|
|
3125
|
+
return isDomainName(val) || isIpAddress(val);
|
|
3126
|
+
}
|
|
3127
|
+
function hasUrlQueryParameter(val, prop) {
|
|
3128
|
+
return isString(getUrlQueryParams(val, prop));
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
// src/type-guards/tokens/isAtomicToken.ts
|
|
3132
|
+
function isAtomicToken(val) {
|
|
3133
|
+
return isString(val) && TT_Atomics.some((v) => val === `<<${v}>>`);
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
// src/type-guards/tokens/isContainerToken.ts
|
|
3137
|
+
function isObjectToken(val) {
|
|
3138
|
+
return isString(val) && val.startsWith("<<obj::");
|
|
3139
|
+
}
|
|
3140
|
+
function isRecordToken(val) {
|
|
3141
|
+
return isString(val) && val.startsWith("<<rec::") && val.endsWith(">>");
|
|
3142
|
+
}
|
|
3143
|
+
function isTupleToken(val) {
|
|
3144
|
+
return isString(val) && val.startsWith("<<tuple::");
|
|
3145
|
+
}
|
|
3146
|
+
function isArrayToken(val) {
|
|
3147
|
+
return isString(val) && val.startsWith("<<arr::");
|
|
3148
|
+
}
|
|
3149
|
+
function isMapToken(val) {
|
|
3150
|
+
return isString(val) && val.startsWith("<<map::");
|
|
3151
|
+
}
|
|
3152
|
+
function isSetToken(val) {
|
|
3153
|
+
return isString(val) && val.startsWith("<<set::");
|
|
3154
|
+
}
|
|
3155
|
+
function isWeakMapToken(val) {
|
|
3156
|
+
return isString(val) && val.startsWith("<<weak::");
|
|
3157
|
+
}
|
|
3158
|
+
function isUnionToken(val) {
|
|
3159
|
+
return isString(val) && val.startsWith("<<union::[ ");
|
|
3160
|
+
}
|
|
3161
|
+
function isUnionSetToken(val) {
|
|
3162
|
+
return isString(val) && val.startsWith("<<union-set::");
|
|
3163
|
+
}
|
|
3164
|
+
function isContainerToken(val) {
|
|
3165
|
+
return isString(val) && (isObjectToken(val) || isRecordToken(val) || isTupleToken(val) || isArrayToken(val) || isMapToken(val) || isSetToken(val) || isWeakMapToken(val) || isUnionSetToken(val) || isUnionToken(val));
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
// src/type-guards/tokens/isShapeCallback.ts
|
|
3169
|
+
function isShapeCallback(val) {
|
|
3170
|
+
return isFunction(val) && val.kind === "shape";
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
// src/type-guards/tokens/isShapeToken.ts
|
|
3174
|
+
var token_types = [
|
|
3175
|
+
...TT_Atomics,
|
|
3176
|
+
...TT_Containers,
|
|
3177
|
+
...TT_Functions,
|
|
3178
|
+
...TT_Sets,
|
|
3179
|
+
...TT_Singletons
|
|
3180
|
+
];
|
|
3181
|
+
function isShapeToken(val) {
|
|
3182
|
+
return isString(val) && val.startsWith("<<") && val.endsWith(">>") && token_types.some((t) => val.startsWith(`<<${t}`));
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
// src/type-guards/tokens/isSimpleToken.ts
|
|
3186
|
+
var split_tokens = SIMPLE_TOKENS.map((i) => i.split("TOKEN"));
|
|
3187
|
+
var scalar_split_tokens = SIMPLE_SCALAR_TOKENS.map((i) => i.split("TOKEN"));
|
|
3188
|
+
function isSimpleToken(val) {
|
|
3189
|
+
return isString(val) && split_tokens.some(
|
|
3190
|
+
(i) => i.length === 1 && val === i[0] || val.startsWith(i[0]) && val.endsWith(i.slice(-1)[0]) && i.every((p) => val.includes(p))
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
function isSimpleScalarToken(val) {
|
|
3194
|
+
return isString(val) && scalar_split_tokens.some(
|
|
3195
|
+
(i) => i.length === 1 && val === i[0] || val.startsWith(i[0]) && val.endsWith(i.slice(-1)[0]) && i.every((p) => val.includes(p))
|
|
3196
|
+
);
|
|
3197
|
+
}
|
|
3198
|
+
function isSimpleContainerToken(val) {
|
|
3199
|
+
return isString(val) && scalar_split_tokens.some(
|
|
3200
|
+
(i) => i.length === 1 && val === i[0] || val.startsWith(i[0]) && val.endsWith(i.slice(-1)[0]) && i.every((p) => val.includes(p))
|
|
3201
|
+
);
|
|
3202
|
+
}
|
|
3203
|
+
function isSimpleTokenTuple(val) {
|
|
3204
|
+
return isArray(val) && val.length !== 0 && val.every(isSimpleToken);
|
|
3205
|
+
}
|
|
3206
|
+
function isSimpleScalarTokenTuple(val) {
|
|
3207
|
+
return isArray(val) && val.length !== 0 && val.every(isSimpleScalarToken);
|
|
3208
|
+
}
|
|
3209
|
+
function isSimpleContainerTokenTuple(val) {
|
|
3210
|
+
return isArray(val) && val.length !== 0 && val.every(isSimpleContainerToken);
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
// src/type-guards/tokens/isDefineObject.ts
|
|
3214
|
+
function isDefineObject(val) {
|
|
3215
|
+
return isObject(val) && Object.keys(val).some(
|
|
3216
|
+
(key) => isSimpleToken(val[key]) || isShapeToken(val) || isShapeCallback(val)
|
|
3217
|
+
);
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
// src/type-guards/tokens/isFunctionToken.ts
|
|
3221
|
+
function isFnToken(val) {
|
|
3222
|
+
return isString(val) && val.startsWith("<<fn::");
|
|
3223
|
+
}
|
|
3224
|
+
function isGeneratorToken(val) {
|
|
3225
|
+
return isString(val) && val.startsWith("<<gen::");
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
// src/type-guards/tokens/isSingletonToken.ts
|
|
3229
|
+
function isSingletonToken(val) {
|
|
3230
|
+
return isString(val) && TT_Atomics.some((v) => val === `<<${v}>>`);
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
// src/type-guards/tw/tw-color.ts
|
|
3234
|
+
function isTailwindColorName(val) {
|
|
3235
|
+
return isString(val) && Object.keys(TW_HUE).includes(val);
|
|
3236
|
+
}
|
|
3237
|
+
function isTailwindColorWithLuminosity(val) {
|
|
3238
|
+
return isString(val) && isTailwindColorName(val.split("-")[0]) && (!["white", "black"].includes(val.split("-")[0]) || val.split("-").length === 1) && (!val.includes("-") || Object.keys(TW_LUMINOSITY).includes(retainAfter(val, "-")));
|
|
3239
|
+
}
|
|
3240
|
+
function isTailwindColorWithLuminosityAndOpacity(val) {
|
|
3241
|
+
return isString(val) && val.includes("/") && isTailwindColorWithLuminosity(val.split("/")[0]) && isNumberLike(val.split("/")[1]) && ([1, 2].includes(val.split("/")[1].length) || val.split("/")[1] === "100");
|
|
3242
|
+
}
|
|
3243
|
+
function isTailwindColor(val) {
|
|
3244
|
+
return isTailwindColorWithLuminosity(val) || isTailwindColorWithLuminosityAndOpacity(val);
|
|
3245
|
+
}
|
|
3246
|
+
function isTailwindModifier(val) {
|
|
3247
|
+
return isString(val) && TW_MODIFIERS.includes(val);
|
|
3248
|
+
}
|
|
3249
|
+
function isTailwindColorTarget(val) {
|
|
3250
|
+
return isString(val) && TW_COLOR_TARGETS.includes(val);
|
|
3251
|
+
}
|
|
3252
|
+
function isTailwindColorClass(val, ...allowedModifiers) {
|
|
3253
|
+
if (isString(val)) {
|
|
3254
|
+
const mods = getTailwindModifiers(val);
|
|
3255
|
+
const targetted = removeTailwindModifiers(val);
|
|
3256
|
+
const target = targetted.split("-")[0];
|
|
3257
|
+
const color = targetted.split("-").slice(1).join("-");
|
|
3258
|
+
return isTailwindColorTarget(target) && isTailwindColor(color) && (allowedModifiers[0] === true || mods.every((i) => allowedModifiers.includes(i)));
|
|
3259
|
+
}
|
|
3260
|
+
return false;
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
// src/type-guards/urls/news/australian.ts
|
|
3264
|
+
var URL = AUSTRALIAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3265
|
+
function isAustralianNewsUrl(val) {
|
|
3266
|
+
return isString(val) && val.startsWith("https://") && (URL.includes(val) || URL.some((i) => i.startsWith(`${i}/`)));
|
|
3267
|
+
}
|
|
3268
|
+
|
|
3269
|
+
// src/type-guards/urls/news/belgium.ts
|
|
3270
|
+
var URL2 = BELGIUM_NEWS.flatMap((i) => i.baseUrls);
|
|
3271
|
+
function isBelgiumNewsUrl(val) {
|
|
3272
|
+
return isString(val) && val.startsWith("https://") && (URL2.includes(val) || URL2.some((i) => i.startsWith(`${i}/`)));
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
// src/type-guards/urls/news/canadian.ts
|
|
3276
|
+
var URL3 = CANADIAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3277
|
+
function isCanadianNewsUrl(val) {
|
|
3278
|
+
return isString(val) && val.startsWith("https://") && (URL3.includes(val) || URL3.some((i) => i.startsWith(`${i}/`)));
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
// src/type-guards/urls/news/danish.ts
|
|
3282
|
+
var URL4 = DANISH_NEWS.flatMap((i) => i.baseUrls);
|
|
3283
|
+
function isDanishNewsUrl(val) {
|
|
3284
|
+
return isString(val) && val.startsWith("https://") && (URL4.includes(val) || URL4.some((i) => i.startsWith(`${i}/`)));
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
// src/type-guards/urls/news/dutch.ts
|
|
3288
|
+
var URL5 = DUTCH_NEWS.flatMap((i) => i.baseUrls);
|
|
3289
|
+
function isDutchNewsUrl(val) {
|
|
3290
|
+
return isString(val) && val.startsWith("https://") && (URL5.includes(val) || URL5.some((i) => i.startsWith(`${i}/`)));
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
// src/type-guards/urls/news/french.ts
|
|
3294
|
+
var URL6 = FRENCH_NEWS.flatMap((i) => i.baseUrls);
|
|
3295
|
+
function isFrenchNewsUrl(val) {
|
|
3296
|
+
return isString(val) && val.startsWith("https://") && (URL6.includes(val) || URL6.some((i) => i.startsWith(`${i}/`)));
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
// src/type-guards/urls/news/german.ts
|
|
3300
|
+
var URL7 = GERMAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3301
|
+
function isGermanNewsUrl(val) {
|
|
3302
|
+
return isString(val) && val.startsWith("https://") && (URL7.includes(val) || URL7.some((i) => i.startsWith(`${i}/`)));
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
// src/type-guards/urls/news/indian.ts
|
|
3306
|
+
var URL8 = INDIAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3307
|
+
function isIndianNewsUrl(val) {
|
|
3308
|
+
return isString(val) && val.startsWith("https://") && (URL8.includes(val) || URL8.some((i) => i.startsWith(`${i}/`)));
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
// src/type-guards/urls/news/italian.ts
|
|
3312
|
+
var URL9 = ITALIAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3313
|
+
function isItalianNewsUrl(val) {
|
|
3314
|
+
return isString(val) && val.startsWith("https://") && (URL9.includes(val) || URL9.some((i) => i.startsWith(`${i}/`)));
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
// src/type-guards/urls/news/japanese.ts
|
|
3318
|
+
var URL10 = JAPANESE_NEWS.flatMap((i) => i.baseUrls);
|
|
3319
|
+
function isJapaneseNewsUrl(val) {
|
|
3320
|
+
return isString(val) && val.startsWith("https://") && (URL10.includes(val) || URL10.some((i) => i.startsWith(`${i}/`)));
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
// src/type-guards/urls/news/mexican.ts
|
|
3324
|
+
var URL11 = MEXICAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3325
|
+
function isMexicanNewsUrl(val) {
|
|
3326
|
+
return isString(val) && val.startsWith("https://") && (URL11.includes(val) || URL11.some((i) => i.startsWith(`${i}/`)));
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
// src/type-guards/urls/news/norwegian.ts
|
|
3330
|
+
var URL12 = NORWEGIAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3331
|
+
function isNorwegianNewsUrl(val) {
|
|
3332
|
+
return isString(val) && val.startsWith("https://") && (URL12.includes(val) || URL12.some((i) => i.startsWith(`${i}/`)));
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
// src/type-guards/urls/news/south-korean.ts
|
|
3336
|
+
var URL13 = SOUTH_KOREAN_NEWS.flatMap((i) => i.baseUrls);
|
|
3337
|
+
function isSouthKoreanNewsUrl(val) {
|
|
3338
|
+
return isString(val) && val.startsWith("https://") && (URL13.includes(val) || URL13.some((i) => i.startsWith(`${i}/`)));
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
// src/type-guards/urls/news/spanish.ts
|
|
3342
|
+
var URL14 = SPANISH_NEWS.flatMap((i) => i.baseUrls);
|
|
3343
|
+
function isSpanishNewsUrl(val) {
|
|
3344
|
+
return isString(val) && val.startsWith("https://") && (URL14.includes(val) || URL14.some((i) => i.startsWith(`${i}/`)));
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
// src/type-guards/urls/news/swiss.ts
|
|
3348
|
+
var URL15 = SWISS_NEWS.flatMap((i) => i.baseUrls);
|
|
3349
|
+
function isSwissNewsUrl(val) {
|
|
3350
|
+
return isString(val) && val.startsWith("https://") && (URL15.includes(val) || URL15.some((i) => i.startsWith(`${i}/`)));
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
// src/type-guards/urls/news/turkish.ts
|
|
3354
|
+
var URL16 = TURKISH_NEWS.flatMap((i) => i.baseUrls);
|
|
3355
|
+
function isTurkishNewsUrl(val) {
|
|
3356
|
+
return isString(val) && val.startsWith("https://") && (URL16.includes(val) || URL16.some((i) => i.startsWith(`${i}/`)));
|
|
3357
|
+
}
|
|
3358
|
+
|
|
3359
|
+
// src/type-guards/urls/news/uk.ts
|
|
3360
|
+
var URL17 = UK_NEWS.flatMap((i) => i.baseUrls);
|
|
3361
|
+
function isUkNewsUrl(val) {
|
|
3362
|
+
return isString(val) && val.startsWith("https://") && (URL17.includes(val) || URL17.some((i) => i.startsWith(`${i}/`)));
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
// src/type-guards/urls/news/us.ts
|
|
3366
|
+
var URL18 = US_NEWS.flatMap((i) => i.baseUrls);
|
|
3367
|
+
function isUsNewsUrl(val) {
|
|
3368
|
+
return isString(val) && val.startsWith("https://") && (URL18.includes(val) || URL18.some((i) => i.startsWith(`${i}/`)));
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
// src/type-guards/urls/news/chinese.ts
|
|
3372
|
+
var URL19 = CHINESE_NEWS.flatMap((i) => i.baseUrls);
|
|
3373
|
+
function isChineseNewsUrl(val) {
|
|
3374
|
+
return isString(val) && val.startsWith("https://") && (URL19.includes(val) || URL19.some((i) => i.startsWith(`${i}/`)));
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
// src/type-guards/urls/news/index.ts
|
|
3378
|
+
function isNewsUrl(val) {
|
|
3379
|
+
return isAustralianNewsUrl(val) || isBelgiumNewsUrl(val) || isCanadianNewsUrl(val) || isDanishNewsUrl(val) || isDutchNewsUrl(val) || isFrenchNewsUrl(val) || isGermanNewsUrl(val) || isIndianNewsUrl(val) || isItalianNewsUrl(val) || isJapaneseNewsUrl(val) || isMexicanNewsUrl(val) || isNorwegianNewsUrl(val) || isSouthKoreanNewsUrl(val) || isSpanishNewsUrl(val) || isSwissNewsUrl(val) || isTurkishNewsUrl(val) || isUkNewsUrl(val) || isUsNewsUrl(val);
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
// src/type-guards/urls/repos/bitbucket.ts
|
|
3383
|
+
function isBitbucketUrl(val) {
|
|
3384
|
+
const valid = REPO_SOURCE_LOOKUP.bitbucket;
|
|
3385
|
+
return isString(val) && valid.some(
|
|
3386
|
+
(i) => val === i || val.startsWith(`${i}/`) || val.startsWith(`${i}?`)
|
|
3387
|
+
);
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
// src/type-guards/urls/repos/codeCommit.ts
|
|
3391
|
+
function isCodeCommitUrl(val) {
|
|
3392
|
+
const valid = REPO_SOURCE_LOOKUP.codecommit;
|
|
3393
|
+
return isString(val) && valid.some(
|
|
3394
|
+
(i) => val === i || val.startsWith(`${i}/`) || val.startsWith(`${i}?`)
|
|
3395
|
+
);
|
|
3396
|
+
}
|
|
3397
|
+
|
|
3398
|
+
// src/type-guards/urls/repos/github.ts
|
|
3399
|
+
function isGithubUrl(val) {
|
|
3400
|
+
const valid = [
|
|
3401
|
+
"https://github.com",
|
|
3402
|
+
"https://www.github.com",
|
|
3403
|
+
"https://github.io"
|
|
3404
|
+
];
|
|
3405
|
+
return isString(val) && valid.some(
|
|
3406
|
+
(i) => val === i || val.startsWith(`${i}/`) || val.startsWith(`${i}?`)
|
|
3407
|
+
);
|
|
3408
|
+
}
|
|
3409
|
+
function isGithubOrgUrl(val) {
|
|
3410
|
+
return isString(val) && (val.startsWith("https://github.com/") && stripper(val).length === 2);
|
|
3411
|
+
}
|
|
3412
|
+
function stripper(s) {
|
|
3413
|
+
return stripTrailing(
|
|
3414
|
+
stripLeading(s, "https://github.com/"),
|
|
3415
|
+
"/"
|
|
3416
|
+
);
|
|
3417
|
+
}
|
|
3418
|
+
function isGithubRepoUrl(val) {
|
|
3419
|
+
return !!(isString(val) && (val.startsWith("https://github.com/") && stripper(val).split("/").length === 2));
|
|
3420
|
+
}
|
|
3421
|
+
function isGithubRepoReleasesUrl(val) {
|
|
3422
|
+
return isString(val) && (val.startsWith("https://github.com/") && val.includes("/releases") && stripper(val).split("/").length === 3);
|
|
3423
|
+
}
|
|
3424
|
+
function isGithubRepoReleaseTagUrl(val) {
|
|
3425
|
+
return isString(val) && (val.startsWith("https://github.com/") && val.includes("/releases/tag/") && stripper(val).length === 4);
|
|
3426
|
+
}
|
|
3427
|
+
function isGithubIssuesListUrl(val) {
|
|
3428
|
+
return isString(val) && val.startsWith("https://github.com/") && val.includes("/issues");
|
|
3429
|
+
}
|
|
3430
|
+
function isGithubIssueUrl(val) {
|
|
3431
|
+
return isString(val) && (val.startsWith("https://github.com/") && val.includes("/issues/"));
|
|
3432
|
+
}
|
|
3433
|
+
function isGithubProjectsListUrl(val) {
|
|
3434
|
+
return isString(val) && (val.startsWith("https://github.com/") && (val.includes("/projects?") || val.trim().endsWith("/projects")) && stripper(val).split("/").length === 3);
|
|
3435
|
+
}
|
|
3436
|
+
function isGithubProjectUrl(val) {
|
|
3437
|
+
return isString(val) && (val.startsWith("https://github.com/") && val.includes("/projects/") && stripper(val).split("/").length === 4);
|
|
3438
|
+
}
|
|
3439
|
+
function isGithubReleasesListUrl(val) {
|
|
3440
|
+
return isString(val) && (val.startsWith("https://github.com/") && (val.includes("/releases?") || val.trim().endsWith("/releases")) && stripper(val).split("/").length === 3);
|
|
3441
|
+
}
|
|
3442
|
+
function isGithubReleaseTagUrl(val) {
|
|
3443
|
+
return isString(val) && (val.startsWith("https://github.com/") && val.includes("/releases/tag/") && stripper(val).split("/").length === 5);
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
// src/type-guards/urls/repos/isSemanticVersion.ts
|
|
3447
|
+
function isRepoSource(v) {
|
|
3448
|
+
return isString(v) && REPO_SOURCES.includes(v);
|
|
3449
|
+
}
|
|
3450
|
+
function isSemanticVersion(v, allowPrefix = false) {
|
|
3451
|
+
return isString(v) && v.split(".").length === 3 && !Number.isNaN(Number(v.split(".")[1])) && !Number.isNaN(Number(v.split(".")[2])) && (!Number.isNaN(Number(v.split(".")[0])) || allowPrefix && !Number.isNaN(Number(stripLeading(v.split(".")[0], "v").trim())));
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
// src/type-guards/urls/repos/index.ts
|
|
3455
|
+
function isRepoUrl(val) {
|
|
3456
|
+
return isGithubUrl(val) || isBitbucketUrl(val) || isCodeCommitUrl(val);
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
// src/type-guards/urls/retail.ts
|
|
3460
|
+
function isWholeFoodsUrl(val) {
|
|
3461
|
+
return isString(val) && WHOLE_FOODS_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3462
|
+
}
|
|
3463
|
+
function isCvsUrl(val) {
|
|
3464
|
+
return isString(val) && CVS_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3465
|
+
}
|
|
3466
|
+
function isWalgreensUrl(val) {
|
|
3467
|
+
return isString(val) && WALGREENS_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3468
|
+
}
|
|
3469
|
+
function isKrogersUrl(val) {
|
|
3470
|
+
return isString(val) && KROGER_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3471
|
+
}
|
|
3472
|
+
function isZaraUrl(val) {
|
|
3473
|
+
return isString(val) && ZARA_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3474
|
+
}
|
|
3475
|
+
function isHmUrl(val) {
|
|
3476
|
+
return isString(val) && HM_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3477
|
+
}
|
|
3478
|
+
function isDellUrl(val) {
|
|
3479
|
+
return isString(val) && DELL_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3480
|
+
}
|
|
3481
|
+
function isIkeaUrl(val) {
|
|
3482
|
+
return isString(val) && KROGER_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3483
|
+
}
|
|
3484
|
+
function isLowesUrl(val) {
|
|
3485
|
+
return isString(val) && KROGER_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3486
|
+
}
|
|
3487
|
+
function isNikeUrl(val) {
|
|
3488
|
+
return isString(val) && NIKE_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3489
|
+
}
|
|
3490
|
+
function isWayfairUrl(val) {
|
|
3491
|
+
return isString(val) && WAYFAIR_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3492
|
+
}
|
|
3493
|
+
function isBestBuyUrl(val) {
|
|
3494
|
+
return isString(val) && BEST_BUY_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3495
|
+
}
|
|
3496
|
+
function isCostCoUrl(val) {
|
|
3497
|
+
return isString(val) && COSTCO_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3498
|
+
}
|
|
3499
|
+
function isEtsyUrl(val) {
|
|
3500
|
+
return isString(val) && ETSY_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3501
|
+
}
|
|
3502
|
+
function isTargetUrl(val) {
|
|
3503
|
+
return isString(val) && TARGET_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3504
|
+
}
|
|
3505
|
+
function isEbayUrl(val) {
|
|
3506
|
+
return isString(val) && EBAY_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3507
|
+
}
|
|
3508
|
+
function isHomeDepotUrl(val) {
|
|
3509
|
+
return isString(val) && HOME_DEPOT_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3510
|
+
}
|
|
3511
|
+
function isMacysUrl(val) {
|
|
3512
|
+
return isString(val) && MACYS_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3513
|
+
}
|
|
3514
|
+
function isAppleUrl(val) {
|
|
3515
|
+
return isString(val) && APPLE_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3516
|
+
}
|
|
3517
|
+
function isWalmartUrl(val) {
|
|
3518
|
+
return isString(val) && WALMART_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3519
|
+
}
|
|
3520
|
+
function isAmazonUrl(val) {
|
|
3521
|
+
return isString(val) && AMAZON_DNS.some((i) => val.startsWith(`https://${i}`));
|
|
3522
|
+
}
|
|
3523
|
+
function isRetailUrl(val) {
|
|
3524
|
+
return isAmazonUrl(val) || isWalgreensUrl(val) || isAppleUrl(val) || isMacysUrl(val) || isEbayUrl(val) || isHomeDepotUrl(val) || isTargetUrl(val) || isEtsyUrl(val) || isCostCoUrl(val) || isBestBuyUrl(val) || isWayfairUrl(val) || isNikeUrl(val) || isLowesUrl(val) || isIkeaUrl(val) || isDellUrl(val) || isHmUrl(val) || isZaraUrl(val) || isKrogersUrl(val) || isWalgreensUrl(val) || isCvsUrl(val) || isWholeFoodsUrl(val);
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
// src/type-guards/urls/Social.ts
|
|
3528
|
+
var URL20 = SOCIAL_MEDIA.flatMap((i) => i.baseUrls);
|
|
3529
|
+
var PROFILE = SOCIAL_MEDIA.map((i) => i.profileUrl);
|
|
3530
|
+
function isSocialMediaUrl(val) {
|
|
3531
|
+
return isString(val) && URL20.some((i) => val.startsWith(i));
|
|
3532
|
+
}
|
|
3533
|
+
function isSocialMediaProfileUrl(val) {
|
|
3534
|
+
return isString(val) && PROFILE.some((i) => i.startsWith(`${i}`));
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3537
|
+
// src/type-guards/urls/youtube.ts
|
|
3538
|
+
function isYouTubeUrl(val) {
|
|
3539
|
+
return isString(val) && (val.startsWith("https://www.youtube.com") || val.startsWith("https://youtube.com") || val.startsWith("https://youtu.be"));
|
|
3540
|
+
}
|
|
3541
|
+
function isYouTubeShareUrl(val) {
|
|
3542
|
+
return isString(val) && val.startsWith(`https://youtu.be`);
|
|
3543
|
+
}
|
|
3544
|
+
function isYouTubeVideoUrl(val) {
|
|
3545
|
+
return isString(val) && (val.startsWith("https://www.youtube.com") || val.startsWith("https://youtube.com") || val.startsWith("https://youtu.be"));
|
|
3546
|
+
}
|
|
3547
|
+
function isYouTubePlaylistUrl(val) {
|
|
3548
|
+
return isString(val) && (val === `https://www.youtube.com/feed/playlists` || val === `https://youtube.com/feed/playlists` || val === `https://www.youtube.com/channel/playlists` || val === `https://youtube.com/channel/playlists` || val.startsWith(`https://www.youtube.com/@`) && val.endsWith(`/playlists`) || val.startsWith(`https://youtube.com/@`) && val.endsWith(`/playlists`));
|
|
3549
|
+
}
|
|
3550
|
+
function feed_map(type) {
|
|
3551
|
+
return isUndefined(type) ? `/feed` : type === "liked" ? `/playlist?list=LL` : ["history", "playlists", "trending", "subscriptions"].includes(type) ? `/feed/${type}` : `/feed/`;
|
|
3552
|
+
}
|
|
3553
|
+
function isYouTubeFeedUrl(val, type) {
|
|
3554
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com${feed_map(type)}`) || val.startsWith(`https://youtube.com${feed_map(type)}`));
|
|
3555
|
+
}
|
|
3556
|
+
function isYouTubeFeedHistoryUrl(val) {
|
|
3557
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com/feed/history`) || val.startsWith(`https://youtube.com/feed/history`));
|
|
3558
|
+
}
|
|
3559
|
+
function isYouTubePlaylistsUrl(val) {
|
|
3560
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com/feed/playlists`) || val.startsWith(`https://youtube.com/feed/playlists`));
|
|
3561
|
+
}
|
|
3562
|
+
function isYouTubeTrendingUrl(val) {
|
|
3563
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com/feed/trending`) || val.startsWith(`https://youtube.com/feed/trending`));
|
|
3564
|
+
}
|
|
3565
|
+
function isYouTubeSubscriptionsUrl(val) {
|
|
3566
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com/feed/subscriptions`) || val.startsWith(`https://youtube.com/feed/subscriptions`));
|
|
3567
|
+
}
|
|
3568
|
+
function isYouTubeCreatorUrl(url) {
|
|
3569
|
+
return isString(url) && (url.startsWith(`https://www.youtube.com/@`) || url.startsWith(`https://youtube.com/@`) || url.startsWith(`https://www.youtube.com/channel/`));
|
|
3570
|
+
}
|
|
3571
|
+
function isYouTubeVideosInPlaylist(val) {
|
|
3572
|
+
return isString(val) && (val.startsWith(`https://www.youtube.com/playlist?`) || val.startsWith(`https://youtube.com/playlist?`)) && hasUrlQueryParameter(val, "list");
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
// src/type-conversion/csv.ts
|
|
3576
|
+
function csv(csv2, format = `string-numeric-tuple`) {
|
|
3577
|
+
const tuple3 = [];
|
|
3578
|
+
csv2.split(/,\s?/).forEach((v) => {
|
|
3579
|
+
tuple3.push(
|
|
3580
|
+
format === "string-numeric-tuple" ? isNumberLike(v) ? Number(v) : v : format === "json-tuple" ? isNumberLike(v) ? Number(v) : v === "true" ? true : v === "false" ? false : `"${v}"` : format === "string-tuple" ? `${v}` : Never
|
|
3581
|
+
);
|
|
3582
|
+
});
|
|
3583
|
+
return tuple3;
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3586
|
+
// src/type-conversion/intersect.ts
|
|
3587
|
+
function intersect(value, _intersectedWith) {
|
|
3588
|
+
return value;
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
// src/literals/stripTrailing.ts
|
|
3592
|
+
function stripTrailing(content, ...strip2) {
|
|
3593
|
+
let output = String(content);
|
|
3594
|
+
for (const s of strip2) {
|
|
3595
|
+
if (output.endsWith(String(s))) {
|
|
3596
|
+
output = output.slice(0, -1 * String(s).length);
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
return isNumber(content) ? Number(output) : output;
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
// src/type-conversion/ip6GroupExpansion.ts
|
|
3603
|
+
function ip6GroupExpansion(ip) {
|
|
3604
|
+
return stripTrailing(ip.replaceAll("::", ":0000:"), ":");
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
// src/type-conversion/json.ts
|
|
3608
|
+
function jsonValue(val) {
|
|
3609
|
+
return isNumberLike(val) ? Number(val) : val === "true" ? true : val === "false" ? false : `"${val}"`;
|
|
3610
|
+
}
|
|
3611
|
+
function jsonValues(...val) {
|
|
3612
|
+
return val.map((i) => jsonValue(i));
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
// src/type-conversion/lookupCountry.ts
|
|
3616
|
+
function lookupAlpha2Code(code, prop) {
|
|
3617
|
+
const found = ISO3166_1.find((i) => i.alpha2 === code);
|
|
3618
|
+
return found ? found[prop] : void 0;
|
|
3619
|
+
}
|
|
3620
|
+
function lookupAlpha3Code(code, prop) {
|
|
3621
|
+
const found = ISO3166_1.find((i) => i.alpha3 === code);
|
|
3622
|
+
return found ? found[prop] : void 0;
|
|
3623
|
+
}
|
|
3624
|
+
function lookupName(name, prop) {
|
|
3625
|
+
const found = ISO3166_1.find((i) => i.name === name);
|
|
3626
|
+
return found ? found[prop] : void 0;
|
|
3627
|
+
}
|
|
3628
|
+
function lookupNumericCode(code, prop) {
|
|
3629
|
+
let num = isNumber(code) ? `${code}` : code;
|
|
3630
|
+
if (num.length === 1) {
|
|
3631
|
+
num = `00${num}`;
|
|
3632
|
+
} else if (num.length === 2) {
|
|
3633
|
+
num = `0${num}`;
|
|
3634
|
+
}
|
|
3635
|
+
const found = ISO3166_1.find((i) => i.countryCode === num);
|
|
3636
|
+
return found ? found[prop] : void 0;
|
|
3637
|
+
}
|
|
3638
|
+
function lookupCountryName(code) {
|
|
3639
|
+
const uc = uppercase(code);
|
|
3640
|
+
return isNumberLike(code) ? lookupNumericCode(code, "name") : isIso3166Alpha2(uc) ? lookupAlpha2Code(uc, "name") : isIso3166Alpha3(uc) ? lookupAlpha3Code(uc, "name") : void 0;
|
|
3641
|
+
}
|
|
3642
|
+
function lookupCountryAlpha2(code) {
|
|
3643
|
+
const uc = uppercase(code);
|
|
3644
|
+
return isNumberLike(code) ? lookupNumericCode(code, "alpha2") : isIso3166Alpha2(uc) ? lookupAlpha2Code(uc, "alpha2") : isIso3166Alpha3(uc) ? lookupAlpha3Code(uc, "alpha2") : isIso3166CountryName(code) ? lookupName(code, "alpha2") : void 0;
|
|
3645
|
+
}
|
|
3646
|
+
function lookupCountryAlpha3(token) {
|
|
3647
|
+
const uc = uppercase(token);
|
|
3648
|
+
return isNumberLike(token) ? lookupNumericCode(token, "alpha3") : isIso3166Alpha2(uc) ? lookupAlpha2Code(uc, "alpha3") : isIso3166Alpha3(uc) ? lookupAlpha3Code(uc, "alpha3") : isIso3166CountryName(token) ? lookupName(token, "alpha3") : void 0;
|
|
3649
|
+
}
|
|
3650
|
+
function lookupCountryCode(token) {
|
|
3651
|
+
const uc = uppercase(token);
|
|
3652
|
+
return isNumberLike(token) ? lookupNumericCode(token, "countryCode") : isIso3166Alpha2(uc) ? lookupAlpha2Code(uc, "countryCode") : isIso3166Alpha3(uc) ? lookupAlpha3Code(uc, "countryCode") : isIso3166CountryName(token) ? lookupName(token, "countryCode") : void 0;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
// src/type-conversion/mergeObjects.ts
|
|
3656
|
+
function mergeObjects(defVal, override) {
|
|
3657
|
+
const intersectingKeys = sharedKeys(defVal, override);
|
|
3658
|
+
const defUnique = withoutKeys(defVal, ...intersectingKeys);
|
|
3659
|
+
const overrideUnique = withoutKeys(defVal, ...intersectingKeys);
|
|
3660
|
+
const merged = {
|
|
3661
|
+
...intersectingKeys.reduce(
|
|
3662
|
+
(acc, key) => typeof override[key] === "undefined" ? { ...acc, [key]: defVal[key] } : { ...acc, [key]: override[key] },
|
|
3663
|
+
{}
|
|
3664
|
+
),
|
|
3665
|
+
...defUnique,
|
|
3666
|
+
...overrideUnique
|
|
3667
|
+
};
|
|
3668
|
+
return merged;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
// src/type-conversion/mergeScalars.ts
|
|
3672
|
+
function mergeScalars(a, b) {
|
|
3673
|
+
return isUndefined(b) ? a : b;
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3676
|
+
// src/type-conversion/mergeTuples.ts
|
|
3677
|
+
function mergeTuples(a, b) {
|
|
3678
|
+
return b.length > a.length ? b.map((v, idx) => v !== void 0 ? v : a[idx]) : [...b, ...a.slice(b.length)].map((v, idx) => v !== void 0 ? v : a[idx]);
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
// src/type-conversion/never.ts
|
|
3682
|
+
function never(val) {
|
|
3683
|
+
return val;
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
// src/type-conversion/optional.ts
|
|
3687
|
+
function optional(value) {
|
|
3688
|
+
return value;
|
|
3689
|
+
}
|
|
3690
|
+
function orNull(value) {
|
|
3691
|
+
return value;
|
|
3692
|
+
}
|
|
3693
|
+
function optionalOrNull(value) {
|
|
3694
|
+
return value;
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
// src/type-conversion/stripParenthesis.ts
|
|
3698
|
+
function stripParenthesis(val) {
|
|
3699
|
+
return stripTrailing(stripLeading(val.trim(), "("), ")").trim();
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3702
|
+
// src/type-conversion/toNumber.ts
|
|
3703
|
+
function convertScalar(val) {
|
|
3704
|
+
switch (typeof val) {
|
|
3705
|
+
case "number":
|
|
3706
|
+
return val;
|
|
3707
|
+
case "string":
|
|
3708
|
+
return Number(val);
|
|
3709
|
+
case "boolean":
|
|
3710
|
+
return val ? 1 : 0;
|
|
3711
|
+
default:
|
|
3712
|
+
throw new Error(`${typeof val} is an invalid scalar type to convert to a number!`);
|
|
3713
|
+
}
|
|
3714
|
+
}
|
|
3715
|
+
var convertList = (val) => val.map((i) => convertScalar(i));
|
|
3716
|
+
function toNumber(value) {
|
|
3717
|
+
return Array.isArray(value) ? convertList(value) : convertScalar(value);
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
// src/type-conversion/tw-conversion.ts
|
|
3721
|
+
var MODS = TW_MODIFIERS.map((i) => `${i}:`);
|
|
3722
|
+
function removeTailwindModifiers(val) {
|
|
3723
|
+
return MODS.some((i) => val.startsWith(i)) ? removeTailwindModifiers(val.replace(MODS.find((i) => val.startsWith(i)), "")) : val;
|
|
3724
|
+
}
|
|
3725
|
+
function getTailwindModifiers(val) {
|
|
3726
|
+
return val.split(":").filter((i) => isTailwindModifier(i));
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
// src/type-conversion/union.ts
|
|
3730
|
+
function union(..._options) {
|
|
3731
|
+
return (value) => value;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
// src/type-conversion/unionize.ts
|
|
3735
|
+
function unionize(value, _inUnionWith) {
|
|
3736
|
+
return value;
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
// src/literals/retainUntil.ts
|
|
3740
|
+
function retainUntil(content, ...find2) {
|
|
3741
|
+
const chars = asChars(content);
|
|
3742
|
+
let idx = 0;
|
|
3743
|
+
while (!find2.includes(chars[idx]) && idx <= chars.length) {
|
|
3744
|
+
idx = idx + 1;
|
|
3745
|
+
}
|
|
3746
|
+
return idx === 0 ? "" : content.slice(0, idx);
|
|
3747
|
+
}
|
|
3748
|
+
function retainUntilInclusive(content, ...find2) {
|
|
3749
|
+
const chars = asChars(content);
|
|
3750
|
+
let idx = 0;
|
|
3751
|
+
while (!find2.includes(chars[idx]) && idx <= chars.length) {
|
|
3752
|
+
idx = idx + 1;
|
|
3753
|
+
}
|
|
3754
|
+
return idx === 0 ? content.slice(0, 1) : content.slice(0, idx + 1);
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3757
|
+
// src/literals/retainWhile.ts
|
|
3758
|
+
function retainWhile(content, ...retain2) {
|
|
3759
|
+
const stopIdx = asChars(content).findIndex((c) => !retain2.includes(c));
|
|
3760
|
+
return content.slice(0, stopIdx);
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
// src/literals/rightWhitespace.ts
|
|
3764
|
+
function rightWhitespace(content) {
|
|
3765
|
+
const trimmed = content.trimStart();
|
|
3766
|
+
return retainAfterInclusive(
|
|
3767
|
+
trimmed,
|
|
3768
|
+
...WHITESPACE_CHARS
|
|
3769
|
+
);
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
// src/literals/stripAfter.ts
|
|
3773
|
+
function stripAfter(content, find2) {
|
|
3774
|
+
return content.split(find2).shift();
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
// src/literals/stripBefore.ts
|
|
3778
|
+
function stripBefore(content, find2) {
|
|
3779
|
+
return content.split(find2).slice(1).join(find2);
|
|
3780
|
+
}
|
|
3781
|
+
|
|
3782
|
+
// src/literals/stripChars.ts
|
|
3783
|
+
function stripChars(content, ...strip2) {
|
|
3784
|
+
const chars = asChars(content);
|
|
3785
|
+
return chars.filter((c) => !strip2.includes(c)).join("");
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
// src/literals/stripLeading.ts
|
|
3789
|
+
function stripLeading(content, ...strip2) {
|
|
3790
|
+
let output = String(content);
|
|
3791
|
+
for (const s of strip2) {
|
|
3792
|
+
if (output.startsWith(String(s))) {
|
|
3793
|
+
output = output.slice(String(s).length);
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
return isNumber(content) ? Number(output) : output;
|
|
3797
|
+
}
|
|
3798
|
+
|
|
3799
|
+
// src/literals/stripSurround.ts
|
|
3800
|
+
function stripSurround(...chars) {
|
|
3801
|
+
return (input) => {
|
|
3802
|
+
let output = String(input);
|
|
3803
|
+
for (const s of chars) {
|
|
3804
|
+
if (output.startsWith(String(s))) {
|
|
3805
|
+
output = output.slice(String(s).length);
|
|
3806
|
+
}
|
|
3807
|
+
if (output.endsWith(String(s))) {
|
|
3808
|
+
output = output.slice(0, -1 * String(s).length);
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
return isNumber(input) ? Number(output) : output;
|
|
3812
|
+
};
|
|
3813
|
+
}
|
|
3814
|
+
|
|
3815
|
+
// src/literals/stripUntil.ts
|
|
3816
|
+
function stripUntil(content, ...until) {
|
|
3817
|
+
const stopIdx = asChars(content).findIndex((c) => until.includes(c));
|
|
3818
|
+
return content.slice(stopIdx);
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
// src/literals/stripWhile.ts
|
|
3822
|
+
function stripWhile(content, ...match) {
|
|
3823
|
+
const stopIdx = asChars(content).findIndex((c) => !match.includes(c));
|
|
3824
|
+
return content.slice(stopIdx);
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
// src/literals/surround.ts
|
|
3828
|
+
function surround(prefix, postfix) {
|
|
3829
|
+
return (input) => `${prefix}${input}${postfix}`;
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3832
|
+
// src/literals/takeNumericCharacters.ts
|
|
3833
|
+
function takeNumericCharacters(content) {
|
|
3834
|
+
const nonNumericIdx = asChars(content).findIndex((i) => !NUMERIC_CHAR.includes(i));
|
|
3835
|
+
return content.slice(0, nonNumericIdx);
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
// src/literals/toCamelCase.ts
|
|
3839
|
+
function toCamelCase(input, preserveWhitespace) {
|
|
3840
|
+
const pascal = preserveWhitespace ? toPascalCase(input, preserveWhitespace) : toPascalCase(input);
|
|
3841
|
+
const [_, preWhite, focus, postWhite] = /^(\s*)(.*?)(\s*)$/.exec(
|
|
3842
|
+
pascal
|
|
3843
|
+
);
|
|
3844
|
+
const camel = (preserveWhitespace ? preWhite : "") + focus.replace(/^.*?(\d*[a-z|])/is, (_2, p1) => p1.toLowerCase()) + (preserveWhitespace ? postWhite : "");
|
|
3845
|
+
return camel;
|
|
3846
|
+
}
|
|
3847
|
+
|
|
3848
|
+
// src/literals/toKebabCase.ts
|
|
3849
|
+
function toKebabCase(input, _preserveWhitespace = false) {
|
|
3850
|
+
const [_, preWhite, focus, postWhite] = /^(\s*)(.*?)(\s*)$/.exec(input);
|
|
3851
|
+
const replaceWhitespace = (i) => i.replace(/\s/g, "-");
|
|
3852
|
+
const replaceUppercase = (i) => i.replace(/[A-Z]/g, (c) => `-${c[0].toLowerCase()}`);
|
|
3853
|
+
const replaceLeadingDash = (i) => i.replace(/^-/, "");
|
|
3854
|
+
const replaceTrailingDash = (i) => i.replace(/-$/, "");
|
|
3855
|
+
const replaceUnderscore = (i) => i.replace(/_/g, "-");
|
|
3856
|
+
const removeDupDashes = (i) => i.replace(/-+/g, "-");
|
|
3857
|
+
return removeDupDashes(`${preWhite}${replaceUnderscore(
|
|
3858
|
+
replaceTrailingDash(
|
|
3859
|
+
replaceLeadingDash(removeDupDashes(replaceWhitespace(replaceUppercase(focus))))
|
|
3860
|
+
)
|
|
3861
|
+
)}${postWhite}`);
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
// src/literals/toNumericArray.ts
|
|
3865
|
+
function toNumericArray(arr) {
|
|
3866
|
+
return arr.map((i) => Number(i));
|
|
3867
|
+
}
|
|
3868
|
+
|
|
3869
|
+
// src/literals/toPascalCase.ts
|
|
3870
|
+
function toPascalCase(input, preserveWhitespace = void 0) {
|
|
3871
|
+
const [_, preWhite, focus, postWhite] = /^(\s*)(.*?)(\s*)$/.exec(
|
|
3872
|
+
input
|
|
3873
|
+
);
|
|
3874
|
+
const convertInteriorToCap = (i) => i.replace(/[ |_\-]+(\d*[a-z|])/gi, (_2, p1) => p1.toUpperCase());
|
|
3875
|
+
const startingToCap = (i) => i.replace(/^[_|-]*(\d*[a-z])/g, (_2, p1) => p1.toUpperCase());
|
|
3876
|
+
const replaceLeadingTrash = (i) => i.replace(/^[-_]/, "");
|
|
3877
|
+
const replaceTrailingTrash = (i) => i.replace(/[-_]$/, "");
|
|
3878
|
+
const pascal = `${preserveWhitespace ? preWhite : ""}${capitalize(
|
|
3879
|
+
replaceTrailingTrash(replaceLeadingTrash(convertInteriorToCap(startingToCap(focus))))
|
|
3880
|
+
)}${preserveWhitespace ? postWhite : ""}`;
|
|
3881
|
+
return pascal;
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
// src/literals/toSnakeCase.ts
|
|
3885
|
+
function toSnakeCase(input, preserveWhitespace = false) {
|
|
3886
|
+
const [_, preWhite, focus, postWhite] = /^(\s*)(.*?)(\s*)$/.exec(input);
|
|
3887
|
+
const convertInteriorSpace = (input2) => input2.replace(/\s+/g, "_");
|
|
3888
|
+
const convertDashes = (input2) => input2.replace(/-/g, "_");
|
|
3889
|
+
const injectUnderscoreBeforeCaps = (input2) => input2.replace(/([A-Z])/g, "_$1");
|
|
3890
|
+
const removeLeadingUnderscore = (input2) => input2.startsWith("_") ? input2.slice(1) : input2;
|
|
3891
|
+
return ((preserveWhitespace ? preWhite : "") + removeLeadingUnderscore(
|
|
3892
|
+
injectUnderscoreBeforeCaps(convertDashes(convertInteriorSpace(focus)))
|
|
3893
|
+
).toLowerCase() + (preserveWhitespace ? postWhite : "")).replace(/__/g, "_");
|
|
3894
|
+
}
|
|
3895
|
+
|
|
3896
|
+
// src/literals/toString.ts
|
|
3897
|
+
function toString(val) {
|
|
3898
|
+
return String(val);
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
// src/literals/toUppercase.ts
|
|
3902
|
+
function toUppercase(str) {
|
|
3903
|
+
return str.split("").map((i) => ifLowercaseChar(i, (v) => capitalize(v), (v) => v)).join("");
|
|
3904
|
+
}
|
|
3905
|
+
|
|
3906
|
+
// src/literals/trim.ts
|
|
3907
|
+
function trim(input) {
|
|
3908
|
+
return input.trim();
|
|
3909
|
+
}
|
|
3910
|
+
function trimLeft(input) {
|
|
3911
|
+
return input.trimStart();
|
|
3912
|
+
}
|
|
3913
|
+
function trimStart(input) {
|
|
3914
|
+
return input.trimStart();
|
|
3915
|
+
}
|
|
3916
|
+
function trimRight(input) {
|
|
3917
|
+
return input.trimEnd();
|
|
3918
|
+
}
|
|
3919
|
+
function trimEnd(input) {
|
|
3920
|
+
return input.trimEnd();
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
// src/literals/truncate.ts
|
|
3924
|
+
function truncate(content, maxLength, ellipsis = false) {
|
|
3925
|
+
const overLimit = content.length > maxLength;
|
|
3926
|
+
return overLimit ? ellipsis ? `${content.slice(0, maxLength)}${typeof ellipsis === "string" ? ellipsis : "..."}` : content.slice(0, maxLength) : content;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
// src/literals/tuple.ts
|
|
3930
|
+
function tuple(...values) {
|
|
3931
|
+
const arr = values.length === 1 ? values[0] : values;
|
|
3932
|
+
return asArray(arr);
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
// src/literals/uncapitalize.ts
|
|
3936
|
+
function uncapitalize(str) {
|
|
3937
|
+
return `${str?.slice(0, 1).toLowerCase()}${str?.slice(1)}`;
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
// src/literals/uppercase.ts
|
|
3941
|
+
function uppercase(str) {
|
|
3942
|
+
return str.toUpperCase();
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
// src/literals/widen.ts
|
|
3946
|
+
function widen(value) {
|
|
3947
|
+
return value;
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
// src/meta/urlMeta.ts
|
|
3951
|
+
var PROTOCOLS = Object.values(NETWORK_PROTOCOL_LOOKUP).flat().filter((i) => i !== "");
|
|
3952
|
+
function getUrlProtocol(url) {
|
|
3953
|
+
const proto = PROTOCOLS.find((p) => url.startsWith(`${p}://`));
|
|
3954
|
+
return proto;
|
|
3955
|
+
}
|
|
3956
|
+
function removeUrlProtocol(url) {
|
|
3957
|
+
return stripBefore(url, "://");
|
|
3958
|
+
}
|
|
3959
|
+
function ensurePath(val) {
|
|
3960
|
+
const val2 = ensureLeading(val, "/");
|
|
3961
|
+
return val === "" ? "" : stripTrailing(val2, "/");
|
|
3962
|
+
}
|
|
3963
|
+
function getUrlPath(url) {
|
|
3964
|
+
return isUrl(url) ? ensurePath(
|
|
3965
|
+
stripAfter(stripBefore(removeUrlProtocol(url), "/"), "?")
|
|
3966
|
+
) : Never;
|
|
3967
|
+
}
|
|
3968
|
+
function getUrlQueryParams(url, specific = void 0) {
|
|
3969
|
+
const qp = stripBefore(url, "?");
|
|
3970
|
+
if (specific) {
|
|
3971
|
+
return qp.includes(`${specific}=`) ? decodeURIComponent(
|
|
3972
|
+
stripAfter(
|
|
3973
|
+
stripBefore(qp, `${specific}=`),
|
|
3974
|
+
"&"
|
|
3975
|
+
).replace(/\+/g, "%20")
|
|
3976
|
+
) : void 0;
|
|
3977
|
+
}
|
|
3978
|
+
return qp === "" ? qp : `?${qp}`;
|
|
3979
|
+
}
|
|
3980
|
+
function getUrlPort(url) {
|
|
3981
|
+
const candidate = takeNumericCharacters(
|
|
3982
|
+
stripBefore(removeUrlProtocol(url), ":")
|
|
3983
|
+
);
|
|
3984
|
+
return candidate === "" ? "default" : Number(candidate);
|
|
3985
|
+
}
|
|
3986
|
+
function getUrlSource(url) {
|
|
3987
|
+
const candidate = stripAfter(stripAfter(stripAfter(removeUrlProtocol(url), "/"), "?"), ":");
|
|
3988
|
+
return isIpAddress(candidate) || isDomainName(candidate) ? candidate : Never;
|
|
3989
|
+
}
|
|
3990
|
+
function urlMeta(url) {
|
|
3991
|
+
return {
|
|
3992
|
+
url,
|
|
3993
|
+
isUrl: isUrl(url),
|
|
3994
|
+
protocol: getUrlProtocol(url),
|
|
3995
|
+
path: getUrlPath(url),
|
|
3996
|
+
queryParameters: getUrlQueryParams(url),
|
|
3997
|
+
port: getUrlPort(url),
|
|
3998
|
+
source: getUrlSource(url),
|
|
3999
|
+
isIpAddress: isIpAddress(getUrlSource(url)),
|
|
4000
|
+
isIp4Address: isIp4Address(getUrlSource(url)),
|
|
4001
|
+
isIp6Address: isIp6Address(getUrlSource(url))
|
|
4002
|
+
};
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
// src/meta/youtube-meta.ts
|
|
4006
|
+
function getYouTubePageType(url) {
|
|
4007
|
+
return isYouTubeUrl(url) ? isYouTubeVideoUrl(url) && (hasUrlQueryParameter(url, "v") || isYouTubeShareUrl(url)) ? hasUrlQueryParameter(url, "list") ? isYouTubeShareUrl(url) ? hasUrlQueryParameter(url, "t") ? `play::video::in-list::share-link::with-timestamp` : `play::video::in-list::share-link` : `play::video::in-list` : isYouTubeShareUrl(url) ? hasUrlQueryParameter(url, "t") ? `play::video::solo::share-link::with-timestamp` : `play::video::solo::share-link` : `play::video::solo` : isYouTubeCreatorUrl(url) ? getUrlPath(url).includes("/videos") ? "creator::videos" : getUrlPath(url).includes("/playlists") ? "creator::playlists" : last(getUrlPath(url).split("/")).startsWith("@") || getUrlPath(url).includes("/featured") ? "creator::featured" : "creator::other" : isYouTubeFeedUrl(url) ? isYouTubeFeedUrl(url, "history") ? "feed::history" : isYouTubeFeedUrl(url, "playlists") ? "feed::playlists" : isYouTubeFeedUrl(url, "liked") ? "feed::liked" : isYouTubeFeedUrl(url, "subscriptions") ? "feed::subscriptions" : isYouTubeFeedUrl(url, "trending") ? "feed::trending" : "feed::other" : isYouTubeVideosInPlaylist(url) ? "playlist::show" : "other" : Never;
|
|
4008
|
+
}
|
|
4009
|
+
function youtubeEmbed(url) {
|
|
4010
|
+
if (hasUrlQueryParameter(url, "v")) {
|
|
4011
|
+
const id = getUrlQueryParams(url, "v");
|
|
4012
|
+
return `https://www.youtube.com/embed/${id}`;
|
|
4013
|
+
} else if (isYouTubeShareUrl(url)) {
|
|
4014
|
+
const id = url.split("/").pop();
|
|
4015
|
+
if (id) {
|
|
4016
|
+
return `https://www.youtube.com/embed/${id}`;
|
|
4017
|
+
} else {
|
|
4018
|
+
throw new Error(`Unexpected problem parsing share URL -- "${url}" -- into a YouTube embed URL`);
|
|
4019
|
+
}
|
|
4020
|
+
} else {
|
|
4021
|
+
throw new Error(`Unexpected URL structure; unable to convert "${url}" to a YouTube embed URL`);
|
|
4022
|
+
}
|
|
4023
|
+
}
|
|
4024
|
+
function youtubeMeta(url) {
|
|
4025
|
+
return isYouTubeUrl(url) ? {
|
|
4026
|
+
url,
|
|
4027
|
+
isYouTubeUrl: true,
|
|
4028
|
+
isShareUrl: isYouTubeShareUrl(url),
|
|
4029
|
+
pageType: getYouTubePageType(url)
|
|
4030
|
+
} : {
|
|
4031
|
+
url,
|
|
4032
|
+
isYouTubeUrl: false
|
|
4033
|
+
};
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
// src/queues/fifo.ts
|
|
4037
|
+
function queue(state) {
|
|
4038
|
+
return {
|
|
4039
|
+
queue: state,
|
|
4040
|
+
size: state.length,
|
|
4041
|
+
isEmpty() {
|
|
4042
|
+
return state.length === 0;
|
|
4043
|
+
},
|
|
4044
|
+
clear() {
|
|
4045
|
+
state.slice(0, 0);
|
|
4046
|
+
},
|
|
4047
|
+
drain() {
|
|
4048
|
+
const old_state = [...state];
|
|
4049
|
+
state.slice(0, 0);
|
|
4050
|
+
return old_state;
|
|
4051
|
+
},
|
|
4052
|
+
push(...add) {
|
|
4053
|
+
state.push(...add);
|
|
4054
|
+
},
|
|
4055
|
+
drop(quantity) {
|
|
4056
|
+
if (quantity && quantity > state.length) {
|
|
4057
|
+
throw new Error("Cannot drop more elements than present in the queue");
|
|
4058
|
+
}
|
|
4059
|
+
state.splice(0, quantity || 1);
|
|
4060
|
+
},
|
|
4061
|
+
take(quantity) {
|
|
4062
|
+
if (quantity && quantity > state.length) {
|
|
4063
|
+
throw new Error("Cannot take more elements than present in the queue");
|
|
4064
|
+
}
|
|
4065
|
+
const result2 = state.slice(0, quantity || 1);
|
|
4066
|
+
state.splice(0, quantity || 1);
|
|
4067
|
+
return result2;
|
|
4068
|
+
},
|
|
4069
|
+
*[Symbol.iterator]() {
|
|
4070
|
+
for (let i = 0; i < state.length; i++) {
|
|
4071
|
+
yield state[i];
|
|
4072
|
+
}
|
|
4073
|
+
}
|
|
4074
|
+
};
|
|
4075
|
+
}
|
|
4076
|
+
function createFifoQueue(...list2) {
|
|
4077
|
+
return queue([...list2]);
|
|
4078
|
+
}
|
|
4079
|
+
|
|
4080
|
+
// src/queues/lifo.ts
|
|
4081
|
+
function queue2(state) {
|
|
4082
|
+
return {
|
|
4083
|
+
queue: state,
|
|
4084
|
+
size: state.length,
|
|
4085
|
+
isEmpty() {
|
|
4086
|
+
return state.length === 0;
|
|
4087
|
+
},
|
|
4088
|
+
push(...add) {
|
|
4089
|
+
state.push(...add);
|
|
4090
|
+
},
|
|
4091
|
+
drop(quantity) {
|
|
4092
|
+
state.splice(-quantity);
|
|
4093
|
+
},
|
|
4094
|
+
clear() {
|
|
4095
|
+
state.slice(0, 0);
|
|
4096
|
+
},
|
|
4097
|
+
drain() {
|
|
4098
|
+
const old_state = [...state];
|
|
4099
|
+
state.slice(0, 0);
|
|
4100
|
+
return old_state;
|
|
4101
|
+
},
|
|
4102
|
+
take(quantity) {
|
|
4103
|
+
const result2 = state.slice(-quantity);
|
|
4104
|
+
state.splice(-quantity);
|
|
4105
|
+
return result2;
|
|
4106
|
+
},
|
|
4107
|
+
*[Symbol.iterator]() {
|
|
4108
|
+
for (let i = state.length - 1; i >= 0; i--) {
|
|
4109
|
+
yield state[i];
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
};
|
|
4113
|
+
}
|
|
4114
|
+
function createLifoQueue(...list2) {
|
|
4115
|
+
return queue2([...list2]);
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
// src/runtime-types/asToken.ts
|
|
4119
|
+
var scalarToToken = identity({
|
|
4120
|
+
string: "<<string>>",
|
|
4121
|
+
number: "<<number>>",
|
|
4122
|
+
boolean: "<<boolean>>",
|
|
4123
|
+
true: "<<true>>",
|
|
4124
|
+
false: "<<false>>",
|
|
4125
|
+
null: "<<null>>",
|
|
4126
|
+
undefined: "<<undefined>>",
|
|
4127
|
+
unknown: "<<unknown>>",
|
|
4128
|
+
any: "<<any>>",
|
|
4129
|
+
never: "<<never>>"
|
|
4130
|
+
});
|
|
4131
|
+
function stringLiteral(str) {
|
|
4132
|
+
return stripAfter(stripBefore(str, "string("), ")");
|
|
4133
|
+
}
|
|
4134
|
+
function numericLiteral(str) {
|
|
4135
|
+
return stripAfter(stripBefore(str, "number("), ")");
|
|
4136
|
+
}
|
|
4137
|
+
function handleOptional(token) {
|
|
4138
|
+
const bare = stripTrailing(stripLeading(token, "Opt<"), ">");
|
|
4139
|
+
return bare.startsWith("string") ? `<<union::[ <<string>>, <<undefined>> ]>>` : bare.startsWith("number") ? `<<union::[ <<number>>, <<undefined>> ]>>` : bare.startsWith("boolean") ? `<<union::[ <<boolean>>, <<undefined>> ]>>` : bare.startsWith("unknown") ? `<<union::[ <<unknown>>, <<undefined>> ]>>` : `<<never>>`;
|
|
4140
|
+
}
|
|
4141
|
+
function simpleScalarTokenToTypeToken(val) {
|
|
4142
|
+
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>>`;
|
|
4143
|
+
}
|
|
4144
|
+
function unionNode(node) {
|
|
4145
|
+
return isNumberLike(node) ? `<<number::${node}>>` : isBooleanLike(node) ? `<<${node}>>` : isSimpleContainerToken(node) ? simpleContainerTokenToTypeToken() : isSimpleScalarToken(node) ? simpleScalarToken(node) : `<<string::${node}>>`;
|
|
4146
|
+
}
|
|
4147
|
+
function union2(nodes) {
|
|
4148
|
+
return Array.isArray(nodes) ? nodes.map((n) => unionNode(n)) : nodes.includes(",") ? nodes.split(/,\s?/).map((n) => unionNode(n)).join(", ") : unionNode(nodes);
|
|
4149
|
+
}
|
|
4150
|
+
var stripUnion = stripSurround("Union(", ")");
|
|
4151
|
+
function simpleUnionTokenToTypeToken(val) {
|
|
4152
|
+
return val.startsWith(`Union(`) && val.endsWith(`)`) ? `<<union::[ ${union2(stripUnion(val))} ]>>` : Never;
|
|
4153
|
+
}
|
|
4154
|
+
function simpleContainerTokenToTypeToken(_val) {
|
|
4155
|
+
}
|
|
4156
|
+
function asTypeToken(_val) {
|
|
4157
|
+
return "not ready";
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
// src/runtime-types/shape-helpers/addToken.ts
|
|
4161
|
+
function addToken(token, ...params) {
|
|
4162
|
+
return `<<${token}${params.length > 0 ? `::${params.join("::")}` : ""}>>`;
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
// src/runtime-types/shape-helpers/atomics.ts
|
|
4166
|
+
function boolean(literal2) {
|
|
4167
|
+
return isDefined(literal2) ? isTrue(literal2) ? addToken("true") : isFalse(literal2) ? addToken("false") : addToken("boolean") : addToken("boolean");
|
|
4168
|
+
}
|
|
4169
|
+
var unknown = () => "<<unknown>>";
|
|
4170
|
+
var undefinedType = () => "<<undefined>>";
|
|
4171
|
+
var nullType = () => "<<null>>";
|
|
4172
|
+
|
|
4173
|
+
// src/runtime-types/shape-helpers/functions.ts
|
|
4174
|
+
function fn(..._args) {
|
|
4175
|
+
return {
|
|
4176
|
+
returns: (_rtn) => ({
|
|
4177
|
+
addProperties: (_kv) => {
|
|
4178
|
+
return null;
|
|
4179
|
+
},
|
|
4180
|
+
done: () => {
|
|
4181
|
+
return null;
|
|
4182
|
+
}
|
|
4183
|
+
}),
|
|
4184
|
+
done: () => {
|
|
4185
|
+
const result2 = null;
|
|
4186
|
+
return result2;
|
|
4187
|
+
}
|
|
4188
|
+
};
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
// src/runtime-types/shape-helpers/literal-containers.ts
|
|
4192
|
+
function dictionary(_obj) {
|
|
4193
|
+
return null;
|
|
4194
|
+
}
|
|
4195
|
+
function tuple2(..._elements) {
|
|
4196
|
+
return null;
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
// src/runtime-types/shape-helpers/regexToken.ts
|
|
4200
|
+
function regexToken(re, ...rep) {
|
|
4201
|
+
let exp = "";
|
|
4202
|
+
if (isString(re)) {
|
|
4203
|
+
try {
|
|
4204
|
+
const test = new RegExp(re);
|
|
4205
|
+
if (!isRegExp(test)) {
|
|
4206
|
+
const err = new Error(`Invalid RegEx passed into regexToken(${re}, ${JSON.stringify(rep)})!`);
|
|
4207
|
+
err.name = "InvalidRegEx";
|
|
4208
|
+
throw err;
|
|
4209
|
+
} else {
|
|
4210
|
+
exp = re;
|
|
4211
|
+
}
|
|
4212
|
+
} catch {
|
|
4213
|
+
const err = new Error(`Invalid RegEx passed into regexToken(${re}, ${JSON.stringify(rep)})!`);
|
|
4214
|
+
err.name = "InvalidRegEx";
|
|
4215
|
+
throw err;
|
|
4216
|
+
}
|
|
4217
|
+
} else if (isRegExp(re)) {
|
|
4218
|
+
exp = re.toString();
|
|
4219
|
+
}
|
|
4220
|
+
const token = `<<string-set::regexp::${encodeURIComponent(exp)}>>`;
|
|
4221
|
+
return token;
|
|
4222
|
+
}
|
|
4223
|
+
|
|
4224
|
+
// src/runtime-types/shape-helpers/singletons.ts
|
|
4225
|
+
function addSingleton(token, api2) {
|
|
4226
|
+
return (...literals) => {
|
|
4227
|
+
return literals.length === 0 ? api2 || addToken(token) : literals.length === 1 ? addToken(token, literals[0]) : addToken(
|
|
4228
|
+
"union",
|
|
4229
|
+
literals.map((l) => addToken(token, `${l}`)).join(",")
|
|
4230
|
+
);
|
|
4231
|
+
};
|
|
4232
|
+
}
|
|
4233
|
+
var stringApi = {
|
|
4234
|
+
startsWith: (startsWith2) => addToken(`string-set`, `startsWith::${startsWith2}`),
|
|
4235
|
+
endsWith: (endsWith2) => addToken(`string-set`, `endsWith::${endsWith2}`),
|
|
4236
|
+
zip: () => addToken("string-set", "Zip5"),
|
|
4237
|
+
zipPlus4: () => addToken("string-set", "Zip5_4"),
|
|
4238
|
+
zipCode: () => addToken("string-set", "ZipCode"),
|
|
4239
|
+
militaryTime: (resolution) => {
|
|
4240
|
+
return addToken(
|
|
4241
|
+
"string-set",
|
|
4242
|
+
"militaryTime",
|
|
4243
|
+
resolution || "HH:MM"
|
|
4244
|
+
);
|
|
4245
|
+
},
|
|
4246
|
+
civilianTime: (resolution) => {
|
|
4247
|
+
return addToken(
|
|
4248
|
+
"string-set",
|
|
4249
|
+
"militaryTime",
|
|
4250
|
+
resolution || "HH:MM"
|
|
4251
|
+
);
|
|
4252
|
+
},
|
|
4253
|
+
numericString: () => addToken("string-set", "numeric"),
|
|
4254
|
+
ipv4Address: () => addToken("string-set", "ipv4Address"),
|
|
4255
|
+
ipv6Address: () => addToken("string-set", "ipv6Address"),
|
|
4256
|
+
regex: (exp, ...literalRepresentation) => {
|
|
4257
|
+
const token = regexToken(exp, ...literalRepresentation);
|
|
4258
|
+
return token;
|
|
4259
|
+
},
|
|
4260
|
+
done: () => addToken("string")
|
|
4261
|
+
};
|
|
4262
|
+
var string2 = addSingleton("string", stringApi);
|
|
4263
|
+
var number = addSingleton("number");
|
|
4264
|
+
|
|
4265
|
+
// src/runtime-types/shape-helpers/union.ts
|
|
4266
|
+
function union3(...elements) {
|
|
4267
|
+
const result2 = elements.map((_el) => {
|
|
4268
|
+
});
|
|
4269
|
+
return result2;
|
|
4270
|
+
}
|
|
4271
|
+
|
|
4272
|
+
// src/runtime-types/shape-helpers/wide-containers.ts
|
|
4273
|
+
function record(_key, _value) {
|
|
4274
|
+
return null;
|
|
4275
|
+
}
|
|
4276
|
+
function array(_type) {
|
|
4277
|
+
return null;
|
|
4278
|
+
}
|
|
4279
|
+
function set(_type) {
|
|
4280
|
+
return null;
|
|
4281
|
+
}
|
|
4282
|
+
function map(_key, _value) {
|
|
4283
|
+
return null;
|
|
4284
|
+
}
|
|
4285
|
+
function weakMap(_key, _value) {
|
|
4286
|
+
return null;
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
// src/runtime-types/shape.ts
|
|
4290
|
+
function isAddOrDone(val) {
|
|
4291
|
+
return isObject(val) && hasKeys("add", "done") && typeof val.done === "function" && typeof val.add === "function";
|
|
4292
|
+
}
|
|
4293
|
+
var ShapeApiImplementation = {
|
|
4294
|
+
string: string2,
|
|
4295
|
+
number,
|
|
4296
|
+
boolean,
|
|
4297
|
+
unknown,
|
|
4298
|
+
undefined: undefinedType,
|
|
4299
|
+
null: nullType,
|
|
4300
|
+
union: union3,
|
|
4301
|
+
fn,
|
|
4302
|
+
record,
|
|
4303
|
+
array,
|
|
4304
|
+
set,
|
|
4305
|
+
map,
|
|
4306
|
+
weakMap,
|
|
4307
|
+
dictionary,
|
|
4308
|
+
tuple: tuple2
|
|
4309
|
+
};
|
|
4310
|
+
function shape(cb) {
|
|
4311
|
+
const rtn = cb(ShapeApiImplementation);
|
|
4312
|
+
return handleDoneFn(
|
|
4313
|
+
isAddOrDone(rtn) ? rtn.done() : rtn
|
|
4314
|
+
);
|
|
4315
|
+
}
|
|
4316
|
+
function isShape(v) {
|
|
4317
|
+
return !!(isString(v) && v.startsWith("<<") && v.endsWith(">>") && SHAPE_PREFIXES.some((i) => v.startsWith(`<<${i}`)));
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
// src/runtime-types/asDefineObject.ts
|
|
4321
|
+
function asDefineObject(defn) {
|
|
4322
|
+
const result2 = Object.keys(defn).reduce(
|
|
4323
|
+
(acc, i) => isSimpleToken(defn[i]) ? { ...acc, [i]: asType(defn[i]) } : isDoneFn(defn[i]) ? {
|
|
4324
|
+
...acc,
|
|
4325
|
+
[i]: handleDoneFn(defn[i](ShapeApiImplementation))
|
|
4326
|
+
} : isFunction(defn[i]) ? {
|
|
4327
|
+
...acc,
|
|
4328
|
+
[i]: handleDoneFn(defn[i](ShapeApiImplementation))
|
|
4329
|
+
} : Never,
|
|
4330
|
+
{}
|
|
4331
|
+
);
|
|
4332
|
+
return result2;
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
// src/runtime-types/asType.ts
|
|
4336
|
+
function asType(...token) {
|
|
4337
|
+
return isFunction(token) ? token(ShapeApiImplementation) : token.length === 1 ? isFunction(token[0]) ? handleDoneFn(token[0](ShapeApiImplementation)) : isDefineObject(token[0]) ? asDefineObject(token[0]) : token[0] : token.map((i) => isFunction(i) ? handleDoneFn(i(ShapeApiImplementation)) : i);
|
|
4338
|
+
}
|
|
4339
|
+
function asStringLiteral(...values) {
|
|
4340
|
+
return values.map((i) => i);
|
|
4341
|
+
}
|
|
4342
|
+
|
|
4343
|
+
// src/runtime-types/choices.ts
|
|
4344
|
+
var choices = "NOT READY";
|
|
4345
|
+
|
|
4346
|
+
// src/runtime-types/ip6Prefix.ts
|
|
4347
|
+
function ip6Prefix(...groups) {
|
|
4348
|
+
const empty = addToken("string");
|
|
4349
|
+
const count = 4 - groups.length;
|
|
4350
|
+
const fillIn = [];
|
|
4351
|
+
for (let index = 0; index < count; index++) {
|
|
4352
|
+
fillIn.push(empty);
|
|
4353
|
+
}
|
|
4354
|
+
return [
|
|
4355
|
+
"<<string::",
|
|
4356
|
+
[
|
|
4357
|
+
groups.join(":"),
|
|
4358
|
+
fillIn.join(":")
|
|
4359
|
+
].join(":"),
|
|
4360
|
+
">>"
|
|
4361
|
+
].join("");
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
// src/runtime-types/list.ts
|
|
4365
|
+
function createProxy(...initialize) {
|
|
4366
|
+
const state = initialize;
|
|
4367
|
+
state.id = null;
|
|
4368
|
+
const proxy = new Proxy(state, {});
|
|
4369
|
+
Object.defineProperty(proxy, "id", {
|
|
4370
|
+
enumerable: false
|
|
4371
|
+
});
|
|
4372
|
+
return proxy;
|
|
4373
|
+
}
|
|
4374
|
+
function list(...init) {
|
|
4375
|
+
return init.length === 1 && isArray(init[0]) ? createProxy(...init[0]) : createProxy(...init);
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
// src/runtime-types/tokens/createTypeToken.ts
|
|
4379
|
+
function unionToken(...els) {
|
|
4380
|
+
return `<<union::[${jsonValues(els)}]>>`;
|
|
4381
|
+
}
|
|
4382
|
+
function singletonApi(base) {
|
|
4383
|
+
const handler = (...lits) => {
|
|
4384
|
+
return lits.length === 0 ? base === "string" ? `<<string>>` : `<<number>>` : lits.length === 1 ? base === "string" ? `<<string::${lits[0]}>>` : `<<number::${lits[0]}>>` : base === "string" ? `<<string::${unionToken(...lits)}>>` : `<<number::${unionToken(...lits)}>>`;
|
|
4385
|
+
};
|
|
4386
|
+
return handler;
|
|
4387
|
+
}
|
|
4388
|
+
function createTypeToken(base) {
|
|
4389
|
+
return isAtomicToken(base) ? `<<${base}>>` : isSingletonToken(base) ? singletonApi(base) : "";
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
// src/runtime-types/tokens/simpleToken.ts
|
|
4393
|
+
var simpleToken = (token) => token;
|
|
4394
|
+
var simpleScalarToken = (token) => token;
|
|
4395
|
+
var simpleContainerToken = (token) => token;
|
|
4396
|
+
function simpleScalarType(token) {
|
|
4397
|
+
const value = simpleScalarToken(token);
|
|
4398
|
+
return value;
|
|
4399
|
+
}
|
|
4400
|
+
function simpleContainerType(token) {
|
|
4401
|
+
const value = simpleContainerToken(token);
|
|
4402
|
+
return value;
|
|
4403
|
+
}
|
|
4404
|
+
function simpleType(token) {
|
|
4405
|
+
const value = isSimpleScalarToken(token) ? simpleScalarType(token) : isSimpleContainerToken(token) ? simpleContainerToken(token) : Never;
|
|
4406
|
+
return value;
|
|
4407
|
+
}
|
|
4408
|
+
|
|
4409
|
+
// src/sets/uniqueKeys.ts
|
|
4410
|
+
function uniqueKeys(left, right) {
|
|
4411
|
+
const isNumeric = !!(isArray(left) && isArray(right));
|
|
4412
|
+
if (isArray(left) && !isArray(right) || isArray(right) && !isArray(left)) {
|
|
4413
|
+
throw new Error("uniqueKeys(l,r) given invalid comparison; both left and right values should be an object or an array but not one of each!");
|
|
4414
|
+
}
|
|
4415
|
+
const l = isNumeric ? Object.keys(left).map((i) => Number(i)) : Object.keys(left);
|
|
4416
|
+
const r = isNumeric ? Object.keys(right).map((i) => Number(i)) : Object.keys(right);
|
|
4417
|
+
if (isNumeric) {
|
|
4418
|
+
throw new Error("uniqueKeys does not yet work with tuples");
|
|
4419
|
+
}
|
|
4420
|
+
const leftKeys = l.filter((i) => !r.includes(i));
|
|
4421
|
+
const rightKeys = r.filter((i) => !l.includes(i));
|
|
4422
|
+
return [
|
|
4423
|
+
"LeftRight",
|
|
4424
|
+
leftKeys,
|
|
4425
|
+
rightKeys
|
|
4426
|
+
];
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
// src/vuejs/asVueRef.ts
|
|
4430
|
+
function asVueRef(value) {
|
|
4431
|
+
return {
|
|
4432
|
+
value,
|
|
4433
|
+
_value: null
|
|
4434
|
+
};
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
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 };
|
|
4438
|
+
//# sourceMappingURL=index.js.map
|
|
4439
|
+
//# sourceMappingURL=index.js.map
|