@ikas/storefront 2.0.23 → 2.0.24

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.
Files changed (1303) hide show
  1. package/build/__generated__/global-types.d.ts +723 -0
  2. package/build/__generated__/global-types.js +1 -0
  3. package/build/_virtual/Observable.js_commonjs-proxy.js +1 -0
  4. package/build/_virtual/Parser.js_commonjs-proxy.js +1 -0
  5. package/build/_virtual/ReactPropTypesSecret.js_commonjs-proxy.js +1 -0
  6. package/build/_virtual/Tokenizer.js_commonjs-proxy.js +1 -0
  7. package/build/_virtual/_DataView.js_commonjs-proxy.js +1 -0
  8. package/build/_virtual/_Hash.js_commonjs-proxy.js +1 -0
  9. package/build/_virtual/_ListCache.js_commonjs-proxy.js +1 -0
  10. package/build/_virtual/_Map.js_commonjs-proxy.js +1 -0
  11. package/build/_virtual/_MapCache.js_commonjs-proxy.js +1 -0
  12. package/build/_virtual/_Promise.js_commonjs-proxy.js +1 -0
  13. package/build/_virtual/_Set.js_commonjs-proxy.js +1 -0
  14. package/build/_virtual/_SetCache.js_commonjs-proxy.js +1 -0
  15. package/build/_virtual/_Stack.js_commonjs-proxy.js +1 -0
  16. package/build/_virtual/_Symbol.js_commonjs-proxy.js +1 -0
  17. package/build/_virtual/_Uint8Array.js_commonjs-proxy.js +1 -0
  18. package/build/_virtual/_WeakMap.js_commonjs-proxy.js +1 -0
  19. package/build/_virtual/_apply.js_commonjs-proxy.js +1 -0
  20. package/build/_virtual/_arrayAggregator.js_commonjs-proxy.js +1 -0
  21. package/build/_virtual/_arrayEach.js_commonjs-proxy.js +1 -0
  22. package/build/_virtual/_arrayFilter.js_commonjs-proxy.js +1 -0
  23. package/build/_virtual/_arrayIncludes.js_commonjs-proxy.js +1 -0
  24. package/build/_virtual/_arrayIncludesWith.js_commonjs-proxy.js +1 -0
  25. package/build/_virtual/_arrayLikeKeys.js_commonjs-proxy.js +1 -0
  26. package/build/_virtual/_arrayMap.js_commonjs-proxy.js +1 -0
  27. package/build/_virtual/_arrayPush.js_commonjs-proxy.js +1 -0
  28. package/build/_virtual/_arraySome.js_commonjs-proxy.js +1 -0
  29. package/build/_virtual/_assignValue.js_commonjs-proxy.js +1 -0
  30. package/build/_virtual/_assocIndexOf.js_commonjs-proxy.js +1 -0
  31. package/build/_virtual/_baseAggregator.js_commonjs-proxy.js +1 -0
  32. package/build/_virtual/_baseAssign.js_commonjs-proxy.js +1 -0
  33. package/build/_virtual/_baseAssignIn.js_commonjs-proxy.js +1 -0
  34. package/build/_virtual/_baseAssignValue.js_commonjs-proxy.js +1 -0
  35. package/build/_virtual/_baseClone.js_commonjs-proxy.js +1 -0
  36. package/build/_virtual/_baseCreate.js_commonjs-proxy.js +1 -0
  37. package/build/_virtual/_baseEach.js_commonjs-proxy.js +1 -0
  38. package/build/_virtual/_baseFindIndex.js_commonjs-proxy.js +1 -0
  39. package/build/_virtual/_baseFlatten.js_commonjs-proxy.js +1 -0
  40. package/build/_virtual/_baseFor.js_commonjs-proxy.js +1 -0
  41. package/build/_virtual/_baseForOwn.js_commonjs-proxy.js +1 -0
  42. package/build/_virtual/_baseGet.js_commonjs-proxy.js +1 -0
  43. package/build/_virtual/_baseGetAllKeys.js_commonjs-proxy.js +1 -0
  44. package/build/_virtual/_baseGetTag.js_commonjs-proxy.js +1 -0
  45. package/build/_virtual/_baseHasIn.js_commonjs-proxy.js +1 -0
  46. package/build/_virtual/_baseIndexOf.js_commonjs-proxy.js +1 -0
  47. package/build/_virtual/_baseIsArguments.js_commonjs-proxy.js +1 -0
  48. package/build/_virtual/_baseIsEqual.js_commonjs-proxy.js +1 -0
  49. package/build/_virtual/_baseIsEqualDeep.js_commonjs-proxy.js +1 -0
  50. package/build/_virtual/_baseIsMap.js_commonjs-proxy.js +1 -0
  51. package/build/_virtual/_baseIsMatch.js_commonjs-proxy.js +1 -0
  52. package/build/_virtual/_baseIsNaN.js_commonjs-proxy.js +1 -0
  53. package/build/_virtual/_baseIsNative.js_commonjs-proxy.js +1 -0
  54. package/build/_virtual/_baseIsSet.js_commonjs-proxy.js +1 -0
  55. package/build/_virtual/_baseIsTypedArray.js_commonjs-proxy.js +1 -0
  56. package/build/_virtual/_baseIteratee.js_commonjs-proxy.js +1 -0
  57. package/build/_virtual/_baseKeys.js_commonjs-proxy.js +1 -0
  58. package/build/_virtual/_baseKeysIn.js_commonjs-proxy.js +1 -0
  59. package/build/_virtual/_baseMap.js_commonjs-proxy.js +1 -0
  60. package/build/_virtual/_baseMatches.js_commonjs-proxy.js +1 -0
  61. package/build/_virtual/_baseMatchesProperty.js_commonjs-proxy.js +1 -0
  62. package/build/_virtual/_baseOrderBy.js_commonjs-proxy.js +1 -0
  63. package/build/_virtual/_baseProperty.js_commonjs-proxy.js +1 -0
  64. package/build/_virtual/_basePropertyDeep.js_commonjs-proxy.js +1 -0
  65. package/build/_virtual/_baseRest.js_commonjs-proxy.js +1 -0
  66. package/build/_virtual/_baseSetToString.js_commonjs-proxy.js +1 -0
  67. package/build/_virtual/_baseSortBy.js_commonjs-proxy.js +1 -0
  68. package/build/_virtual/_baseTimes.js_commonjs-proxy.js +1 -0
  69. package/build/_virtual/_baseToString.js_commonjs-proxy.js +1 -0
  70. package/build/_virtual/_baseUnary.js_commonjs-proxy.js +1 -0
  71. package/build/_virtual/_baseUniq.js_commonjs-proxy.js +1 -0
  72. package/build/_virtual/_cacheHas.js_commonjs-proxy.js +1 -0
  73. package/build/_virtual/_castFunction.js_commonjs-proxy.js +1 -0
  74. package/build/_virtual/_castPath.js_commonjs-proxy.js +1 -0
  75. package/build/_virtual/_cloneArrayBuffer.js_commonjs-proxy.js +1 -0
  76. package/build/_virtual/_cloneBuffer.js_commonjs-proxy.js +1 -0
  77. package/build/_virtual/_cloneDataView.js_commonjs-proxy.js +1 -0
  78. package/build/_virtual/_cloneRegExp.js_commonjs-proxy.js +1 -0
  79. package/build/_virtual/_cloneSymbol.js_commonjs-proxy.js +1 -0
  80. package/build/_virtual/_cloneTypedArray.js_commonjs-proxy.js +1 -0
  81. package/build/_virtual/_commonjsHelpers.js +1 -0
  82. package/build/_virtual/_compareAscending.js_commonjs-proxy.js +1 -0
  83. package/build/_virtual/_compareMultiple.js_commonjs-proxy.js +1 -0
  84. package/build/_virtual/_copyArray.js_commonjs-proxy.js +1 -0
  85. package/build/_virtual/_copyObject.js_commonjs-proxy.js +1 -0
  86. package/build/_virtual/_copySymbols.js_commonjs-proxy.js +1 -0
  87. package/build/_virtual/_copySymbolsIn.js_commonjs-proxy.js +1 -0
  88. package/build/_virtual/_coreJsData.js_commonjs-proxy.js +1 -0
  89. package/build/_virtual/_createAggregator.js_commonjs-proxy.js +1 -0
  90. package/build/_virtual/_createBaseEach.js_commonjs-proxy.js +1 -0
  91. package/build/_virtual/_createBaseFor.js_commonjs-proxy.js +1 -0
  92. package/build/_virtual/_createSet.js_commonjs-proxy.js +1 -0
  93. package/build/_virtual/_defineProperty.js_commonjs-proxy.js +1 -0
  94. package/build/_virtual/_equalArrays.js_commonjs-proxy.js +1 -0
  95. package/build/_virtual/_equalByTag.js_commonjs-proxy.js +1 -0
  96. package/build/_virtual/_equalObjects.js_commonjs-proxy.js +1 -0
  97. package/build/_virtual/_freeGlobal.js_commonjs-proxy.js +1 -0
  98. package/build/_virtual/_getAllKeys.js_commonjs-proxy.js +1 -0
  99. package/build/_virtual/_getAllKeysIn.js_commonjs-proxy.js +1 -0
  100. package/build/_virtual/_getMapData.js_commonjs-proxy.js +1 -0
  101. package/build/_virtual/_getMatchData.js_commonjs-proxy.js +1 -0
  102. package/build/_virtual/_getNative.js_commonjs-proxy.js +1 -0
  103. package/build/_virtual/_getPrototype.js_commonjs-proxy.js +1 -0
  104. package/build/_virtual/_getRawTag.js_commonjs-proxy.js +1 -0
  105. package/build/_virtual/_getSymbols.js_commonjs-proxy.js +1 -0
  106. package/build/_virtual/_getSymbolsIn.js_commonjs-proxy.js +1 -0
  107. package/build/_virtual/_getTag.js_commonjs-proxy.js +1 -0
  108. package/build/_virtual/_getValue.js_commonjs-proxy.js +1 -0
  109. package/build/_virtual/_hasPath.js_commonjs-proxy.js +1 -0
  110. package/build/_virtual/_hashClear.js_commonjs-proxy.js +1 -0
  111. package/build/_virtual/_hashDelete.js_commonjs-proxy.js +1 -0
  112. package/build/_virtual/_hashGet.js_commonjs-proxy.js +1 -0
  113. package/build/_virtual/_hashHas.js_commonjs-proxy.js +1 -0
  114. package/build/_virtual/_hashSet.js_commonjs-proxy.js +1 -0
  115. package/build/_virtual/_initCloneArray.js_commonjs-proxy.js +1 -0
  116. package/build/_virtual/_initCloneByTag.js_commonjs-proxy.js +1 -0
  117. package/build/_virtual/_initCloneObject.js_commonjs-proxy.js +1 -0
  118. package/build/_virtual/_isFlattenable.js_commonjs-proxy.js +1 -0
  119. package/build/_virtual/_isIndex.js_commonjs-proxy.js +1 -0
  120. package/build/_virtual/_isIterateeCall.js_commonjs-proxy.js +1 -0
  121. package/build/_virtual/_isKey.js_commonjs-proxy.js +1 -0
  122. package/build/_virtual/_isKeyable.js_commonjs-proxy.js +1 -0
  123. package/build/_virtual/_isMasked.js_commonjs-proxy.js +1 -0
  124. package/build/_virtual/_isPrototype.js_commonjs-proxy.js +1 -0
  125. package/build/_virtual/_isStrictComparable.js_commonjs-proxy.js +1 -0
  126. package/build/_virtual/_listCacheClear.js_commonjs-proxy.js +1 -0
  127. package/build/_virtual/_listCacheDelete.js_commonjs-proxy.js +1 -0
  128. package/build/_virtual/_listCacheGet.js_commonjs-proxy.js +1 -0
  129. package/build/_virtual/_listCacheHas.js_commonjs-proxy.js +1 -0
  130. package/build/_virtual/_listCacheSet.js_commonjs-proxy.js +1 -0
  131. package/build/_virtual/_mapCacheClear.js_commonjs-proxy.js +1 -0
  132. package/build/_virtual/_mapCacheDelete.js_commonjs-proxy.js +1 -0
  133. package/build/_virtual/_mapCacheGet.js_commonjs-proxy.js +1 -0
  134. package/build/_virtual/_mapCacheHas.js_commonjs-proxy.js +1 -0
  135. package/build/_virtual/_mapCacheSet.js_commonjs-proxy.js +1 -0
  136. package/build/_virtual/_mapToArray.js_commonjs-proxy.js +1 -0
  137. package/build/_virtual/_matchesStrictComparable.js_commonjs-proxy.js +1 -0
  138. package/build/_virtual/_memoizeCapped.js_commonjs-proxy.js +1 -0
  139. package/build/_virtual/_nativeCreate.js_commonjs-proxy.js +1 -0
  140. package/build/_virtual/_nativeKeys.js_commonjs-proxy.js +1 -0
  141. package/build/_virtual/_nativeKeysIn.js_commonjs-proxy.js +1 -0
  142. package/build/_virtual/_nodeUtil.js_commonjs-proxy.js +1 -0
  143. package/build/_virtual/_objectToString.js_commonjs-proxy.js +1 -0
  144. package/build/_virtual/_overArg.js_commonjs-proxy.js +1 -0
  145. package/build/_virtual/_overRest.js_commonjs-proxy.js +1 -0
  146. package/build/_virtual/_registry.js_commonjs-proxy.js +1 -0
  147. package/build/_virtual/_root.js_commonjs-proxy.js +1 -0
  148. package/build/_virtual/_setCacheAdd.js_commonjs-proxy.js +1 -0
  149. package/build/_virtual/_setCacheHas.js_commonjs-proxy.js +1 -0
  150. package/build/_virtual/_setToArray.js_commonjs-proxy.js +1 -0
  151. package/build/_virtual/_setToString.js_commonjs-proxy.js +1 -0
  152. package/build/_virtual/_shortOut.js_commonjs-proxy.js +1 -0
  153. package/build/_virtual/_stackClear.js_commonjs-proxy.js +1 -0
  154. package/build/_virtual/_stackDelete.js_commonjs-proxy.js +1 -0
  155. package/build/_virtual/_stackGet.js_commonjs-proxy.js +1 -0
  156. package/build/_virtual/_stackHas.js_commonjs-proxy.js +1 -0
  157. package/build/_virtual/_stackSet.js_commonjs-proxy.js +1 -0
  158. package/build/_virtual/_stream_duplex.js_commonjs-proxy.js +1 -0
  159. package/build/_virtual/_stream_passthrough.js_commonjs-proxy.js +1 -0
  160. package/build/_virtual/_stream_readable.js_commonjs-proxy.js +1 -0
  161. package/build/_virtual/_stream_transform.js_commonjs-proxy.js +1 -0
  162. package/build/_virtual/_stream_writable.js_commonjs-proxy.js +1 -0
  163. package/build/_virtual/_strictIndexOf.js_commonjs-proxy.js +1 -0
  164. package/build/_virtual/_stringToPath.js_commonjs-proxy.js +1 -0
  165. package/build/_virtual/_toKey.js_commonjs-proxy.js +1 -0
  166. package/build/_virtual/_toSource.js_commonjs-proxy.js +1 -0
  167. package/build/_virtual/async_iterator.js_commonjs-proxy.js +1 -0
  168. package/build/_virtual/attributes-to-props.js_commonjs-proxy.js +1 -0
  169. package/build/_virtual/buffer_list.js_commonjs-proxy.js +1 -0
  170. package/build/_virtual/checkPropTypes.js_commonjs-proxy.js +1 -0
  171. package/build/_virtual/constant.js_commonjs-proxy.js +1 -0
  172. package/build/_virtual/decode_codepoint.js_commonjs-proxy.js +1 -0
  173. package/build/_virtual/destroy.js_commonjs-proxy.js +1 -0
  174. package/build/_virtual/dom-to-react.js_commonjs-proxy.js +1 -0
  175. package/build/_virtual/end-of-stream.js_commonjs-proxy.js +1 -0
  176. package/build/_virtual/eq.js_commonjs-proxy.js +1 -0
  177. package/build/_virtual/errors.js_commonjs-proxy.js +1 -0
  178. package/build/_virtual/factoryWithThrowingShims.js_commonjs-proxy.js +1 -0
  179. package/build/_virtual/factoryWithTypeCheckers.js_commonjs-proxy.js +1 -0
  180. package/build/_virtual/from.js_commonjs-proxy.js +1 -0
  181. package/build/_virtual/get.js_commonjs-proxy.js +1 -0
  182. package/build/_virtual/hasIn.js_commonjs-proxy.js +1 -0
  183. package/build/_virtual/html-to-dom.js_commonjs-proxy.js +1 -0
  184. package/build/_virtual/identity.js_commonjs-proxy.js +1 -0
  185. package/build/_virtual/index.js_commonjs-proxy.js +1 -0
  186. package/build/_virtual/index.js_commonjs-proxy10.js +1 -0
  187. package/build/_virtual/index.js_commonjs-proxy11.js +1 -0
  188. package/build/_virtual/index.js_commonjs-proxy12.js +1 -0
  189. package/build/_virtual/index.js_commonjs-proxy13.js +1 -0
  190. package/build/_virtual/index.js_commonjs-proxy2.js +1 -0
  191. package/build/_virtual/index.js_commonjs-proxy3.js +1 -0
  192. package/build/_virtual/index.js_commonjs-proxy4.js +1 -0
  193. package/build/_virtual/index.js_commonjs-proxy5.js +1 -0
  194. package/build/_virtual/index.js_commonjs-proxy6.js +1 -0
  195. package/build/_virtual/index.js_commonjs-proxy7.js +1 -0
  196. package/build/_virtual/index.js_commonjs-proxy8.js +1 -0
  197. package/build/_virtual/index.js_commonjs-proxy9.js +1 -0
  198. package/build/_virtual/inherits.js_commonjs-proxy.js +1 -0
  199. package/build/_virtual/inherits_browser.js_commonjs-proxy.js +1 -0
  200. package/build/_virtual/isArguments.js_commonjs-proxy.js +1 -0
  201. package/build/_virtual/isArray.js_commonjs-proxy.js +1 -0
  202. package/build/_virtual/isArrayLike.js_commonjs-proxy.js +1 -0
  203. package/build/_virtual/isBuffer.js_commonjs-proxy.js +1 -0
  204. package/build/_virtual/isFunction.js_commonjs-proxy.js +1 -0
  205. package/build/_virtual/isLength.js_commonjs-proxy.js +1 -0
  206. package/build/_virtual/isMap.js_commonjs-proxy.js +1 -0
  207. package/build/_virtual/isObject.js_commonjs-proxy.js +1 -0
  208. package/build/_virtual/isObjectLike.js_commonjs-proxy.js +1 -0
  209. package/build/_virtual/isSet.js_commonjs-proxy.js +1 -0
  210. package/build/_virtual/isSymbol.js_commonjs-proxy.js +1 -0
  211. package/build/_virtual/isTypedArray.js_commonjs-proxy.js +1 -0
  212. package/build/_virtual/keys.js_commonjs-proxy.js +1 -0
  213. package/build/_virtual/keysIn.js_commonjs-proxy.js +1 -0
  214. package/build/_virtual/memoize.js_commonjs-proxy.js +1 -0
  215. package/build/_virtual/node.js_commonjs-proxy.js +1 -0
  216. package/build/_virtual/node.js_commonjs-proxy2.js +1 -0
  217. package/build/_virtual/noop.js_commonjs-proxy.js +1 -0
  218. package/build/_virtual/now.js_commonjs-proxy.js +1 -0
  219. package/build/_virtual/parser.mjs_commonjs-proxy.js +1 -0
  220. package/build/_virtual/pipeline.js_commonjs-proxy.js +1 -0
  221. package/build/_virtual/possibleStandardNamesOptimized.js_commonjs-proxy.js +1 -0
  222. package/build/_virtual/property.js_commonjs-proxy.js +1 -0
  223. package/build/_virtual/react-is.development.js_commonjs-proxy.js +1 -0
  224. package/build/_virtual/react-is.production.min.js_commonjs-proxy.js +1 -0
  225. package/build/_virtual/readable.js_commonjs-proxy.js +1 -0
  226. package/build/_virtual/state.js_commonjs-proxy.js +1 -0
  227. package/build/_virtual/stream.js_commonjs-proxy.js +1 -0
  228. package/build/_virtual/string_decoder.js_commonjs-proxy.js +1 -0
  229. package/build/_virtual/stubArray.js_commonjs-proxy.js +1 -0
  230. package/build/_virtual/stubFalse.js_commonjs-proxy.js +1 -0
  231. package/build/_virtual/toNumber.js_commonjs-proxy.js +1 -0
  232. package/build/_virtual/toString.js_commonjs-proxy.js +1 -0
  233. package/build/_virtual/utilities.js_commonjs-proxy.js +1 -0
  234. package/build/_virtual/utilities.js_commonjs-proxy2.js +1 -0
  235. package/build/_virtual/utilities.js_commonjs-proxy3.js +1 -0
  236. package/build/analytics/analytics.d.ts +37 -0
  237. package/build/analytics/analytics.js +1 -0
  238. package/build/analytics/events.d.ts +36 -0
  239. package/build/analytics/events.js +1 -0
  240. package/build/analytics/facebookPixel.d.ts +15 -0
  241. package/build/analytics/facebookPixel.js +1 -0
  242. package/build/analytics/googleTagManager.d.ts +201 -0
  243. package/build/analytics/googleTagManager.js +1 -0
  244. package/build/analytics/head/index.d.ts +7 -0
  245. package/build/analytics/head/index.js +1 -0
  246. package/build/analytics/ikas.d.ts +133 -0
  247. package/build/analytics/ikas.js +1 -0
  248. package/build/analytics/index.d.ts +2 -0
  249. package/build/api/apollo.d.ts +10 -0
  250. package/build/api/apollo.js +1 -0
  251. package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
  252. package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
  253. package/build/api/back-in-stock-reminder/index.d.ts +23 -0
  254. package/build/api/back-in-stock-reminder/index.js +1 -0
  255. package/build/api/blog/__generated__/getBlog.d.ts +110 -0
  256. package/build/api/blog/__generated__/listBlog.d.ts +113 -0
  257. package/build/api/blog/__generated__/listBlogCategory.d.ts +65 -0
  258. package/build/api/blog/__generated__/listBlogMetaData.d.ts +57 -0
  259. package/build/api/blog/index.d.ts +32 -0
  260. package/build/api/blog/index.js +1 -0
  261. package/build/api/brand/__generated__/listProductBrand.d.ts +88 -0
  262. package/build/api/brand/index.d.ts +16 -0
  263. package/build/api/brand/index.js +1 -0
  264. package/build/api/cart/__generated__/getCart.d.ts +178 -0
  265. package/build/api/cart/__generated__/saveItemToCart.d.ts +187 -0
  266. package/build/api/cart/index.d.ts +5 -0
  267. package/build/api/cart/index.js +1 -0
  268. package/build/api/category/__generated__/listCategory.d.ts +99 -0
  269. package/build/api/category/__generated__/listCategoryPaths.d.ts +32 -0
  270. package/build/api/category/index.d.ts +18 -0
  271. package/build/api/category/index.js +1 -0
  272. package/build/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +11 -0
  273. package/build/api/checkout/__generated__/checkStocks.d.ts +18 -0
  274. package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
  275. package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
  276. package/build/api/checkout/__generated__/getCheckoutById.d.ts +574 -0
  277. package/build/api/checkout/__generated__/getOrder.d.ts +620 -0
  278. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +34 -0
  279. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +42 -0
  280. package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
  281. package/build/api/checkout/__generated__/saveCheckout.d.ts +11 -0
  282. package/build/api/checkout/index.d.ts +29 -0
  283. package/build/api/checkout/index.js +1 -0
  284. package/build/api/city/__generated__/listCity.d.ts +20 -0
  285. package/build/api/city/index.d.ts +4 -0
  286. package/build/api/city/index.js +1 -0
  287. package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +9 -0
  288. package/build/api/contact-form/index.d.ts +10 -0
  289. package/build/api/contact-form/index.js +1 -0
  290. package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +6 -0
  291. package/build/api/country/__generated__/getMyCountry.d.ts +3 -0
  292. package/build/api/country/__generated__/listCountry.d.ts +41 -0
  293. package/build/api/country/index.d.ts +6 -0
  294. package/build/api/country/index.js +1 -0
  295. package/build/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
  296. package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
  297. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +590 -0
  298. package/build/api/customer/__generated__/customerForgotPassword.d.ts +7 -0
  299. package/build/api/customer/__generated__/customerLogin.d.ts +167 -0
  300. package/build/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
  301. package/build/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
  302. package/build/api/customer/__generated__/customerSocialLogin.d.ts +166 -0
  303. package/build/api/customer/__generated__/getCustomerOrders.d.ts +620 -0
  304. package/build/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
  305. package/build/api/customer/__generated__/getMyCustomer.d.ts +145 -0
  306. package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
  307. package/build/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
  308. package/build/api/customer/__generated__/registerCustomer.d.ts +163 -0
  309. package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
  310. package/build/api/customer/__generated__/saveMyCustomer.d.ts +160 -0
  311. package/build/api/customer/index.d.ts +49 -0
  312. package/build/api/customer/index.js +1 -0
  313. package/build/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
  314. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +53 -0
  315. package/build/api/customer-review/index.d.ts +24 -0
  316. package/build/api/customer-review/index.js +1 -0
  317. package/build/api/district/__generated__/listDistrict.d.ts +16 -0
  318. package/build/api/district/index.d.ts +4 -0
  319. package/build/api/district/index.js +1 -0
  320. package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
  321. package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
  322. package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
  323. package/build/api/favorite-product/index.d.ts +6 -0
  324. package/build/api/favorite-product/index.js +1 -0
  325. package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +38 -0
  326. package/build/api/html-meta-data/index.d.ts +4 -0
  327. package/build/api/html-meta-data/index.js +1 -0
  328. package/build/api/index.d.ts +24 -0
  329. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
  330. package/build/api/merchant/index.d.ts +4 -0
  331. package/build/api/merchant/index.js +1 -0
  332. package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +72 -0
  333. package/build/api/product-attribute/index.d.ts +4 -0
  334. package/build/api/product-campaign/__generated__/getProductCampaigns.d.ts +91 -0
  335. package/build/api/product-campaign/index.d.ts +10 -0
  336. package/build/api/product-campaign/index.js +1 -0
  337. package/build/api/product-option-file/__generated__/getOrderLineFile.d.ts +7 -0
  338. package/build/api/product-option-file/index.d.ts +7 -0
  339. package/build/api/product-option-file/index.js +1 -0
  340. package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +92 -0
  341. package/build/api/product-option-set/index.d.ts +4 -0
  342. package/build/api/product-option-set/index.js +1 -0
  343. package/build/api/product-search/__generated__/getProductFilterData.d.ts +61 -0
  344. package/build/api/product-search/__generated__/searchProducts.d.ts +26 -0
  345. package/build/api/product-search/index.d.ts +20 -0
  346. package/build/api/product-search/index.js +1 -0
  347. package/build/api/raffle/__generated__/getRafflesByCustomerId.d.ts +44 -0
  348. package/build/api/raffle/__generated__/listRaffle.d.ts +85 -0
  349. package/build/api/raffle/__generated__/listRaffleMetaData.d.ts +22 -0
  350. package/build/api/raffle/__generated__/saveRaffleParticipant.d.ts +30 -0
  351. package/build/api/raffle/index.d.ts +24 -0
  352. package/build/api/raffle/index.js +1 -0
  353. package/build/api/state/__generated__/listState.d.ts +19 -0
  354. package/build/api/state/index.d.ts +4 -0
  355. package/build/api/state/index.js +1 -0
  356. package/build/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
  357. package/build/api/stock-location/index.d.ts +4 -0
  358. package/build/api/storefront/__generated__/getStorefront.d.ts +52 -0
  359. package/build/api/storefront/index.d.ts +4 -0
  360. package/build/api/storefront/index.js +1 -0
  361. package/build/api/variant-type/__generated__/listVariantType.d.ts +76 -0
  362. package/build/api/variant-type/index.d.ts +4 -0
  363. package/build/assets/translations/checkout/en.js +1 -0
  364. package/build/assets/translations/checkout/tr.js +1 -0
  365. package/build/components/checkout/components/address-form/index.d.ts +3 -0
  366. package/build/components/checkout/components/address-form/index.js +1 -0
  367. package/build/components/checkout/components/address-form/model.d.ts +131 -0
  368. package/build/components/checkout/components/address-form/model.js +1 -0
  369. package/build/components/checkout/components/button/index.d.ts +12 -0
  370. package/build/components/checkout/components/button/index.js +1 -0
  371. package/build/components/checkout/components/button/style.module.scss.js +1 -0
  372. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
  373. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
  374. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
  375. package/build/components/checkout/components/cart-summary/index.d.ts +8 -0
  376. package/build/components/checkout/components/cart-summary/index.js +1 -0
  377. package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
  378. package/build/components/checkout/components/checkbox/check.d.ts +6 -0
  379. package/build/components/checkout/components/checkbox/check.js +1 -0
  380. package/build/components/checkout/components/checkbox/index.d.ts +10 -0
  381. package/build/components/checkout/components/checkbox/index.js +1 -0
  382. package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
  383. package/build/components/checkout/components/credit-card-form/index.d.ts +7 -0
  384. package/build/components/checkout/components/credit-card-form/index.js +1 -0
  385. package/build/components/checkout/components/credit-card-form/model.d.ts +26 -0
  386. package/build/components/checkout/components/credit-card-form/model.js +1 -0
  387. package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
  388. package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
  389. package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
  390. package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
  391. package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
  392. package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
  393. package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
  394. package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
  395. package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
  396. package/build/components/checkout/components/customer-addresses/index.d.ts +15 -0
  397. package/build/components/checkout/components/customer-addresses/index.js +1 -0
  398. package/build/components/checkout/components/customer-addresses/model.d.ts +21 -0
  399. package/build/components/checkout/components/customer-addresses/model.js +1 -0
  400. package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
  401. package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
  402. package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
  403. package/build/components/checkout/components/error/index.d.ts +7 -0
  404. package/build/components/checkout/components/error/index.js +1 -0
  405. package/build/components/checkout/components/error/no-shipping-error/index.d.ts +6 -0
  406. package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
  407. package/build/components/checkout/components/error/payment-error/index.d.ts +8 -0
  408. package/build/components/checkout/components/error/payment-error/index.js +1 -0
  409. package/build/components/checkout/components/error/stock-error/index.d.ts +8 -0
  410. package/build/components/checkout/components/error/stock-error/index.js +1 -0
  411. package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
  412. package/build/components/checkout/components/error/unknown-error/index.d.ts +6 -0
  413. package/build/components/checkout/components/error/unknown-error/index.js +1 -0
  414. package/build/components/checkout/components/expandable-section/index.d.ts +6 -0
  415. package/build/components/checkout/components/expandable-section/index.js +1 -0
  416. package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
  417. package/build/components/checkout/components/form-item/caret-down.d.ts +6 -0
  418. package/build/components/checkout/components/form-item/caret-down.js +1 -0
  419. package/build/components/checkout/components/form-item/index.d.ts +3 -0
  420. package/build/components/checkout/components/form-item/index.js +1 -0
  421. package/build/components/checkout/components/form-item/model.d.ts +59 -0
  422. package/build/components/checkout/components/form-item/model.js +1 -0
  423. package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
  424. package/build/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
  425. package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
  426. package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
  427. package/build/components/checkout/components/input-with-button/index.d.ts +11 -0
  428. package/build/components/checkout/components/input-with-button/index.js +1 -0
  429. package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
  430. package/build/components/checkout/components/modal/index.d.ts +8 -0
  431. package/build/components/checkout/components/modal/index.js +1 -0
  432. package/build/components/checkout/components/modal/style.module.scss.js +1 -0
  433. package/build/components/checkout/components/notification-box/index.d.ts +9 -0
  434. package/build/components/checkout/components/notification-box/index.js +1 -0
  435. package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
  436. package/build/components/checkout/components/select-box/index.d.ts +13 -0
  437. package/build/components/checkout/components/select-box/index.js +1 -0
  438. package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
  439. package/build/components/checkout/components/step-container/index.d.ts +15 -0
  440. package/build/components/checkout/components/step-container/index.js +1 -0
  441. package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
  442. package/build/components/checkout/components/svg/arrow-down.d.ts +6 -0
  443. package/build/components/checkout/components/svg/arrow-down.js +1 -0
  444. package/build/components/checkout/components/svg/arrow-left.d.ts +6 -0
  445. package/build/components/checkout/components/svg/arrow-right.d.ts +6 -0
  446. package/build/components/checkout/components/svg/cross.d.ts +6 -0
  447. package/build/components/checkout/components/svg/cross.js +1 -0
  448. package/build/components/checkout/components/svg/discount.d.ts +6 -0
  449. package/build/components/checkout/components/svg/external.d.ts +6 -0
  450. package/build/components/checkout/components/svg/external.js +1 -0
  451. package/build/components/checkout/components/svg/gift.d.ts +7 -0
  452. package/build/components/checkout/components/svg/gift.js +1 -0
  453. package/build/components/checkout/components/svg/ikas.d.ts +6 -0
  454. package/build/components/checkout/components/svg/ikas.js +1 -0
  455. package/build/components/checkout/components/svg/lock.d.ts +6 -0
  456. package/build/components/checkout/components/svg/lock.js +1 -0
  457. package/build/components/checkout/components/svg/shopping-cart.d.ts +6 -0
  458. package/build/components/checkout/components/svg/success-circle.d.ts +6 -0
  459. package/build/components/checkout/components/svg/success-circle.js +1 -0
  460. package/build/components/checkout/components/svg/tag.d.ts +6 -0
  461. package/build/components/checkout/components/svg/warning.d.ts +6 -0
  462. package/build/components/checkout/components/svg/warning.js +1 -0
  463. package/build/components/checkout/components/toggle/index.d.ts +10 -0
  464. package/build/components/checkout/components/toggle/index.js +1 -0
  465. package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
  466. package/build/components/checkout/components/tooltip/index.d.ts +8 -0
  467. package/build/components/checkout/components/tooltip/index.js +1 -0
  468. package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
  469. package/build/components/checkout/index.d.ts +32 -0
  470. package/build/components/checkout/index.js +1 -0
  471. package/build/components/checkout/model.d.ts +122 -0
  472. package/build/components/checkout/model.js +1 -0
  473. package/build/components/checkout/steps/step-info/index.d.ts +7 -0
  474. package/build/components/checkout/steps/step-info/index.js +1 -0
  475. package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
  476. package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
  477. package/build/components/checkout/steps/step-payment/index.d.ts +7 -0
  478. package/build/components/checkout/steps/step-payment/index.js +1 -0
  479. package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
  480. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
  481. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
  482. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
  483. package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
  484. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
  485. package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
  486. package/build/components/checkout/steps/step-shipping/index.d.ts +7 -0
  487. package/build/components/checkout/steps/step-shipping/index.js +1 -0
  488. package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
  489. package/build/components/checkout/steps/step-success/index.d.ts +7 -0
  490. package/build/components/checkout/steps/step-success/index.js +1 -0
  491. package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
  492. package/build/components/checkout/style.module.scss.js +1 -0
  493. package/build/components/checkout/styles/common.module.scss.js +1 -0
  494. package/build/components/image/index.d.ts +36 -0
  495. package/build/components/image/index.js +1 -0
  496. package/build/components/index.d.ts +4 -0
  497. package/build/components/page/ThemeComponent.d.ts +21 -0
  498. package/build/components/page/ThemeComponent.js +1 -0
  499. package/build/components/page/head.d.ts +12 -0
  500. package/build/components/page/head.js +1 -0
  501. package/build/components/page/index.d.ts +18 -0
  502. package/build/components/page/index.js +1 -0
  503. package/build/components/page-editor/ThemeComponentEditor.d.ts +32 -0
  504. package/build/components/page-editor/ThemeComponentEditor.js +1 -0
  505. package/build/components/page-editor/error/index.d.ts +5 -0
  506. package/build/components/page-editor/error/index.js +1 -0
  507. package/build/components/page-editor/index.d.ts +4 -0
  508. package/build/components/page-editor/index.js +1 -0
  509. package/build/components/page-editor/loader/index.d.ts +6 -0
  510. package/build/components/page-editor/loader/index.js +1 -0
  511. package/build/components/page-editor/loader/style.module.scss.js +1 -0
  512. package/build/components/page-editor/model.d.ts +75 -0
  513. package/build/components/page-editor/model.js +1 -0
  514. package/build/ext/@apollo/client/cache/core/cache.js +1 -0
  515. package/build/ext/@apollo/client/cache/core/types/common.js +1 -0
  516. package/build/ext/@apollo/client/cache/inmemory/entityStore.js +1 -0
  517. package/build/ext/@apollo/client/cache/inmemory/helpers.js +1 -0
  518. package/build/ext/@apollo/client/cache/inmemory/inMemoryCache.js +1 -0
  519. package/build/ext/@apollo/client/cache/inmemory/policies.js +1 -0
  520. package/build/ext/@apollo/client/cache/inmemory/reactiveVars.js +1 -0
  521. package/build/ext/@apollo/client/cache/inmemory/readFromStore.js +1 -0
  522. package/build/ext/@apollo/client/cache/inmemory/writeToStore.js +1 -0
  523. package/build/ext/@apollo/client/core/ApolloClient.js +1 -0
  524. package/build/ext/@apollo/client/core/LocalState.js +1 -0
  525. package/build/ext/@apollo/client/core/ObservableQuery.js +1 -0
  526. package/build/ext/@apollo/client/core/QueryInfo.js +1 -0
  527. package/build/ext/@apollo/client/core/QueryManager.js +1 -0
  528. package/build/ext/@apollo/client/core/Reobserver.js +1 -0
  529. package/build/ext/@apollo/client/core/networkStatus.js +1 -0
  530. package/build/ext/@apollo/client/errors/index.js +1 -0
  531. package/build/ext/@apollo/client/ext/tslib/tslib.es6.js +15 -0
  532. package/build/ext/@apollo/client/link/context/index.js +1 -0
  533. package/build/ext/@apollo/client/link/core/ApolloLink.js +1 -0
  534. package/build/ext/@apollo/client/link/core/execute.js +1 -0
  535. package/build/ext/@apollo/client/link/error/index.js +1 -0
  536. package/build/ext/@apollo/client/link/http/HttpLink.js +1 -0
  537. package/build/ext/@apollo/client/link/http/checkFetcher.js +1 -0
  538. package/build/ext/@apollo/client/link/http/createHttpLink.js +1 -0
  539. package/build/ext/@apollo/client/link/http/createSignalIfSupported.js +1 -0
  540. package/build/ext/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -0
  541. package/build/ext/@apollo/client/link/http/rewriteURIForGET.js +1 -0
  542. package/build/ext/@apollo/client/link/http/selectHttpOptionsAndBody.js +1 -0
  543. package/build/ext/@apollo/client/link/http/selectURI.js +1 -0
  544. package/build/ext/@apollo/client/link/http/serializeFetchParameter.js +1 -0
  545. package/build/ext/@apollo/client/link/utils/createOperation.js +1 -0
  546. package/build/ext/@apollo/client/link/utils/fromError.js +1 -0
  547. package/build/ext/@apollo/client/link/utils/throwServerError.js +1 -0
  548. package/build/ext/@apollo/client/link/utils/transformOperation.js +1 -0
  549. package/build/ext/@apollo/client/link/utils/validateOperation.js +1 -0
  550. package/build/ext/@apollo/client/utilities/common/arrays.js +1 -0
  551. package/build/ext/@apollo/client/utilities/common/canUse.js +1 -0
  552. package/build/ext/@apollo/client/utilities/common/cloneDeep.js +1 -0
  553. package/build/ext/@apollo/client/utilities/common/compact.js +1 -0
  554. package/build/ext/@apollo/client/utilities/common/environment.js +1 -0
  555. package/build/ext/@apollo/client/utilities/common/errorHandling.js +1 -0
  556. package/build/ext/@apollo/client/utilities/common/filterInPlace.js +1 -0
  557. package/build/ext/@apollo/client/utilities/common/maybeDeepFreeze.js +1 -0
  558. package/build/ext/@apollo/client/utilities/common/mergeDeep.js +1 -0
  559. package/build/ext/@apollo/client/utilities/graphql/directives.js +1 -0
  560. package/build/ext/@apollo/client/utilities/graphql/fragments.js +1 -0
  561. package/build/ext/@apollo/client/utilities/graphql/getFromAST.js +1 -0
  562. package/build/ext/@apollo/client/utilities/graphql/storeUtils.js +1 -0
  563. package/build/ext/@apollo/client/utilities/graphql/transform.js +1 -0
  564. package/build/ext/@apollo/client/utilities/observables/Concast.js +1 -0
  565. package/build/ext/@apollo/client/utilities/observables/Observable.js +1 -0
  566. package/build/ext/@apollo/client/utilities/observables/asyncMap.js +1 -0
  567. package/build/ext/@apollo/client/utilities/observables/iteration.js +1 -0
  568. package/build/ext/@apollo/client/version.js +1 -0
  569. package/build/ext/@ikas/react-phone-number-input/locale/en.json.js +1 -0
  570. package/build/ext/@ikas/react-phone-number-input/min/index.js +1 -0
  571. package/build/ext/@ikas/react-phone-number-input/modules/CountryIcon.js +1 -0
  572. package/build/ext/@ikas/react-phone-number-input/modules/CountrySelect.js +1 -0
  573. package/build/ext/@ikas/react-phone-number-input/modules/Flag.js +1 -0
  574. package/build/ext/@ikas/react-phone-number-input/modules/InputBasic.js +1 -0
  575. package/build/ext/@ikas/react-phone-number-input/modules/InputSmart.js +1 -0
  576. package/build/ext/@ikas/react-phone-number-input/modules/InternationalIcon.js +1 -0
  577. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountry.js +1 -0
  578. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +1 -0
  579. package/build/ext/@ikas/react-phone-number-input/modules/PropTypes.js +1 -0
  580. package/build/ext/@ikas/react-phone-number-input/modules/helpers/countries.js +1 -0
  581. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getInternationalPhoneNumberPrefix.js +1 -0
  582. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js +1 -0
  583. package/build/ext/@ikas/react-phone-number-input/modules/helpers/inputValuePrefix.js +1 -0
  584. package/build/ext/@ikas/react-phone-number-input/modules/helpers/phoneInputHelpers.js +1 -0
  585. package/build/ext/@ungap/global-this/esm/index.js +1 -0
  586. package/build/ext/@wry/context/lib/context.esm.js +1 -0
  587. package/build/ext/@wry/equality/lib/equality.esm.js +1 -0
  588. package/build/ext/@wry/trie/lib/trie.esm.js +1 -0
  589. package/build/ext/classnames/index.js +6 -0
  590. package/build/ext/country-flag-icons/modules/unicode.js +1 -0
  591. package/build/ext/decode-uri-component/index.js +1 -0
  592. package/build/ext/domhandler/ext/domelementtype/lib/index.js +1 -0
  593. package/build/ext/domhandler/lib/index.js +1 -0
  594. package/build/ext/domhandler/lib/node.js +1 -0
  595. package/build/ext/entities/lib/decode_codepoint.js +1 -0
  596. package/build/ext/entities/lib/maps/decode.json.js +1 -0
  597. package/build/ext/entities/lib/maps/entities.json.js +1 -0
  598. package/build/ext/entities/lib/maps/legacy.json.js +1 -0
  599. package/build/ext/entities/lib/maps/xml.json.js +1 -0
  600. package/build/ext/fast-json-stable-stringify/index.js +1 -0
  601. package/build/ext/graphql/error/GraphQLError.mjs.js +1 -0
  602. package/build/ext/graphql/error/syntaxError.mjs.js +1 -0
  603. package/build/ext/graphql/jsutils/defineInspect.mjs.js +1 -0
  604. package/build/ext/graphql/jsutils/devAssert.mjs.js +1 -0
  605. package/build/ext/graphql/jsutils/inspect.mjs.js +1 -0
  606. package/build/ext/graphql/jsutils/instanceOf.mjs.js +1 -0
  607. package/build/ext/graphql/jsutils/invariant.mjs.js +1 -0
  608. package/build/ext/graphql/jsutils/isObjectLike.mjs.js +1 -0
  609. package/build/ext/graphql/jsutils/nodejsCustomInspectSymbol.mjs.js +1 -0
  610. package/build/ext/graphql/language/ast.mjs.js +1 -0
  611. package/build/ext/graphql/language/blockString.mjs.js +1 -0
  612. package/build/ext/graphql/language/directiveLocation.mjs.js +1 -0
  613. package/build/ext/graphql/language/kinds.mjs.js +1 -0
  614. package/build/ext/graphql/language/lexer.mjs.js +1 -0
  615. package/build/ext/graphql/language/location.mjs.js +1 -0
  616. package/build/ext/graphql/language/parser.mjs.js +1 -0
  617. package/build/ext/graphql/language/printLocation.mjs.js +1 -0
  618. package/build/ext/graphql/language/printer.mjs.js +1 -0
  619. package/build/ext/graphql/language/source.mjs.js +1 -0
  620. package/build/ext/graphql/language/tokenKind.mjs.js +1 -0
  621. package/build/ext/graphql/language/visitor.mjs.js +1 -0
  622. package/build/ext/graphql/polyfills/symbols.mjs.js +1 -0
  623. package/build/ext/graphql-tag/src/index.js +1 -0
  624. package/build/ext/html-dom-parser/index.js +1 -0
  625. package/build/ext/html-dom-parser/lib/server/html-to-dom.js +1 -0
  626. package/build/ext/html-dom-parser/lib/server/utilities.js +1 -0
  627. package/build/ext/html-react-parser/index.js +1 -0
  628. package/build/ext/html-react-parser/index.mjs.js +1 -0
  629. package/build/ext/html-react-parser/lib/attributes-to-props.js +1 -0
  630. package/build/ext/html-react-parser/lib/dom-to-react.js +1 -0
  631. package/build/ext/html-react-parser/lib/utilities.js +1 -0
  632. package/build/ext/htmlparser2/lib/Parser.js +1 -0
  633. package/build/ext/htmlparser2/lib/Tokenizer.js +1 -0
  634. package/build/ext/inherits/inherits.js +1 -0
  635. package/build/ext/inherits/inherits_browser.js +1 -0
  636. package/build/ext/inline-style-parser/index.js +1 -0
  637. package/build/ext/input-format/modules/closeBraces.js +1 -0
  638. package/build/ext/input-format/modules/dom.js +1 -0
  639. package/build/ext/input-format/modules/edit.js +1 -0
  640. package/build/ext/input-format/modules/format.js +1 -0
  641. package/build/ext/input-format/modules/helpers.js +1 -0
  642. package/build/ext/input-format/modules/inputControl.js +1 -0
  643. package/build/ext/input-format/modules/parse.js +1 -0
  644. package/build/ext/input-format/modules/react/Input.js +1 -0
  645. package/build/ext/input-format/modules/templateFormatter.js +1 -0
  646. package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
  647. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
  648. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
  649. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
  650. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
  651. package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
  652. package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
  653. package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
  654. package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
  655. package/build/ext/libphonenumber-js/es6/constants.js +1 -0
  656. package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
  657. package/build/ext/libphonenumber-js/es6/format_.js +1 -0
  658. package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
  659. package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
  660. package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
  661. package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
  662. package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
  663. package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
  664. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
  665. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
  666. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
  667. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
  668. package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
  669. package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
  670. package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
  671. package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
  672. package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
  673. package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
  674. package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
  675. package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
  676. package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
  677. package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
  678. package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
  679. package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
  680. package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
  681. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
  682. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
  683. package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
  684. package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
  685. package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
  686. package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
  687. package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
  688. package/build/ext/lodash/_DataView.js +1 -0
  689. package/build/ext/lodash/_Hash.js +1 -0
  690. package/build/ext/lodash/_ListCache.js +1 -0
  691. package/build/ext/lodash/_Map.js +1 -0
  692. package/build/ext/lodash/_MapCache.js +1 -0
  693. package/build/ext/lodash/_Promise.js +1 -0
  694. package/build/ext/lodash/_Set.js +1 -0
  695. package/build/ext/lodash/_SetCache.js +1 -0
  696. package/build/ext/lodash/_Stack.js +1 -0
  697. package/build/ext/lodash/_Symbol.js +1 -0
  698. package/build/ext/lodash/_Uint8Array.js +1 -0
  699. package/build/ext/lodash/_WeakMap.js +1 -0
  700. package/build/ext/lodash/_apply.js +1 -0
  701. package/build/ext/lodash/_arrayAggregator.js +1 -0
  702. package/build/ext/lodash/_arrayEach.js +1 -0
  703. package/build/ext/lodash/_arrayFilter.js +1 -0
  704. package/build/ext/lodash/_arrayIncludes.js +1 -0
  705. package/build/ext/lodash/_arrayIncludesWith.js +1 -0
  706. package/build/ext/lodash/_arrayLikeKeys.js +1 -0
  707. package/build/ext/lodash/_arrayMap.js +1 -0
  708. package/build/ext/lodash/_arrayPush.js +1 -0
  709. package/build/ext/lodash/_arraySome.js +1 -0
  710. package/build/ext/lodash/_assignValue.js +1 -0
  711. package/build/ext/lodash/_assocIndexOf.js +1 -0
  712. package/build/ext/lodash/_baseAggregator.js +1 -0
  713. package/build/ext/lodash/_baseAssign.js +1 -0
  714. package/build/ext/lodash/_baseAssignIn.js +1 -0
  715. package/build/ext/lodash/_baseAssignValue.js +1 -0
  716. package/build/ext/lodash/_baseClone.js +1 -0
  717. package/build/ext/lodash/_baseCreate.js +1 -0
  718. package/build/ext/lodash/_baseEach.js +1 -0
  719. package/build/ext/lodash/_baseFindIndex.js +1 -0
  720. package/build/ext/lodash/_baseFlatten.js +1 -0
  721. package/build/ext/lodash/_baseFor.js +1 -0
  722. package/build/ext/lodash/_baseForOwn.js +1 -0
  723. package/build/ext/lodash/_baseGet.js +1 -0
  724. package/build/ext/lodash/_baseGetAllKeys.js +1 -0
  725. package/build/ext/lodash/_baseGetTag.js +1 -0
  726. package/build/ext/lodash/_baseHasIn.js +1 -0
  727. package/build/ext/lodash/_baseIndexOf.js +1 -0
  728. package/build/ext/lodash/_baseIsArguments.js +1 -0
  729. package/build/ext/lodash/_baseIsEqual.js +1 -0
  730. package/build/ext/lodash/_baseIsEqualDeep.js +1 -0
  731. package/build/ext/lodash/_baseIsMap.js +1 -0
  732. package/build/ext/lodash/_baseIsMatch.js +1 -0
  733. package/build/ext/lodash/_baseIsNaN.js +1 -0
  734. package/build/ext/lodash/_baseIsNative.js +1 -0
  735. package/build/ext/lodash/_baseIsSet.js +1 -0
  736. package/build/ext/lodash/_baseIsTypedArray.js +1 -0
  737. package/build/ext/lodash/_baseIteratee.js +1 -0
  738. package/build/ext/lodash/_baseKeys.js +1 -0
  739. package/build/ext/lodash/_baseKeysIn.js +1 -0
  740. package/build/ext/lodash/_baseMap.js +1 -0
  741. package/build/ext/lodash/_baseMatches.js +1 -0
  742. package/build/ext/lodash/_baseMatchesProperty.js +1 -0
  743. package/build/ext/lodash/_baseOrderBy.js +1 -0
  744. package/build/ext/lodash/_baseProperty.js +1 -0
  745. package/build/ext/lodash/_basePropertyDeep.js +1 -0
  746. package/build/ext/lodash/_baseRest.js +1 -0
  747. package/build/ext/lodash/_baseSetToString.js +1 -0
  748. package/build/ext/lodash/_baseSortBy.js +1 -0
  749. package/build/ext/lodash/_baseTimes.js +1 -0
  750. package/build/ext/lodash/_baseToString.js +1 -0
  751. package/build/ext/lodash/_baseUnary.js +1 -0
  752. package/build/ext/lodash/_baseUniq.js +1 -0
  753. package/build/ext/lodash/_cacheHas.js +1 -0
  754. package/build/ext/lodash/_castFunction.js +1 -0
  755. package/build/ext/lodash/_castPath.js +1 -0
  756. package/build/ext/lodash/_cloneArrayBuffer.js +1 -0
  757. package/build/ext/lodash/_cloneBuffer.js +1 -0
  758. package/build/ext/lodash/_cloneDataView.js +1 -0
  759. package/build/ext/lodash/_cloneRegExp.js +1 -0
  760. package/build/ext/lodash/_cloneSymbol.js +1 -0
  761. package/build/ext/lodash/_cloneTypedArray.js +1 -0
  762. package/build/ext/lodash/_compareAscending.js +1 -0
  763. package/build/ext/lodash/_compareMultiple.js +1 -0
  764. package/build/ext/lodash/_copyArray.js +1 -0
  765. package/build/ext/lodash/_copyObject.js +1 -0
  766. package/build/ext/lodash/_copySymbols.js +1 -0
  767. package/build/ext/lodash/_copySymbolsIn.js +1 -0
  768. package/build/ext/lodash/_coreJsData.js +1 -0
  769. package/build/ext/lodash/_createAggregator.js +1 -0
  770. package/build/ext/lodash/_createBaseEach.js +1 -0
  771. package/build/ext/lodash/_createBaseFor.js +1 -0
  772. package/build/ext/lodash/_createSet.js +1 -0
  773. package/build/ext/lodash/_defineProperty.js +1 -0
  774. package/build/ext/lodash/_equalArrays.js +1 -0
  775. package/build/ext/lodash/_equalByTag.js +1 -0
  776. package/build/ext/lodash/_equalObjects.js +1 -0
  777. package/build/ext/lodash/_freeGlobal.js +1 -0
  778. package/build/ext/lodash/_getAllKeys.js +1 -0
  779. package/build/ext/lodash/_getAllKeysIn.js +1 -0
  780. package/build/ext/lodash/_getMapData.js +1 -0
  781. package/build/ext/lodash/_getMatchData.js +1 -0
  782. package/build/ext/lodash/_getNative.js +1 -0
  783. package/build/ext/lodash/_getPrototype.js +1 -0
  784. package/build/ext/lodash/_getRawTag.js +1 -0
  785. package/build/ext/lodash/_getSymbols.js +1 -0
  786. package/build/ext/lodash/_getSymbolsIn.js +1 -0
  787. package/build/ext/lodash/_getTag.js +1 -0
  788. package/build/ext/lodash/_getValue.js +1 -0
  789. package/build/ext/lodash/_hasPath.js +1 -0
  790. package/build/ext/lodash/_hashClear.js +1 -0
  791. package/build/ext/lodash/_hashDelete.js +1 -0
  792. package/build/ext/lodash/_hashGet.js +1 -0
  793. package/build/ext/lodash/_hashHas.js +1 -0
  794. package/build/ext/lodash/_hashSet.js +1 -0
  795. package/build/ext/lodash/_initCloneArray.js +1 -0
  796. package/build/ext/lodash/_initCloneByTag.js +1 -0
  797. package/build/ext/lodash/_initCloneObject.js +1 -0
  798. package/build/ext/lodash/_isFlattenable.js +1 -0
  799. package/build/ext/lodash/_isIndex.js +1 -0
  800. package/build/ext/lodash/_isIterateeCall.js +1 -0
  801. package/build/ext/lodash/_isKey.js +1 -0
  802. package/build/ext/lodash/_isKeyable.js +1 -0
  803. package/build/ext/lodash/_isMasked.js +1 -0
  804. package/build/ext/lodash/_isPrototype.js +1 -0
  805. package/build/ext/lodash/_isStrictComparable.js +1 -0
  806. package/build/ext/lodash/_listCacheClear.js +1 -0
  807. package/build/ext/lodash/_listCacheDelete.js +1 -0
  808. package/build/ext/lodash/_listCacheGet.js +1 -0
  809. package/build/ext/lodash/_listCacheHas.js +1 -0
  810. package/build/ext/lodash/_listCacheSet.js +1 -0
  811. package/build/ext/lodash/_mapCacheClear.js +1 -0
  812. package/build/ext/lodash/_mapCacheDelete.js +1 -0
  813. package/build/ext/lodash/_mapCacheGet.js +1 -0
  814. package/build/ext/lodash/_mapCacheHas.js +1 -0
  815. package/build/ext/lodash/_mapCacheSet.js +1 -0
  816. package/build/ext/lodash/_mapToArray.js +1 -0
  817. package/build/ext/lodash/_matchesStrictComparable.js +1 -0
  818. package/build/ext/lodash/_memoizeCapped.js +1 -0
  819. package/build/ext/lodash/_nativeCreate.js +1 -0
  820. package/build/ext/lodash/_nativeKeys.js +1 -0
  821. package/build/ext/lodash/_nativeKeysIn.js +1 -0
  822. package/build/ext/lodash/_nodeUtil.js +1 -0
  823. package/build/ext/lodash/_objectToString.js +1 -0
  824. package/build/ext/lodash/_overArg.js +1 -0
  825. package/build/ext/lodash/_overRest.js +1 -0
  826. package/build/ext/lodash/_root.js +1 -0
  827. package/build/ext/lodash/_setCacheAdd.js +1 -0
  828. package/build/ext/lodash/_setCacheHas.js +1 -0
  829. package/build/ext/lodash/_setToArray.js +1 -0
  830. package/build/ext/lodash/_setToString.js +1 -0
  831. package/build/ext/lodash/_shortOut.js +1 -0
  832. package/build/ext/lodash/_stackClear.js +1 -0
  833. package/build/ext/lodash/_stackDelete.js +1 -0
  834. package/build/ext/lodash/_stackGet.js +1 -0
  835. package/build/ext/lodash/_stackHas.js +1 -0
  836. package/build/ext/lodash/_stackSet.js +1 -0
  837. package/build/ext/lodash/_strictIndexOf.js +1 -0
  838. package/build/ext/lodash/_stringToPath.js +1 -0
  839. package/build/ext/lodash/_toKey.js +1 -0
  840. package/build/ext/lodash/_toSource.js +1 -0
  841. package/build/ext/lodash/cloneDeep.js +1 -0
  842. package/build/ext/lodash/constant.js +1 -0
  843. package/build/ext/lodash/debounce.js +1 -0
  844. package/build/ext/lodash/eq.js +1 -0
  845. package/build/ext/lodash/flatten.js +1 -0
  846. package/build/ext/lodash/forEach.js +1 -0
  847. package/build/ext/lodash/get.js +1 -0
  848. package/build/ext/lodash/groupBy.js +1 -0
  849. package/build/ext/lodash/hasIn.js +1 -0
  850. package/build/ext/lodash/identity.js +1 -0
  851. package/build/ext/lodash/isArguments.js +1 -0
  852. package/build/ext/lodash/isArray.js +1 -0
  853. package/build/ext/lodash/isArrayLike.js +1 -0
  854. package/build/ext/lodash/isBuffer.js +1 -0
  855. package/build/ext/lodash/isFunction.js +1 -0
  856. package/build/ext/lodash/isLength.js +1 -0
  857. package/build/ext/lodash/isMap.js +1 -0
  858. package/build/ext/lodash/isObject.js +1 -0
  859. package/build/ext/lodash/isObjectLike.js +1 -0
  860. package/build/ext/lodash/isSet.js +1 -0
  861. package/build/ext/lodash/isSymbol.js +1 -0
  862. package/build/ext/lodash/isTypedArray.js +1 -0
  863. package/build/ext/lodash/keys.js +1 -0
  864. package/build/ext/lodash/keysIn.js +1 -0
  865. package/build/ext/lodash/memoize.js +1 -0
  866. package/build/ext/lodash/noop.js +1 -0
  867. package/build/ext/lodash/now.js +1 -0
  868. package/build/ext/lodash/property.js +1 -0
  869. package/build/ext/lodash/sortBy.js +1 -0
  870. package/build/ext/lodash/stubArray.js +1 -0
  871. package/build/ext/lodash/stubFalse.js +1 -0
  872. package/build/ext/lodash/toNumber.js +1 -0
  873. package/build/ext/lodash/toString.js +1 -0
  874. package/build/ext/lodash/uniq.js +1 -0
  875. package/build/ext/lodash/uniqBy.js +1 -0
  876. package/build/ext/lzutf8/build/production/lzutf8.js +11 -0
  877. package/build/ext/object-assign/index.js +6 -0
  878. package/build/ext/optimism/lib/bundle.esm.js +1 -0
  879. package/build/ext/prop-types/checkPropTypes.js +1 -0
  880. package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
  881. package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
  882. package/build/ext/prop-types/index.js +1 -0
  883. package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
  884. package/build/ext/query-string/index.js +1 -0
  885. package/build/ext/react-is/cjs/react-is.development.js +9 -0
  886. package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
  887. package/build/ext/react-is/index.js +1 -0
  888. package/build/ext/react-property/lib/index.js +1 -0
  889. package/build/ext/react-property/lib/possibleStandardNamesOptimized.js +1 -0
  890. package/build/ext/react-tooltip/dist/index.es.js +1 -0
  891. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/bytesToUuid.js +1 -0
  892. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/rng.js +1 -0
  893. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/v4.js +1 -0
  894. package/build/ext/readable-stream/errors.js +1 -0
  895. package/build/ext/readable-stream/lib/_registry.js +1 -0
  896. package/build/ext/readable-stream/lib/_stream_duplex.js +1 -0
  897. package/build/ext/readable-stream/lib/_stream_passthrough.js +1 -0
  898. package/build/ext/readable-stream/lib/_stream_readable.js +1 -0
  899. package/build/ext/readable-stream/lib/_stream_transform.js +1 -0
  900. package/build/ext/readable-stream/lib/_stream_writable.js +1 -0
  901. package/build/ext/readable-stream/lib/internal/streams/async_iterator.js +1 -0
  902. package/build/ext/readable-stream/lib/internal/streams/buffer_list.js +1 -0
  903. package/build/ext/readable-stream/lib/internal/streams/destroy.js +1 -0
  904. package/build/ext/readable-stream/lib/internal/streams/end-of-stream.js +1 -0
  905. package/build/ext/readable-stream/lib/internal/streams/from.js +1 -0
  906. package/build/ext/readable-stream/lib/internal/streams/pipeline.js +1 -0
  907. package/build/ext/readable-stream/lib/internal/streams/state.js +1 -0
  908. package/build/ext/readable-stream/lib/internal/streams/stream.js +1 -0
  909. package/build/ext/readable-stream/readable.js +1 -0
  910. package/build/ext/safe-buffer/index.js +1 -0
  911. package/build/ext/split-on-first/index.js +1 -0
  912. package/build/ext/strict-uri-encode/index.js +1 -0
  913. package/build/ext/string_decoder/lib/string_decoder.js +1 -0
  914. package/build/ext/style-inject/dist/style-inject.es.js +1 -0
  915. package/build/ext/style-to-js/cjs/index.js +1 -0
  916. package/build/ext/style-to-js/cjs/utilities.js +1 -0
  917. package/build/ext/style-to-object/index.js +1 -0
  918. package/build/ext/symbol-observable/es/index.js +1 -0
  919. package/build/ext/symbol-observable/es/ponyfill.js +1 -0
  920. package/build/ext/ts-invariant/ext/tslib/tslib.es6.js +15 -0
  921. package/build/ext/ts-invariant/lib/invariant.esm.js +1 -0
  922. package/build/ext/tslib/tslib.es6.js +15 -0
  923. package/build/ext/util-deprecate/node.js +1 -0
  924. package/build/ext/uuid/dist/esm-browser/regex.js +1 -0
  925. package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
  926. package/build/ext/uuid/dist/esm-browser/stringify.js +1 -0
  927. package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
  928. package/build/ext/uuid/dist/esm-browser/validate.js +1 -0
  929. package/build/ext/zen-observable/index.js +1 -0
  930. package/build/ext/zen-observable/lib/Observable.js +1 -0
  931. package/build/ikas.js +81 -0
  932. package/build/index.d.ts +9 -0
  933. package/build/index.js +1 -0
  934. package/build/models/data/blog/index.d.ts +67 -0
  935. package/build/models/data/blog/index.js +1 -0
  936. package/build/models/data/brand/index.d.ts +21 -0
  937. package/build/models/data/brand/index.js +1 -0
  938. package/build/models/data/cart/index.d.ts +47 -0
  939. package/build/models/data/cart/index.js +1 -0
  940. package/build/models/data/category/index.d.ts +52 -0
  941. package/build/models/data/category/index.js +1 -0
  942. package/build/models/data/checkout/index.d.ts +103 -0
  943. package/build/models/data/checkout/index.js +1 -0
  944. package/build/models/data/checkout-settings/index.d.ts +25 -0
  945. package/build/models/data/checkout-settings/index.js +1 -0
  946. package/build/models/data/city/index.d.ts +4 -0
  947. package/build/models/data/contact-form/index.d.ts +7 -0
  948. package/build/models/data/contact-form/index.js +1 -0
  949. package/build/models/data/country/index.d.ts +8 -0
  950. package/build/models/data/customer/address/index.d.ts +52 -0
  951. package/build/models/data/customer/address/index.js +1 -0
  952. package/build/models/data/customer/index.d.ts +34 -0
  953. package/build/models/data/customer/index.js +1 -0
  954. package/build/models/data/customer-review/index.d.ts +26 -0
  955. package/build/models/data/customer-review/index.js +1 -0
  956. package/build/models/data/customer-review-settings/index.d.ts +4 -0
  957. package/build/models/data/district/index.d.ts +4 -0
  958. package/build/models/data/favorite-product/index.d.ts +6 -0
  959. package/build/models/data/favorite-product/index.js +1 -0
  960. package/build/models/data/html-meta-data/index.d.ts +23 -0
  961. package/build/models/data/html-meta-data/index.js +1 -0
  962. package/build/models/data/image/index.d.ts +8 -0
  963. package/build/models/data/image/index.js +1 -0
  964. package/build/models/data/index.d.ts +39 -0
  965. package/build/models/data/installment-info/index.d.ts +30 -0
  966. package/build/models/data/installment-info/index.js +1 -0
  967. package/build/models/data/language/index.d.ts +6 -0
  968. package/build/models/data/merchant-settings/index.d.ts +8 -0
  969. package/build/models/data/merchant-settings/index.js +1 -0
  970. package/build/models/data/order/address/index.d.ts +51 -0
  971. package/build/models/data/order/address/index.js +1 -0
  972. package/build/models/data/order/adjustment/index.d.ts +16 -0
  973. package/build/models/data/order/gift-line/index.d.ts +4 -0
  974. package/build/models/data/order/index.d.ts +147 -0
  975. package/build/models/data/order/index.js +1 -0
  976. package/build/models/data/order/line-item/discount/index.d.ts +11 -0
  977. package/build/models/data/order/line-item/discount/index.js +1 -0
  978. package/build/models/data/order/line-item/index.d.ts +42 -0
  979. package/build/models/data/order/line-item/index.js +1 -0
  980. package/build/models/data/order/line-item/options/index.d.ts +11 -0
  981. package/build/models/data/order/line-item/options/index.js +1 -0
  982. package/build/models/data/order/line-item/options/options-value/index.d.ts +6 -0
  983. package/build/models/data/order/line-item/options/options-value/index.js +1 -0
  984. package/build/models/data/order/line-item/variant/index.d.ts +25 -0
  985. package/build/models/data/order/line-item/variant/index.js +1 -0
  986. package/build/models/data/order/refund/index.d.ts +6 -0
  987. package/build/models/data/order/refund/refund-line-item/index.d.ts +5 -0
  988. package/build/models/data/order/refund/settings.d.ts +6 -0
  989. package/build/models/data/order/refund/settings.js +1 -0
  990. package/build/models/data/order/shipping-line/index.d.ts +7 -0
  991. package/build/models/data/order-transaction/index.d.ts +74 -0
  992. package/build/models/data/order-transaction/index.js +1 -0
  993. package/build/models/data/payment-gateway/index.d.ts +61 -0
  994. package/build/models/data/payment-gateway/index.js +1 -0
  995. package/build/models/data/product/attribute-value/index.d.ts +20 -0
  996. package/build/models/data/product/attribute-value/index.js +1 -0
  997. package/build/models/data/product/index.d.ts +35 -0
  998. package/build/models/data/product/index.js +1 -0
  999. package/build/models/data/product/variant/index.d.ts +26 -0
  1000. package/build/models/data/product/variant/index.js +1 -0
  1001. package/build/models/data/product/variant/price/index.d.ts +11 -0
  1002. package/build/models/data/product/variant/price/index.js +1 -0
  1003. package/build/models/data/product/variant-type/index.d.ts +6 -0
  1004. package/build/models/data/product/variant-type/index.js +1 -0
  1005. package/build/models/data/product-attribute/index.d.ts +34 -0
  1006. package/build/models/data/product-attribute/index.js +1 -0
  1007. package/build/models/data/product-attribute/product-attribute-option/index.d.ts +5 -0
  1008. package/build/models/data/product-attribute/product-attribute-option/index.js +1 -0
  1009. package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +5 -0
  1010. package/build/models/data/product-attribute/product-attribute-table-cell/index.js +1 -0
  1011. package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
  1012. package/build/models/data/product-attribute/product-attribute-table-template/index.js +1 -0
  1013. package/build/models/data/product-back-in-stock-settings/index.d.ts +3 -0
  1014. package/build/models/data/product-campaing/campaign/index.d.ts +41 -0
  1015. package/build/models/data/product-campaing/campaign/index.js +1 -0
  1016. package/build/models/data/product-campaing/filter/index.d.ts +13 -0
  1017. package/build/models/data/product-campaing/filter/index.js +1 -0
  1018. package/build/models/data/product-campaing/index.d.ts +6 -0
  1019. package/build/models/data/product-campaing/index.js +1 -0
  1020. package/build/models/data/product-campaing/product-buyx-then-gety/index.d.ts +19 -0
  1021. package/build/models/data/product-campaing/product-buyx-then-gety/index.js +1 -0
  1022. package/build/models/data/product-campaing/product-campaign-date-range-field/index.d.ts +5 -0
  1023. package/build/models/data/product-campaing/product-campaign-date-range-field/index.js +1 -0
  1024. package/build/models/data/product-campaing/product-fixed-discount/index.d.ts +13 -0
  1025. package/build/models/data/product-campaing/product-fixed-discount/index.js +1 -0
  1026. package/build/models/data/product-cart-item-options/index.d.ts +6 -0
  1027. package/build/models/data/product-cart-item-options/index.js +1 -0
  1028. package/build/models/data/product-filter/index.d.ts +109 -0
  1029. package/build/models/data/product-filter/index.js +1 -0
  1030. package/build/models/data/product-option-set/index.d.ts +108 -0
  1031. package/build/models/data/product-option-set/index.js +1 -0
  1032. package/build/models/data/product-tag/index.d.ts +5 -0
  1033. package/build/models/data/product-tag/index.js +1 -0
  1034. package/build/models/data/raffle/index.d.ts +66 -0
  1035. package/build/models/data/raffle/index.js +1 -0
  1036. package/build/models/data/sales-channel/index.d.ts +18 -0
  1037. package/build/models/data/sales-channel/index.js +1 -0
  1038. package/build/models/data/simple-product/index.d.ts +136 -0
  1039. package/build/models/data/slider/index.d.ts +5 -0
  1040. package/build/models/data/slider/index.js +1 -0
  1041. package/build/models/data/state/index.d.ts +5 -0
  1042. package/build/models/data/storefront/domain/index.d.ts +8 -0
  1043. package/build/models/data/storefront/domain/index.js +1 -0
  1044. package/build/models/data/storefront/index.d.ts +23 -0
  1045. package/build/models/data/storefront/index.js +1 -0
  1046. package/build/models/data/storefront/localization/index.d.ts +7 -0
  1047. package/build/models/data/storefront/localization/index.js +1 -0
  1048. package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +5 -0
  1049. package/build/models/data/storefront/routing/dynamic-currency/index.js +1 -0
  1050. package/build/models/data/storefront/routing/index.d.ts +11 -0
  1051. package/build/models/data/storefront/routing/index.js +1 -0
  1052. package/build/models/data/storefront/theme/index.d.ts +13 -0
  1053. package/build/models/data/storefront/theme/index.js +1 -0
  1054. package/build/models/data/storefront/theme-localization/index.d.ts +12 -0
  1055. package/build/models/data/storefront/theme-localization/index.js +1 -0
  1056. package/build/models/data/variant-type/index.d.ts +26 -0
  1057. package/build/models/data/variant-type/index.js +1 -0
  1058. package/build/models/data/variant-type/variant-value/index.d.ts +11 -0
  1059. package/build/models/data/variant-type/variant-value/index.js +1 -0
  1060. package/build/models/index.d.ts +3 -0
  1061. package/build/models/theme/component/index.d.ts +19 -0
  1062. package/build/models/theme/component/index.js +1 -0
  1063. package/build/models/theme/component/prop/index.d.ts +63 -0
  1064. package/build/models/theme/component/prop/index.js +1 -0
  1065. package/build/models/theme/custom-data/index.d.ts +43 -0
  1066. package/build/models/theme/custom-data/index.js +1 -0
  1067. package/build/models/theme/index.d.ts +20 -0
  1068. package/build/models/theme/page/component/index.d.ts +6 -0
  1069. package/build/models/theme/page/component/index.js +1 -0
  1070. package/build/models/theme/page/component/prop-value/attribute-list.d.ts +7 -0
  1071. package/build/models/theme/page/component/prop-value/attribute.d.ts +7 -0
  1072. package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +7 -0
  1073. package/build/models/theme/page/component/prop-value/blog-category-list.js +1 -0
  1074. package/build/models/theme/page/component/prop-value/blog-category.d.ts +5 -0
  1075. package/build/models/theme/page/component/prop-value/blog-category.js +1 -0
  1076. package/build/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
  1077. package/build/models/theme/page/component/prop-value/blog-list.js +1 -0
  1078. package/build/models/theme/page/component/prop-value/blog.d.ts +5 -0
  1079. package/build/models/theme/page/component/prop-value/blog.js +1 -0
  1080. package/build/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
  1081. package/build/models/theme/page/component/prop-value/brand-list.js +1 -0
  1082. package/build/models/theme/page/component/prop-value/brand.d.ts +5 -0
  1083. package/build/models/theme/page/component/prop-value/brand.js +1 -0
  1084. package/build/models/theme/page/component/prop-value/category-list.d.ts +9 -0
  1085. package/build/models/theme/page/component/prop-value/category-list.js +1 -0
  1086. package/build/models/theme/page/component/prop-value/category.d.ts +5 -0
  1087. package/build/models/theme/page/component/prop-value/category.js +1 -0
  1088. package/build/models/theme/page/component/prop-value/link.d.ts +19 -0
  1089. package/build/models/theme/page/component/prop-value/link.js +1 -0
  1090. package/build/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
  1091. package/build/models/theme/page/component/prop-value/product-detail.js +1 -0
  1092. package/build/models/theme/page/component/prop-value/product-list.d.ts +17 -0
  1093. package/build/models/theme/page/component/prop-value/product-list.js +1 -0
  1094. package/build/models/theme/page/component/prop-value/raffle-list.d.ts +5 -0
  1095. package/build/models/theme/page/component/prop-value/raffle-list.js +1 -0
  1096. package/build/models/theme/page/component/prop-value/raffle.d.ts +5 -0
  1097. package/build/models/theme/page/component/prop-value/raffle.js +1 -0
  1098. package/build/models/theme/page/index.d.ts +43 -0
  1099. package/build/models/theme/page/index.js +1 -0
  1100. package/build/models/theme/settings/color/index.d.ts +14 -0
  1101. package/build/models/theme/settings/color/index.js +1 -0
  1102. package/build/models/theme/settings/favicon/index.d.ts +4 -0
  1103. package/build/models/theme/settings/favicon/index.js +1 -0
  1104. package/build/models/theme/settings/font-family/index.d.ts +5 -0
  1105. package/build/models/theme/settings/font-family/index.js +1 -0
  1106. package/build/models/theme/settings/index.d.ts +15 -0
  1107. package/build/models/theme/settings/index.js +1 -0
  1108. package/build/models/theme/theme.d.ts +16 -0
  1109. package/build/models/theme/theme.js +1 -0
  1110. package/build/models/ui/blog-category-list/index.d.ts +52 -0
  1111. package/build/models/ui/blog-category-list/index.js +1 -0
  1112. package/build/models/ui/blog-list/index.d.ts +56 -0
  1113. package/build/models/ui/blog-list/index.js +1 -0
  1114. package/build/models/ui/brand-list/index.d.ts +61 -0
  1115. package/build/models/ui/brand-list/index.js +1 -0
  1116. package/build/models/ui/category-list/index.d.ts +61 -0
  1117. package/build/models/ui/category-list/index.js +1 -0
  1118. package/build/models/ui/component-renderer/index.d.ts +7 -0
  1119. package/build/models/ui/component-renderer/index.js +1 -0
  1120. package/build/models/ui/customer-review-list/index.d.ts +43 -0
  1121. package/build/models/ui/customer-review-list/index.js +1 -0
  1122. package/build/models/ui/index.d.ts +26 -0
  1123. package/build/models/ui/navigation-link/index.d.ts +8 -0
  1124. package/build/models/ui/navigation-link/index.js +1 -0
  1125. package/build/models/ui/product-attribute-detail/index.d.ts +8 -0
  1126. package/build/models/ui/product-attribute-detail/index.js +1 -0
  1127. package/build/models/ui/product-attribute-list/index.d.ts +9 -0
  1128. package/build/models/ui/product-attribute-list/index.js +1 -0
  1129. package/build/models/ui/product-detail/index.d.ts +30 -0
  1130. package/build/models/ui/product-detail/index.js +1 -0
  1131. package/build/models/ui/product-list/index.d.ts +132 -0
  1132. package/build/models/ui/product-list/index.js +1 -0
  1133. package/build/models/ui/raffle-list/index.d.ts +54 -0
  1134. package/build/models/ui/raffle-list/index.js +1 -0
  1135. package/build/models/ui/validator/form/account-info.d.ts +40 -0
  1136. package/build/models/ui/validator/form/account-info.js +1 -0
  1137. package/build/models/ui/validator/form/address.d.ts +75 -0
  1138. package/build/models/ui/validator/form/address.js +1 -0
  1139. package/build/models/ui/validator/form/contact-form.d.ts +45 -0
  1140. package/build/models/ui/validator/form/contact-form.js +1 -0
  1141. package/build/models/ui/validator/form/customer-review.d.ts +37 -0
  1142. package/build/models/ui/validator/form/customer-review.js +1 -0
  1143. package/build/models/ui/validator/form/forgot-password.d.ts +29 -0
  1144. package/build/models/ui/validator/form/forgot-password.js +1 -0
  1145. package/build/models/ui/validator/form/login.d.ts +35 -0
  1146. package/build/models/ui/validator/form/login.js +1 -0
  1147. package/build/models/ui/validator/form/raffle-form.d.ts +60 -0
  1148. package/build/models/ui/validator/form/raffle-form.js +1 -0
  1149. package/build/models/ui/validator/form/recover-password.d.ts +36 -0
  1150. package/build/models/ui/validator/form/recover-password.js +1 -0
  1151. package/build/models/ui/validator/form/register.d.ts +48 -0
  1152. package/build/models/ui/validator/form/register.js +1 -0
  1153. package/build/models/ui/validator/index.d.ts +27 -0
  1154. package/build/models/ui/validator/index.js +1 -0
  1155. package/build/models/ui/validator/rules/index.d.ts +91 -0
  1156. package/build/models/ui/validator/rules/index.js +1 -0
  1157. package/build/pages/404.d.ts +6 -0
  1158. package/build/pages/404.js +1 -0
  1159. package/build/pages/[slug]/index.d.ts +7 -0
  1160. package/build/pages/_slug_/index.js +1 -0
  1161. package/build/pages/account/addresses.d.ts +6 -0
  1162. package/build/pages/account/addresses.js +1 -0
  1163. package/build/pages/account/favorite-products.d.ts +6 -0
  1164. package/build/pages/account/favorite-products.js +1 -0
  1165. package/build/pages/account/forgot-password.d.ts +6 -0
  1166. package/build/pages/account/forgot-password.js +1 -0
  1167. package/build/pages/account/index.d.ts +6 -0
  1168. package/build/pages/account/index.js +1 -0
  1169. package/build/pages/account/login.d.ts +6 -0
  1170. package/build/pages/account/login.js +1 -0
  1171. package/build/pages/account/orders/[id].d.ts +6 -0
  1172. package/build/pages/account/orders/_id_.js +1 -0
  1173. package/build/pages/account/orders/index.d.ts +6 -0
  1174. package/build/pages/account/orders/index.js +1 -0
  1175. package/build/pages/account/raffles.d.ts +6 -0
  1176. package/build/pages/account/raffles.js +1 -0
  1177. package/build/pages/account/recover-password.d.ts +6 -0
  1178. package/build/pages/account/recover-password.js +1 -0
  1179. package/build/pages/account/register.d.ts +6 -0
  1180. package/build/pages/account/register.js +1 -0
  1181. package/build/pages/blog/[slug].d.ts +7 -0
  1182. package/build/pages/blog/_slug_.js +1 -0
  1183. package/build/pages/blog/index.d.ts +6 -0
  1184. package/build/pages/blog/index.js +1 -0
  1185. package/build/pages/cart.d.ts +6 -0
  1186. package/build/pages/cart.js +1 -0
  1187. package/build/pages/checkout.d.ts +18 -0
  1188. package/build/pages/checkout.js +1 -0
  1189. package/build/pages/editor.d.ts +10 -0
  1190. package/build/pages/editor.js +1 -0
  1191. package/build/pages/home.d.ts +6 -0
  1192. package/build/pages/home.js +1 -0
  1193. package/build/pages/index.d.ts +22 -0
  1194. package/build/pages/pages/[slug].d.ts +7 -0
  1195. package/build/pages/pages/_slug_.js +1 -0
  1196. package/build/pages/raffle/[slug].d.ts +7 -0
  1197. package/build/pages/raffle/_slug_.js +1 -0
  1198. package/build/pages/raffle/index.d.ts +6 -0
  1199. package/build/pages/raffle/index.js +1 -0
  1200. package/build/pages/search.d.ts +6 -0
  1201. package/build/pages/search.js +1 -0
  1202. package/build/providers/helpers/raffles.d.ts +2 -0
  1203. package/build/providers/helpers/raffles.js +1 -0
  1204. package/build/providers/page-data-get.d.ts +61 -0
  1205. package/build/providers/page-data-get.js +1 -0
  1206. package/build/providers/page-data-init.d.ts +66 -0
  1207. package/build/providers/page-data-init.js +1 -0
  1208. package/build/providers/page-data-next.d.ts +244 -0
  1209. package/build/providers/page-data-next.js +1 -0
  1210. package/build/providers/placeholders.d.ts +7 -0
  1211. package/build/providers/placeholders.js +1 -0
  1212. package/build/providers/prop-value/attribute-list.d.ts +12 -0
  1213. package/build/providers/prop-value/attribute-list.js +1 -0
  1214. package/build/providers/prop-value/attribute.d.ts +12 -0
  1215. package/build/providers/prop-value/attribute.js +1 -0
  1216. package/build/providers/prop-value/blog-category-list.d.ts +7 -0
  1217. package/build/providers/prop-value/blog-category-list.js +1 -0
  1218. package/build/providers/prop-value/blog-category.d.ts +11 -0
  1219. package/build/providers/prop-value/blog-category.js +1 -0
  1220. package/build/providers/prop-value/blog-list.d.ts +9 -0
  1221. package/build/providers/prop-value/blog-list.js +1 -0
  1222. package/build/providers/prop-value/blog.d.ts +11 -0
  1223. package/build/providers/prop-value/blog.js +1 -0
  1224. package/build/providers/prop-value/boolean.d.ts +6 -0
  1225. package/build/providers/prop-value/boolean.js +1 -0
  1226. package/build/providers/prop-value/brand-list.d.ts +7 -0
  1227. package/build/providers/prop-value/brand-list.js +1 -0
  1228. package/build/providers/prop-value/brand.d.ts +11 -0
  1229. package/build/providers/prop-value/brand.js +1 -0
  1230. package/build/providers/prop-value/category-list.d.ts +7 -0
  1231. package/build/providers/prop-value/category-list.js +1 -0
  1232. package/build/providers/prop-value/category.d.ts +11 -0
  1233. package/build/providers/prop-value/category.js +1 -0
  1234. package/build/providers/prop-value/color.d.ts +6 -0
  1235. package/build/providers/prop-value/color.js +1 -0
  1236. package/build/providers/prop-value/custom.d.ts +45 -0
  1237. package/build/providers/prop-value/custom.js +1 -0
  1238. package/build/providers/prop-value/image-list.d.ts +7 -0
  1239. package/build/providers/prop-value/image-list.js +1 -0
  1240. package/build/providers/prop-value/image.d.ts +7 -0
  1241. package/build/providers/prop-value/image.js +1 -0
  1242. package/build/providers/prop-value/index.d.ts +3 -0
  1243. package/build/providers/prop-value/link.d.ts +16 -0
  1244. package/build/providers/prop-value/link.js +1 -0
  1245. package/build/providers/prop-value/product-detail.d.ts +11 -0
  1246. package/build/providers/prop-value/product-detail.js +1 -0
  1247. package/build/providers/prop-value/product-list.d.ts +9 -0
  1248. package/build/providers/prop-value/product-list.js +1 -0
  1249. package/build/providers/prop-value/raffle-list.d.ts +5 -0
  1250. package/build/providers/prop-value/raffle-list.js +1 -0
  1251. package/build/providers/prop-value/raffle.d.ts +11 -0
  1252. package/build/providers/prop-value/raffle.js +1 -0
  1253. package/build/providers/prop-value/rich-text.d.ts +6 -0
  1254. package/build/providers/prop-value/rich-text.js +1 -0
  1255. package/build/providers/prop-value/slider.d.ts +11 -0
  1256. package/build/providers/prop-value/slider.js +1 -0
  1257. package/build/providers/prop-value/text.d.ts +6 -0
  1258. package/build/providers/prop-value/text.js +1 -0
  1259. package/build/scripts/generators/api/index.d.ts +5 -0
  1260. package/build/scripts/generators/api/index.js +1 -0
  1261. package/build/scripts/generators/api/info.d.ts +12 -0
  1262. package/build/scripts/generators/api/info.js +1 -0
  1263. package/build/scripts/generators/components/index.d.ts +6 -0
  1264. package/build/scripts/generators/components/index.js +1 -0
  1265. package/build/scripts/generators/config/content.d.ts +37 -0
  1266. package/build/scripts/generators/config/content.js +1 -0
  1267. package/build/scripts/generators/config/index.d.ts +8 -0
  1268. package/build/scripts/generators/config/index.js +1 -0
  1269. package/build/scripts/generators/index.d.ts +7 -0
  1270. package/build/scripts/generators/pages/index.d.ts +7 -0
  1271. package/build/scripts/generators/pages/index.js +1 -0
  1272. package/build/scripts/generators/pages/info.d.ts +14 -0
  1273. package/build/scripts/generators/pages/info.js +1 -0
  1274. package/build/scripts/generators/store/content.d.ts +1 -0
  1275. package/build/scripts/generators/store/content.js +1 -0
  1276. package/build/scripts/generators/store/index.d.ts +3 -0
  1277. package/build/scripts/generators/store/index.js +1 -0
  1278. package/build/scripts/generators/theme/index.d.ts +6 -0
  1279. package/build/scripts/generators/theme/index.js +1 -0
  1280. package/build/scripts/generators/types/index.d.ts +15 -0
  1281. package/build/scripts/generators/types/index.js +1 -0
  1282. package/build/scripts/ikas.d.ts +2 -0
  1283. package/build/store/base.d.ts +25 -0
  1284. package/build/store/base.js +1 -0
  1285. package/build/store/cart.d.ts +29 -0
  1286. package/build/store/cart.js +1 -0
  1287. package/build/store/customer.d.ts +92 -0
  1288. package/build/store/customer.js +1 -0
  1289. package/build/store/index.d.ts +1 -0
  1290. package/build/storefront/index.d.ts +56 -0
  1291. package/build/storefront/index.js +1 -0
  1292. package/build/utils/currency.d.ts +7 -0
  1293. package/build/utils/currency.js +1 -0
  1294. package/build/utils/fs.d.ts +28 -0
  1295. package/build/utils/fs.js +1 -0
  1296. package/build/utils/google-fonts.d.ts +2 -0
  1297. package/build/utils/google-fonts.js +1 -0
  1298. package/build/utils/helper.d.ts +10 -0
  1299. package/build/utils/helper.js +1 -0
  1300. package/build/utils/i18n.d.ts +20 -0
  1301. package/build/utils/i18n.js +1 -0
  1302. package/build/utils/index.d.ts +3 -0
  1303. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import{commonjsGlobal as t}from"../../../_virtual/_commonjsHelpers.js";import s from"../../entities/lib/maps/entities.json.js";import i from"../../entities/lib/maps/legacy.json.js";import e from"../../entities/lib/maps/xml.json.js";import a from"../../../_virtual/decode_codepoint.js_commonjs-proxy.js";var h=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},n=h(a),o=h(s),r=h(i),_=h(e);function c(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function f(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}function d(t,s,i){var e=t.toLowerCase();return t===e?function(t,a){a===e?t._state=s:(t._state=i,t._index--)}:function(a,h){h===e||h===t?a._state=s:(a._state=i,a._index--)}}function u(t,s){var i=t.toLowerCase();return function(e,a){a===i||a===t?e._state=s:(e._state=3,e._index--)}}var p=d("C",24,16),l=d("D",25,16),b=d("A",26,16),x=d("T",27,16),S=d("A",28,16),m=u("R",35),y=u("I",36),g=u("P",37),I=u("T",38),A=d("R",40,1),T=d("I",41,1),C=d("P",42,1),E=d("T",43,1),N=u("Y",45),v=u("L",46),B=u("E",47),L=d("Y",49,1),M=d("L",50,1),j=d("E",51,1),D=u("I",54),O=u("T",55),P=u("L",56),V=u("E",57),k=d("I",58,1),w=d("T",59,1),Q=d("L",60,1),F=d("E",61,1),H=d("#",63,64),R=d("X",66,65),Y=function(){function t(t,s){var i;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=s,this.xmlMode=!!(null==t?void 0:t.xmlMode),this.decodeEntities=null===(i=null==t?void 0:t.decodeEntities)||void 0===i||i}return t.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},t.prototype.write=function(t){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=t,this.parse()},t.prototype.end=function(t){this.ended&&this.cbs.onerror(Error(".end() after done!")),t&&this.write(t),this.ended=!0,this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},t.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},t.prototype.stateText=function(t){"<"===t?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==t||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},t.prototype.isTagStartChar=function(t){return f(t)||this.xmlMode&&!c(t)&&"/"!==t&&">"!==t},t.prototype.stateBeforeTagName=function(t){"/"===t?this._state=5:"<"===t?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===t||1!==this.special||c(t)?this._state=1:"!"===t?(this._state=15,this.sectionStart=this._index+1):"?"===t?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(t)?(this._state=this.xmlMode||"s"!==t&&"S"!==t?this.xmlMode||"t"!==t&&"T"!==t?3:52:32,this.sectionStart=this._index):this._state=1},t.prototype.stateInTagName=function(t){("/"===t||">"===t||c(t))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},t.prototype.stateBeforeClosingTagName=function(t){c(t)||(">"===t?this._state=1:1!==this.special?4===this.special||"s"!==t&&"S"!==t?4!==this.special||"t"!==t&&"T"!==t?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(t)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},t.prototype.stateInClosingTagName=function(t){(">"===t||c(t))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},t.prototype.stateAfterClosingTagName=function(t){">"===t&&(this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeAttributeName=function(t){">"===t?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===t?this._state=4:c(t)||(this._state=9,this.sectionStart=this._index)},t.prototype.stateInSelfClosingTag=function(t){">"===t?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):c(t)||(this._state=8,this._index--)},t.prototype.stateInAttributeName=function(t){("="===t||"/"===t||">"===t||c(t))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},t.prototype.stateAfterAttributeName=function(t){"="===t?this._state=11:"/"===t||">"===t?(this.cbs.onattribend(void 0),this._state=8,this._index--):c(t)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},t.prototype.stateBeforeAttributeValue=function(t){'"'===t?(this._state=12,this.sectionStart=this._index+1):"'"===t?(this._state=13,this.sectionStart=this._index+1):c(t)||(this._state=14,this.sectionStart=this._index,this._index--)},t.prototype.handleInAttributeValue=function(t,s){t===s?(this.emitToken("onattribdata"),this.cbs.onattribend(s),this._state=8):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateInAttributeValueDoubleQuotes=function(t){this.handleInAttributeValue(t,'"')},t.prototype.stateInAttributeValueSingleQuotes=function(t){this.handleInAttributeValue(t,"'")},t.prototype.stateInAttributeValueNoQuotes=function(t){c(t)||">"===t?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateBeforeDeclaration=function(t){this._state="["===t?23:"-"===t?18:16},t.prototype.stateInDeclaration=function(t){">"===t&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateInProcessingInstruction=function(t){">"===t&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeComment=function(t){"-"===t?(this._state=19,this.sectionStart=this._index+1):this._state=16},t.prototype.stateInComment=function(t){"-"===t&&(this._state=21)},t.prototype.stateInSpecialComment=function(t){">"===t&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateAfterComment1=function(t){this._state="-"===t?22:19},t.prototype.stateAfterComment2=function(t){">"===t?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==t&&(this._state=19)},t.prototype.stateBeforeCdata6=function(t){"["===t?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},t.prototype.stateInCdata=function(t){"]"===t&&(this._state=30)},t.prototype.stateAfterCdata1=function(t){this._state="]"===t?31:29},t.prototype.stateAfterCdata2=function(t){">"===t?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==t&&(this._state=29)},t.prototype.stateBeforeSpecialS=function(t){"c"===t||"C"===t?this._state=34:"t"===t||"T"===t?this._state=44:(this._state=3,this._index--)},t.prototype.stateBeforeSpecialSEnd=function(t){2!==this.special||"c"!==t&&"C"!==t?3!==this.special||"t"!==t&&"T"!==t?this._state=1:this._state=48:this._state=39},t.prototype.stateBeforeSpecialLast=function(t,s){("/"===t||">"===t||c(t))&&(this.special=s),this._state=3,this._index--},t.prototype.stateAfterSpecialLast=function(t,s){">"===t||c(t)?(this.special=1,this._state=6,this.sectionStart=this._index-s,this._index--):this._state=1},t.prototype.parseFixedEntity=function(t){if(void 0===t&&(t=this.xmlMode?_.default:o.default),this.sectionStart+1<this._index){var s=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(t,s)&&(this.emitPartial(t[s]),this.sectionStart=this._index+1)}},t.prototype.parseLegacyEntity=function(){for(var t=this.sectionStart+1,s=Math.min(this._index-t,6);s>=2;){var i=this.buffer.substr(t,s);if(Object.prototype.hasOwnProperty.call(r.default,i))return this.emitPartial(r.default[i]),void(this.sectionStart+=s+1);s--}},t.prototype.stateInNamedEntity=function(t){";"===t?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(t<"0"||t>"9")&&!f(t)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==t&&this.parseFixedEntity(r.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},t.prototype.decodeNumericEntity=function(t,s,i){var e=this.sectionStart+t;if(e!==this._index){var a=this.buffer.substring(e,this._index),h=parseInt(a,s);this.emitPartial(n.default(h)),this.sectionStart=i?this._index+1:this._index}this._state=this.baseState},t.prototype.stateInNumericEntity=function(t){";"===t?this.decodeNumericEntity(2,10,!0):(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},t.prototype.stateInHexEntity=function(t){";"===t?this.decodeNumericEntity(3,16,!0):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},t.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},t.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var t=this.buffer.charAt(this._index);1===this._state?this.stateText(t):12===this._state?this.stateInAttributeValueDoubleQuotes(t):9===this._state?this.stateInAttributeName(t):19===this._state?this.stateInComment(t):20===this._state?this.stateInSpecialComment(t):8===this._state?this.stateBeforeAttributeName(t):3===this._state?this.stateInTagName(t):6===this._state?this.stateInClosingTagName(t):2===this._state?this.stateBeforeTagName(t):10===this._state?this.stateAfterAttributeName(t):13===this._state?this.stateInAttributeValueSingleQuotes(t):11===this._state?this.stateBeforeAttributeValue(t):5===this._state?this.stateBeforeClosingTagName(t):7===this._state?this.stateAfterClosingTagName(t):32===this._state?this.stateBeforeSpecialS(t):21===this._state?this.stateAfterComment1(t):14===this._state?this.stateInAttributeValueNoQuotes(t):4===this._state?this.stateInSelfClosingTag(t):16===this._state?this.stateInDeclaration(t):15===this._state?this.stateBeforeDeclaration(t):22===this._state?this.stateAfterComment2(t):18===this._state?this.stateBeforeComment(t):33===this._state?this.stateBeforeSpecialSEnd(t):53===this._state?k(this,t):39===this._state?A(this,t):40===this._state?T(this,t):41===this._state?C(this,t):34===this._state?m(this,t):35===this._state?y(this,t):36===this._state?g(this,t):37===this._state?I(this,t):38===this._state?this.stateBeforeSpecialLast(t,2):42===this._state?E(this,t):43===this._state?this.stateAfterSpecialLast(t,6):44===this._state?N(this,t):29===this._state?this.stateInCdata(t):45===this._state?v(this,t):46===this._state?B(this,t):47===this._state?this.stateBeforeSpecialLast(t,3):48===this._state?L(this,t):49===this._state?M(this,t):50===this._state?j(this,t):51===this._state?this.stateAfterSpecialLast(t,5):52===this._state?D(this,t):54===this._state?O(this,t):55===this._state?P(this,t):56===this._state?V(this,t):57===this._state?this.stateBeforeSpecialLast(t,4):58===this._state?w(this,t):59===this._state?Q(this,t):60===this._state?F(this,t):61===this._state?this.stateAfterSpecialLast(t,5):17===this._state?this.stateInProcessingInstruction(t):64===this._state?this.stateInNamedEntity(t):23===this._state?p(this,t):62===this._state?H(this,t):24===this._state?l(this,t):25===this._state?b(this,t):30===this._state?this.stateAfterCdata1(t):31===this._state?this.stateAfterCdata2(t):26===this._state?x(this,t):27===this._state?S(this,t):28===this._state?this.stateBeforeCdata6(t):66===this._state?this.stateInHexEntity(t):65===this._state?this.stateInNumericEntity(t):63===this._state?R(this,t):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},t.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var t=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(t):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(t):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(t):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},t.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},t.prototype.emitToken=function(t){this.cbs[t](this.getSection()),this.sectionStart=-1},t.prototype.emitPartial=function(t){1!==this.baseState?this.cbs.onattribdata(t):this.cbs.ontext(t)},t}(),z=Object.defineProperty({default:Y},"__esModule",{value:!0});export{z as T,Y as default};
@@ -0,0 +1 @@
1
+ import{createCommonjsModule as r}from"../../_virtual/_commonjsHelpers.js";import t from"util";import o from"./inherits_browser.js";var i=r((function(r){try{var i=t;if("function"!=typeof i.inherits)throw"";r.exports=i.inherits}catch(t){r.exports=o}}));export{i as default};
@@ -0,0 +1 @@
1
+ import{createCommonjsModule as t}from"../../_virtual/_commonjsHelpers.js";var o=t((function(t){"function"==typeof Object.create?t.exports=function(t,o){o&&(t.super_=o,t.prototype=Object.create(o.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,o){if(o){t.super_=o;var e=function(){};e.prototype=o.prototype,t.prototype=new e,t.prototype.constructor=t}}}));export{o as default};
@@ -0,0 +1 @@
1
+ var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,t=/^\s*/,e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g,a=function(u,a){if("string"!=typeof u)throw new TypeError("First argument must be a string");if(!u)return[];a=a||{};var f=1,l=1;function h(r){var t=r.match(n);t&&(f+=t.length);var e=r.lastIndexOf("\n");l=~e?r.length-e:l+r.length}function p(){var r={line:f,column:l};return function(n){return n.position=new v(r),y(),n}}function v(r){this.start=r,this.end={line:f,column:l},this.source=a.source}function m(r){var n=new Error(a.source+":"+f+":"+l+": "+r);if(n.reason=r,n.filename=a.source,n.line=f,n.column=l,n.source=u,!a.silent)throw n}function g(r){var n=r.exec(u);if(n){var t=n[0];return h(t),u=u.slice(t.length),n}}function y(){g(t)}function w(r){var n;for(r=r||[];n=A();)!1!==n&&r.push(n);return r}function A(){var r=p();if("/"==u.charAt(0)&&"*"==u.charAt(1)){for(var n=2;""!=u.charAt(n)&&("*"!=u.charAt(n)||"/"!=u.charAt(n+1));)++n;if(n+=2,""===u.charAt(n-1))return m("End of comment missing");var t=u.slice(2,n-2);return l+=2,h(t),u=u.slice(n),l+=2,r({type:"comment",comment:t})}}function d(){var n=p(),t=g(e);if(t){if(A(),!g(o))return m("property missing ':'");var u=g(i),a=n({type:"declaration",property:s(t[0].replace(r,"")),value:u?s(u[0].replace(r,"")):""});return g(c),a}}return v.prototype.content=u,y(),function(){var r,n=[];for(w(n);r=d();)!1!==r&&(n.push(r),w(n));return n}()};function s(r){return r?r.replace(u,""):""}export{a as default};
@@ -0,0 +1 @@
1
+ import{count_occurences as e}from"./helpers.js";function r(r,t){for(var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:" ",o=r.length,h=e("(",r),a=e(")",r),f=h-a;f>0&&o<t.length;)r+=t[o].replace(l,n),")"===t[o]&&f--,o++;return r}export{r as default};
@@ -0,0 +1 @@
1
+ function e(e){if(e.selectionStart!==e.selectionEnd)return{start:e.selectionStart,end:e.selectionEnd}}var t={Backspace:8,Delete:46};function n(e){switch(e.keyCode){case t.Backspace:return"Backspace";case t.Delete:return"Delete"}}function i(e){return e.selectionStart}function r(e,t){void 0!==t&&(!function(){if("undefined"!=typeof navigator)return c.test(navigator.userAgent)}()?e.setSelectionRange(t,t):setTimeout((function(){return e.setSelectionRange(t,t)}),0))}var c=/Android/i;export{t as Keys,i as getCaretPosition,n as getOperation,e as getSelection,r as setCaretPosition};
@@ -0,0 +1 @@
1
+ function e(e,c,a){switch(a){case"Backspace":c>0&&(e=e.slice(0,c-1)+e.slice(c),c--);break;case"Delete":e=e.slice(0,c)+e.slice(c+1)}return{value:e,caret:c}}export{e as default};
@@ -0,0 +1 @@
1
+ import t from"./templateFormatter.js";function e(e,r,a){"string"==typeof a&&(a=t(a));var f=a(e)||{},i=f.text,o=f.template;if(void 0===i&&(i=e),o)if(void 0===r)r=i.length;else{for(var l=0,n=!1,m=-1;l<i.length&&l<o.length;){if(i[l]!==o[l]){if(0===r){n=!0,r=l;break}m=l,r--}l++}n||(r=m+1)}return{text:i,caret:r}}export{e as default};
@@ -0,0 +1 @@
1
+ function r(r,e){var a=0,t=e.split(""),i=Array.isArray(t),n=0;for(t=i?t:t[Symbol.iterator]();;){var o;if(i){if(n>=t.length)break;o=t[n++]}else{if((n=t.next()).done)break;o=n.value}o===r&&a++}return a}export{r as count_occurences};
@@ -0,0 +1 @@
1
+ import e from"./edit.js";import r from"./parse.js";import t from"./format.js";import{getOperation as a,getSelection as o,setCaretPosition as i,getCaretPosition as v}from"./dom.js";function c(e,r,t,a,o){u(r,t,a,void 0,o)}function s(e,r,t,v,c){var s=a(e);switch(s){case"Delete":case"Backspace":e.preventDefault();var f=o(r);return f?(function(e,r){var t=e.value;t=t.slice(0,r.start)+t.slice(r.end),e.value=t,i(e,r.start)}(r,f),u(r,t,v,void 0,c)):u(r,t,v,s,c)}}function u(a,o,c,s,u){var f=r(a.value,v(a),o),n=f.value,l=f.caret;if(s){var m=e(n,l,s);n=m.value,l=m.caret}var p=t(n,l,c),d=p.text;l=p.caret,a.value=d,i(a,l),u(n)}export{c as onChange,s as onKeyDown};
@@ -0,0 +1 @@
1
+ function e(e,t,n){for(var r="",a=0,l=0;l<e.length;){var o=n(e[l],r);void 0!==o&&(r+=o,void 0!==t&&(t===l?a=r.length-1:t>l&&(a=r.length))),l++}return void 0===t&&(a=r.length),{value:r,caret:a}}export{e as default};
@@ -0,0 +1 @@
1
+ import n,{useRef as e,useCallback as r}from"react";import t from"../../../prop-types/index.js";import{onChange as o,onKeyDown as u}from"../inputControl.js";function i(){return i=Object.assign||function(n){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])}return n},i.apply(this,arguments)}function p(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},u=Object.keys(n);for(t=0;t<u.length;t++)r=u[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);for(t=0;t<u.length;t++)r=u[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}function f(t,f){var a=t.value,l=t.parse,s=t.format,y=t.inputComponent,m=t.onChange,g=t.onKeyDown,v=p(t,["value","parse","format","inputComponent","onChange","onKeyDown"]),d=e(),O=r((function(n){d.current=n,f&&("function"==typeof f?f(n):f.current=n)}),[f]),C=r((function(n){return o(n,d.current,l,s,m)}),[d,l,s,m]),b=r((function(n){return g&&g(n),u(n,d.current,l,s,m)}),[d,l,s,m,g]);return n.createElement(y,i({},v,{ref:O,value:s(c(a)?"":a).text,onKeyDown:b,onChange:C}))}(f=n.forwardRef(f)).propTypes={parse:t.func.isRequired,format:t.func.isRequired,inputComponent:t.elementType.isRequired,type:t.string.isRequired,value:t.string,onChange:t.func.isRequired,onKeyDown:t.func,onCut:t.func,onPaste:t.func},f.defaultProps={inputComponent:"input",type:"text"};var a=f;function c(n){return null==n}export{a as default};
@@ -0,0 +1 @@
1
+ import{count_occurences as e}from"./helpers.js";import r from"./closeBraces.js";function t(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=arguments.length>2?arguments[2]:void 0;if(!t)return function(e){return{text:e}};var i=e(n,t);return function(e){if(!e)return{text:"",template:t};var l=0,o="",f=t.split(""),s=Array.isArray(f),u=0;for(f=s?f:f[Symbol.iterator]();;){var v;if(s){if(u>=f.length)break;v=f[u++]}else{if((u=f.next()).done)break;v=u.value}var m=v;if(m===n){if(o+=e[l],++l===e.length&&e.length<i)break}else o+=m}return a&&(o=r(o,t)),{text:o,template:t}}}export{t as default};
@@ -0,0 +1 @@
1
+ import t from"./metadata.js";import e from"./PhoneNumber.js";import a from"./AsYouTypeState.js";import n from"./AsYouTypeFormatter.js";import i from"./AsYouTypeParser.js";import r from"./helpers/getCountryByCallingCode.js";import{DIGIT_PLACEHOLDER as o}from"./AsYouTypeFormatter.util.js";function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var a=[],n=!0,i=!1,r=void 0;try{for(var o,u=t[Symbol.iterator]();!(n=(o=u.next()).done)&&(a.push(o.value),!e||a.length!==e);n=!0);}catch(t){i=!0,r=t}finally{try{n||null==u.return||u.return()}finally{if(i)throw r}}return a}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function l(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var f=function(){function f(e,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),this.metadata=new t(a);var n=s(this.getCountryAndCallingCode(e),2),i=n[0],r=n[1];this.defaultCountry=i,this.defaultCallingCode=r,this.reset()}var h,m,d;return h=f,(m=[{key:"getCountryAndCallingCode",value:function(t){var e,a;return t&&("object"===u(t)?(e=t.defaultCountry,a=t.defaultCallingCode):e=t),e&&!this.metadata.hasCountry(e)&&(e=void 0),[e,a]}},{key:"input",value:function(t){var e=this.parser.input(t,this.state),a=e.digits;if(e.justLeadingPlus)this.formattedOutput="+";else if(a){var n;if(this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state),this.metadata.hasSelectedNumberingPlan()&&(n=this.formatter.format(a,this.state)),void 0===n&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(n=this.formatter.format(i,this.state))}this.formattedOutput=n?this.getFullNumber(n):this.getNonFormattedNumber()}return this.formattedOutput}},{key:"reset",value:function(){var t=this;return this.state=new a({onCountryChange:function(e){t.country=e},onCallingCodeChange:function(e,a){t.metadata.selectNumberingPlan(e,a),t.formatter.reset(t.metadata.numberingPlan,t.state),t.parser.reset(t.metadata.numberingPlan)}}),this.formatter=new n({state:this.state,metadata:this.metadata}),this.parser=new i({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){t.determineTheCountryIfNeeded(),t.formatter.reset(t.metadata.numberingPlan,t.state)}}),this.state.reset(this.defaultCountry,this.defaultCallingCode),this.formattedOutput="",this}},{key:"isInternational",value:function(){return this.state.international}},{key:"getCallingCode",value:function(){return this.state.callingCode}},{key:"getCountryCallingCode",value:function(){return this.getCallingCode()}},{key:"getCountry",value:function(){var t=this.state,e=t.digits,a=t.country;if(e)return a}},{key:"determineTheCountryIfNeeded",value:function(){this.state.country&&!this.isCountryCallingCodeAmbiguous()||this.determineTheCountry()}},{key:"getFullNumber",value:function(t){var e=this;if(this.isInternational()){var a=function(t){return e.formatter.getInternationalPrefixBeforeCountryCallingCode(e.state,{spacing:!!t})+t},n=this.state.callingCode;return a(n?t?"".concat(n," ").concat(t):n:"".concat(this.state.getDigitsWithoutInternationalPrefix()))}return t}},{key:"getNonFormattedNationalNumberWithPrefix",value:function(){var t=this.state,e=t.nationalSignificantNumber,a=t.complexPrefixBeforeNationalSignificantNumber,n=t.nationalPrefix,i=e,r=a||n;return r&&(i=r+i),i}},{key:"getNonFormattedNumber",value:function(){var t=this.state.nationalSignificantNumberMatchesInput;return this.getFullNumber(t?this.getNonFormattedNationalNumberWithPrefix():this.state.getNationalDigits())}},{key:"getNonFormattedTemplate",value:function(){var t=this.getNonFormattedNumber();if(t)return t.replace(/[\+\d]/g,o)}},{key:"isCountryCallingCodeAmbiguous",value:function(){var t=this.state.callingCode,e=this.metadata.getCountryCodesForCallingCode(t);return e&&e.length>1}},{key:"determineTheCountry",value:function(){this.state.setCountry(r(this.isInternational()?this.state.callingCode:this.defaultCallingCode,this.state.nationalSignificantNumber,this.metadata))}},{key:"getNumber",value:function(){var t=this.state,a=t.nationalSignificantNumber,n=t.carrierCode;if(this.isInternational()){if(!this.state.callingCode)return}else if(!this.state.country&&!this.defaultCallingCode)return;if(a){var i=this.getCountry(),r=this.getCountryCallingCode()||this.defaultCallingCode,o=new e(i||r,a,this.metadata.metadata);return n&&(o.carrierCode=n),o}}},{key:"isPossible",value:function(){var t=this.getNumber();return!!t&&t.isPossible()}},{key:"isValid",value:function(){var t=this.getNumber();return!!t&&t.isValid()}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}])&&l(h.prototype,m),d&&l(h,d),f}();export{f as default};
@@ -0,0 +1 @@
1
+ function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}var n=function(){function e(r){t(this,e),this.matchTree=(new i).parse(r)}return r(e,[{key:"match",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.allowOverflow;if(!t)throw new Error("String is required");var n=a(t.split(""),this.matchTree,!0);if(n&&n.match&&delete n.matchedChars,!n||!n.overflow||r)return n}}]),e}();function a(t,e,r){if("string"==typeof e){if(r&&t.length>e.length)return{overflow:!0};var n=t.join("");return 0===e.indexOf(n)?t.length===e.length?{match:!0,matchedChars:t}:{partialMatch:!0}:0===n.indexOf(e)?{match:!0,matchedChars:t.slice(0,e.length)}:void 0}if(Array.isArray(e)){for(var o=t.slice(),i=0;i<e.length;){var s=a(o,e[i],r&&i===e.length-1);if(!s||s.overflow)return s;if(!s.match){if(s.partialMatch)return{partialMatch:!0};throw new Error("Unsupported match result:\n".concat(JSON.stringify(s,null,2)))}if(0===(o=o.slice(s.matchedChars.length)).length)return i===e.length-1?{match:!0,matchedChars:t}:{partialMatch:!0};i++}return r?{overflow:!0}:{match:!0,matchedChars:t.slice(0,t.length-o.length)}}switch(e.op){case"|":var h,c=e.args,u=Array.isArray(c),f=0;for(c=u?c:c[Symbol.iterator]();;){var l;if(u){if(f>=c.length)break;l=c[f++]}else{if((f=c.next()).done)break;l=f.value}var p=a(t,l,r);if(p){if(p.overflow)return p;if(p.match)return{match:!0,matchedChars:p.matchedChars};p.partialMatch&&(h=!0)}}return h?{partialMatch:!0}:void 0;case"[]":var g=e.args,d=Array.isArray(g),w=0;for(g=d?g:g[Symbol.iterator]();;){var v;if(d){if(w>=g.length)break;v=g[w++]}else{if((w=g.next()).done)break;v=w.value}var x=v;if(t[0]===x)return 1===t.length?{match:!0,matchedChars:t}:r?{overflow:!0}:{match:!0,matchedChars:[x]}}return;default:throw new Error("Unsupported instruction tree: ".concat(e))}}var o=new RegExp("(\\||\\(\\?\\:|\\)|\\[|\\])"),i=function(){function e(){t(this,e)}return r(e,[{key:"parse",value:function(t){if(this.context=[{or:!0,instructions:[]}],this.parsePattern(t),1!==this.context.length)throw new Error("Non-finalized contexts left when pattern parse ended");var e=this.context[0],r=e.branches,n=e.instructions;if(r)return[{op:"|",args:r.concat([n])}];if(0===n.length)throw new Error("Pattern is required");return n}},{key:"startContext",value:function(t){this.context.push(t)}},{key:"endContext",value:function(){this.context.pop()}},{key:"getContext",value:function(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function(t){if(!t)throw new Error("Empty pattern passed");var e=t.match(o);if(e){var r=e[1],n=t.slice(0,e.index),a=t.slice(e.index+r.length);switch(r){case"(?:":n&&this.parsePattern(n),this.startContext({or:!0,instructions:[],branches:[]});break;case")":if(!this.getContext().or)throw new Error('")" operator must be preceded by "(?:" operator');if(n&&this.parsePattern(n),0===this.getContext().instructions.length)throw new Error('No instructions found after "|" operator in an "or" group');var i=this.getContext().branches;i.push(this.getContext().instructions),this.endContext(),this.getContext().instructions.push({op:"|",args:i});break;case"|":if(!this.getContext().or)throw new Error('"|" operator can only be used inside "or" groups');if(n&&this.parsePattern(n),!this.getContext().branches){if(1!==this.context.length)throw new Error('"branches" not found in an "or" group context');this.getContext().branches=[]}this.getContext().branches.push(this.getContext().instructions),this.getContext().instructions=[];break;case"[":n&&this.parsePattern(n),this.startContext({oneOfSet:!0});break;case"]":if(!this.getContext().oneOfSet)throw new Error('"]" operator must be preceded by "[" operator');this.endContext(),this.getContext().instructions.push({op:"[]",args:s(n)});break;default:throw new Error("Unknown operator: ".concat(r))}a&&this.parsePattern(a)}else this.getContext().instructions=this.getContext().instructions.concat(t.split(""))}}]),e}();function s(t){for(var e=[],r=0;r<t.length;){if("-"===t[r]){if(0===r||r===t.length-1)throw new Error("Couldn't parse a one-of set pattern: ".concat(t));for(var n=t[r-1].charCodeAt(0)+1,a=t[r+1].charCodeAt(0)-1,o=n;o<=a;)e.push(String.fromCharCode(o)),o++}else e.push(t[r]);r++}return e}export{n as default};
@@ -0,0 +1 @@
1
+ import a from"./helpers/checkNumberLength.js";import t from"./helpers/parseDigits.js";import e from"./helpers/formatNationalNumberUsingFormat.js";function r(a,t,e){var r=e.metadata,i=e.shouldTryNationalPrefixFormattingRule,o=e.getSeparatorAfterNationalPrefix;if(new RegExp("^(?:".concat(t.pattern(),")$")).test(a.nationalSignificantNumber))return function(a,t,e){var r=e.metadata,i=e.shouldTryNationalPrefixFormattingRule,o=e.getSeparatorAfterNationalPrefix;if(a.nationalSignificantNumber,a.international,a.nationalPrefix,a.carrierCode,i(t)){var f=n(a,t,{useNationalPrefixFormattingRule:!0,getSeparatorAfterNationalPrefix:o,metadata:r});if(f)return f}return n(a,t,{useNationalPrefixFormattingRule:!1,getSeparatorAfterNationalPrefix:o,metadata:r})}(a,t,{metadata:r,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:o})}function i(t,e){return"IS_POSSIBLE"===a(t,e)}function n(a,r,i){var n=i.metadata,o=i.useNationalPrefixFormattingRule,f=i.getSeparatorAfterNationalPrefix,l=e(a.nationalSignificantNumber,r,{carrierCode:a.carrierCode,useInternationalFormat:a.international,withNationalPrefix:o,metadata:n});if(o||(a.nationalPrefix?l=a.nationalPrefix+f(r)+l:a.complexPrefixBeforeNationalSignificantNumber&&(l=a.complexPrefixBeforeNationalSignificantNumber+" "+l)),function(a,e){return t(a)===e.getNationalDigits()}(l,a))return l}export{i as canFormatCompleteNumber,r as default};
@@ -0,0 +1 @@
1
+ import{DIGIT_PLACEHOLDER as t,cutAndStripNonPairedParens as e,repeat as a,populateTemplateWithDigits as r}from"./AsYouTypeFormatter.util.js";export{DIGIT_PLACEHOLDER}from"./AsYouTypeFormatter.util.js";import i,{canFormatCompleteNumber as n}from"./AsYouTypeFormatter.complete.js";import o from"./AsYouTypeFormatter.PatternMatcher.js";import l from"./helpers/parseDigits.js";import{FIRST_GROUP_PATTERN as s}from"./helpers/formatNationalNumberUsingFormat.js";import{VALID_PUNCTUATION as m}from"./constants.js";import u from"./helpers/applyInternationalSeparatorStyle.js";function f(t,e){for(var a=0;a<e.length;a++){var r=e[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var p=a("9",15),c=/[- ]/,g=new RegExp("^["+m+"]*(\\$\\d["+m+"]*)+$"),N=function(){function m(t){var e=this;t.state;var a=t.metadata;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),h(this,"getSeparatorAfterNationalPrefix",(function(t){return e.isNANP||t&&t.nationalPrefixFormattingRule()&&c.test(t.nationalPrefixFormattingRule())?" ":""})),h(this,"shouldTryNationalPrefixFormattingRule",(function(t,e){var a=e.international,r=e.nationalPrefix;if(t.nationalPrefixFormattingRule()){var i=t.usesNationalPrefix();if(i&&r||!i&&!a)return!0}})),this.metadata=a,this.resetFormat()}var N,F,v;return N=m,(F=[{key:"resetFormat",value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:"reset",value:function(t,e){this.resetFormat(),t?(this.isNANP="1"===t.callingCode(),this.matchingFormats=t.formats(),e.nationalSignificantNumber&&this.narrowDownMatchingFormats(e)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:"format",value:function(e,a){var r=this;if(n(a.nationalSignificantNumber,this.metadata)){var o=this.matchingFormats,l=Array.isArray(o),s=0;for(o=l?o:o[Symbol.iterator]();;){var m;if(l){if(s>=o.length)break;m=o[s++]}else{if((s=o.next()).done)break;m=s.value}var u=m,f=i(a,u,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(t){return r.shouldTryNationalPrefixFormattingRule(t,{international:a.international,nationalPrefix:a.nationalPrefix})},getSeparatorAfterNationalPrefix:this.getSeparatorAfterNationalPrefix});if(f)return this.resetFormat(),this.chosenFormat=u,this.setNationalNumberTemplate(f.replace(/\d/g,t),a),this.populatedNationalNumberTemplate=f,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(t),f}}return this.formatNationalNumberWithNextDigits(e,a)}},{key:"formatNationalNumberWithNextDigits",value:function(t,e){var a=this.chosenFormat,r=this.chooseFormat(e);if(r)return r===a?this.formatNextNationalNumberDigits(t):this.formatNextNationalNumberDigits(e.getNationalDigits())}},{key:"narrowDownMatchingFormats",value:function(t){var e=this,a=t.nationalSignificantNumber,r=t.nationalPrefix,i=t.international,n=a,o=n.length-3;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter((function(t){return e.formatSuits(t,i,r)&&e.formatMatches(t,n,o)})),this.chosenFormat&&-1===this.matchingFormats.indexOf(this.chosenFormat)&&this.resetFormat()}},{key:"formatSuits",value:function(t,e,a){return!(a&&!t.usesNationalPrefix()&&!t.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!e&&!a&&t.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:"formatMatches",value:function(t,e,a){var r=t.leadingDigitsPatterns().length;if(0===r)return!0;a=Math.min(a,r-1);var i=t.leadingDigitsPatterns()[a];if(e.length<3)try{return void 0!==new o(i).match(e,{allowOverflow:!0})}catch(t){return console.error(t),!0}return new RegExp("^(".concat(i,")")).test(e)}},{key:"getFormatFormat",value:function(t,e){return e?t.internationalFormat():t.format()}},{key:"chooseFormat",value:function(t){var e=this,a=function(){if(i){if(n>=r.length)return"break";o=r[n++]}else{if((n=r.next()).done)return"break";o=n.value}var a=o;return e.chosenFormat===a?"break":g.test(e.getFormatFormat(a,t.international))?e.createTemplateForFormat(a,t)?(e.chosenFormat=a,"break"):(e.matchingFormats=e.matchingFormats.filter((function(t){return t!==a})),"continue"):"continue"},r=this.matchingFormats.slice(),i=Array.isArray(r),n=0;t:for(r=i?r:r[Symbol.iterator]();;){var o;switch(a()){case"break":break t;case"continue":continue}}return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:"createTemplateForFormat",value:function(t,e){if(!(t.pattern().indexOf("|")>=0)){var a=this.getTemplateForFormat(t,e);return a?(this.setNationalNumberTemplate(a,e),!0):void 0}}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,e){var a=t.IDDPrefix,r=t.missingPlus;return a?e&&!1===e.spacing?a:a+" ":r?"":"+"}},{key:"getTemplate",value:function(a){if(this.template){for(var r=-1,i=0,n=a.international?this.getInternationalPrefixBeforeCountryCallingCode(a,{spacing:!1}):"";i<n.length+a.getDigitsWithoutInternationalPrefix().length;)r=this.template.indexOf(t,r+1),i++;return e(this.template,r+1)}}},{key:"setNationalNumberTemplate",value:function(e,r){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,r.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(r).replace(/[\d\+]/g,t)+a(t,r.callingCode.length)+" "+e:this.template=e}},{key:"getTemplateForFormat",value:function(e,r){var i=r.nationalSignificantNumber,n=r.international,o=r.nationalPrefix,m=r.complexPrefixBeforeNationalSignificantNumber,f=e.pattern();f=f.replace(/\[([^\[\]])*\]/g,"\\d").replace(/\d(?=[^,}][^,}])/g,"\\d");var h=p.match(f)[0];if(!(i.length>h.length)){var c=new RegExp("^"+f+"$"),g=i.replace(/\d/g,"9");c.test(g)&&(h=g);var N,F=this.getFormatFormat(e,n);if(this.shouldTryNationalPrefixFormattingRule(e,{international:n,nationalPrefix:o})){var v=F.replace(s,e.nationalPrefixFormattingRule());if(l(e.nationalPrefixFormattingRule())===(o||"")+l("$1")&&(F=v,N=!0,o))for(var d=o.length;d>0;)F=F.replace(/\d/,t),d--}var x=h.replace(new RegExp(f),F).replace(new RegExp("9","g"),t);return N||(m?x=a(t,m.length)+" "+x:o&&(x=a(t,o.length)+this.getSeparatorAfterNationalPrefix(e)+x)),n&&(x=u(x)),x}}},{key:"formatNextNationalNumberDigits",value:function(t){var a=r(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(a)return this.populatedNationalNumberTemplate=a[0],this.populatedNationalNumberTemplatePosition=a[1],e(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1);this.resetFormat()}}])&&f(N.prototype,F),v&&f(N,v),m}();export{N as default};
@@ -0,0 +1 @@
1
+ var r="x",e=new RegExp("x");function n(r,e){if(e<1)return"";for(var n="";e>1;)1&e&&(n+=r),e>>=1,r+=r;return n+r}function t(r,e){return")"===r[e]&&e++,a(r.slice(0,e))}function a(r){for(var e=[],n=0;n<r.length;)"("===r[n]?e.push(n):")"===r[n]&&e.pop(),n++;var t=0,a="";e.push(r.length);for(var i=0,f=e;i<f.length;i++){var o=f[i];a+=r.slice(t,o),t=o+1}return a}function i(r,n,t){var a=t.split(""),i=Array.isArray(a),f=0;for(a=i?a:a[Symbol.iterator]();;){var o;if(i){if(f>=a.length)break;o=a[f++]}else{if((f=a.next()).done)break;o=f.value}var u=o;if(r.slice(n+1).search(e)<0)return;n=r.search(e),r=r.replace(e,u)}return[r,n]}export{r as DIGIT_PLACEHOLDER,t as cutAndStripNonPairedParens,i as populateTemplateWithDigits,n as repeat,a as stripNonPairedParens};
@@ -0,0 +1 @@
1
+ import t from"./helpers/extractCountryCallingCode.js";import i from"./helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js";import n from"./helpers/extractNationalNumberFromPossiblyIncompleteNumber.js";import a from"./helpers/stripIddPrefix.js";import e from"./helpers/parseDigits.js";import{VALID_PUNCTUATION as r,VALID_DIGITS as o,PLUS_CHARS as l}from"./constants.js";function u(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){var n=[],a=!0,e=!1,r=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!i||n.length!==i);a=!0);}catch(t){e=!0,r=t}finally{try{a||null==l.return||l.return()}finally{if(e)throw r}}return n}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(t,i){for(var n=0;n<i.length;n++){var a=i[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}var c=new RegExp("^"+("["+r+o+"]+")+"$","i"),f="(?:["+l+"]["+r+o+"]*|["+r+o+"]+)",g=new RegExp("[^"+r+o+"]+.*$"),d=/[^\d\[\]]/,h=function(){function r(t){var i=t.defaultCountry,n=t.defaultCallingCode,a=t.metadata,e=t.onNationalSignificantNumberChange;!function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,r),this.defaultCountry=i,this.defaultCallingCode=n,this.metadata=a,this.onNationalSignificantNumberChange=e}var o,l,c;return o=r,(l=[{key:"input",value:function(t,i){var n,a=u(N(t),2),r=a[0],o=a[1],l=e(r);return o&&(i.digits||(i.startInternationalNumber(),l||(n=!0))),l&&this.inputDigits(l,i),{digits:l,justLeadingPlus:n}}},{key:"inputDigits",value:function(t,i){var n=i.digits,a=n.length<3&&n.length+t.length>=3;if(i.appendDigits(t),a&&this.extractIddPrefix(i),this.isWaitingForCountryCallingCode(i)){if(!this.extractCountryCallingCode(i))return}else i.appendNationalSignificantNumberDigits(t);i.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(i.getNationalDigits(),i.update)}},{key:"isWaitingForCountryCallingCode",value:function(t){var i=t.international,n=t.callingCode;return i&&!n}},{key:"extractCountryCallingCode",value:function(i){var n=t("+"+i.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=n.countryCallingCode,e=n.number;if(a)return i.setCallingCode(a),i.update({nationalSignificantNumber:e}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var i=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=i&&d.test(i)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,i){if(this.hasSelectedNumberingPlan){var a=n(t,this.metadata),e=a.nationalPrefix,r=a.nationalNumber,o=a.carrierCode;if(r!==t)return this.onExtractedNationalNumber(e,o,r,t,i),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,i,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var e=n(t,this.metadata),r=e.nationalPrefix,o=e.nationalNumber,l=e.carrierCode;if(o!==i)return this.onExtractedNationalNumber(r,l,o,t,a),!0}}},{key:"onExtractedNationalNumber",value:function(t,i,n,a,e){var r,o,l=a.lastIndexOf(n);if(l>=0&&l===a.length-n.length){o=!0;var u=a.slice(0,l);u!==t&&(r=u)}e({nationalPrefix:t,carrierCode:i,nationalSignificantNumber:n,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:r}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){return!!this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,t.update)||(this.extractIddPrefix(t)||this.fixMissingPlus(t)?(this.extractCallingCodeAndNationalSignificantNumber(t),!0):void 0)}},{key:"extractIddPrefix",value:function(t){var i=t.international,n=t.IDDPrefix,e=t.digits;if(t.nationalSignificantNumber,!i&&!n){var r=a(e,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);return void 0!==r&&r!==e?(t.update({IDDPrefix:e.slice(0,e.length-r.length)}),this.startInternationalNumber(t),!0):void 0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var n=i(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=n.countryCallingCode;if(n.number,a)return t.update({missingPlus:!0}),this.startInternationalNumber(t),!0}}},{key:"startInternationalNumber",value:function(t){t.startInternationalNumber(),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),t.update)}}])&&s(o.prototype,l),c&&s(o,c),r}();function m(t){var i=function(t){var i,n=t.search(f);if(!(n<0))return"+"===(t=t.slice(n))[0]&&(i=!0,t=t.slice("+".length)),t=t.replace(g,""),i&&(t="+"+t),t}(t)||"";return"+"===i[0]?[i.slice("+".length),!0]:[i]}function N(t){var i=u(m(t),2),n=i[0],a=i[1];return c.test(n)||(n=""),[n,a]}export{h as default,N as extractFormattedDigitsAndPlus};
@@ -0,0 +1 @@
1
+ function i(i,t){for(var n=0;n<t.length;n++){var e=t[n];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}var t=function(){function t(i){var n,e,a,o=this,r=i.onCountryChange,l=i.onCallingCodeChange;!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=function(i){for(var t=0,n=Object.keys(i);t<n.length;t++){var e=n[t];o[e]=i[e]}},(e="update")in(n=this)?Object.defineProperty(n,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[e]=a,this.onCountryChange=r,this.onCallingCodeChange=l}var n,e,a;return n=t,(e=[{key:"reset",value:function(i,t){this.international=!1,this.IDDPrefix=void 0,this.missingPlus=void 0,this.callingCode=void 0,this.digits="",this.resetNationalSignificantNumber(),this.initCountryAndCallingCode(i,t)}},{key:"resetNationalSignificantNumber",value:function(){this.nationalSignificantNumber=this.getNationalDigits(),this.nationalSignificantNumberMatchesInput=!0,this.nationalPrefix=void 0,this.carrierCode=void 0,this.complexPrefixBeforeNationalSignificantNumber=void 0}},{key:"initCountryAndCallingCode",value:function(i,t){this.setCountry(i),this.setCallingCode(t)}},{key:"setCountry",value:function(i){this.country=i,this.onCountryChange(i)}},{key:"setCallingCode",value:function(i){return this.callingCode=i,this.onCallingCodeChange(this.country,i)}},{key:"startInternationalNumber",value:function(){this.international=!0,this.initCountryAndCallingCode()}},{key:"appendDigits",value:function(i){this.digits+=i}},{key:"appendNationalSignificantNumberDigits",value:function(i){this.nationalSignificantNumber+=i}},{key:"getNationalDigits",value:function(){return this.international?this.digits.slice((this.IDDPrefix?this.IDDPrefix.length:0)+(this.callingCode?this.callingCode.length:0)):this.digits}},{key:"getDigitsWithoutInternationalPrefix",value:function(){return this.international&&this.IDDPrefix?this.digits.slice(this.IDDPrefix.length):this.digits}}])&&i(n.prototype,e),a&&i(n,a),t}();export{t as default};
@@ -0,0 +1 @@
1
+ var t=function t(r){!function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t),this.name=this.constructor.name,this.message=r,this.stack=new Error(r).stack};(t.prototype=Object.create(Error.prototype)).constructor=t;export{t as default};
@@ -0,0 +1 @@
1
+ import t from"./metadata.js";import e from"./isPossibleNumber_.js";import n from"./validate_.js";import r from"./helpers/getNumberType.js";import o from"./format_.js";function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var u=function(){function u(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),!e)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var o=new t(r);s(e)&&(this.country=e,o.country(e),e=o.countryCallingCode()),this.countryCallingCode=e,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.metadata=r}var l,f,c;return l=u,f=[{key:"setExt",value:function(t){this.ext=t}},{key:"isPossible",value:function(){return e(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return n(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new t(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return r(this,{v2:!0},this.metadata)}},{key:"format",value:function(t,e){return o(this,t,e?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){a(t,e,n[e])}))}return t}({},e,{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}],f&&i(l.prototype,f),c&&i(l,c),u}(),s=function(t){return/^[A-Z]{2}$/.test(t)};export{u as default};
@@ -0,0 +1 @@
1
+ var c=2,a=17,o=3,t="0-90-9٠-٩۰-۹",n="  ­​⁠ ",r="".concat("-‐-―−ー-").concat("//").concat("..").concat("  ­​⁠ ").concat("()()[]\\[\\]").concat("~⁓∼~"),e="++";export{o as MAX_LENGTH_COUNTRY_CODE,a as MAX_LENGTH_FOR_NSN,c as MIN_LENGTH_FOR_NSN,e as PLUS_CHARS,t as VALID_DIGITS,r as VALID_PUNCTUATION,n as WHITESPACE};
@@ -0,0 +1 @@
1
+ import o from"./AsYouType.js";function t(t,e,n){return n||(n=e,e=void 0),new o(e,n).input(t)}export{t as default};
@@ -0,0 +1 @@
1
+ import t from"./helpers/matchesEntirely.js";import r from"./helpers/formatNationalNumberUsingFormat.js";import n,{getCountryCallingCode as e}from"./metadata.js";import o from"./helpers/getIddPrefix.js";import{formatRFC3966 as a}from"./helpers/RFC3966.js";function i(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var c={formatExtension:function(t,r,n){return"".concat(t).concat(n.ext()).concat(r)}};function u(t,r,u,s){if(u=u?function(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},e=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),e.forEach((function(r){i(t,r,n[r])}))}return t}({},c,u):c,s=new n(s),t.country&&"001"!==t.country){if(!s.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));s.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";s.selectNumberingPlan(t.countryCallingCode)}var m,y=s.countryCallingCode(),N=u.v2?t.nationalNumber:t.phone;switch(r){case"NATIONAL":return N?l(m=f(N,t.carrierCode,"NATIONAL",s,u),t.ext,s,u.formatExtension):"";case"INTERNATIONAL":return N?(m=f(N,null,"INTERNATIONAL",s,u),l(m="+".concat(y," ").concat(m),t.ext,s,u.formatExtension)):"+".concat(y);case"E.164":return"+".concat(y).concat(N);case"RFC3966":return a({number:"+".concat(y).concat(N),ext:t.ext});case"IDD":if(!u.fromCountry)return;var g=function(t,r,n,a,i){if(e(a,i.metadata)===n){var c=f(t,r,"NATIONAL",i);return"1"===n?n+" "+c:c}var u=o(a,void 0,i.metadata);if(u)return"".concat(u," ").concat(n," ").concat(f(t,null,"INTERNATIONAL",i))}(N,t.carrierCode,y,u.fromCountry,s);return l(g,t.ext,s,u.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(r,'"'))}}function f(n,e,o,a,i){var c=function(r,n){var e=r,o=Array.isArray(e),a=0;for(e=o?e:e[Symbol.iterator]();;){var i;if(o){if(a>=e.length)break;i=e[a++]}else{if((a=e.next()).done)break;i=a.value}var c=i;if(c.leadingDigitsPatterns().length>0){var u=c.leadingDigitsPatterns()[c.leadingDigitsPatterns().length-1];if(0!==n.search(u))continue}if(t(n,c.pattern()))return c}}(a.formats(),n);return c?r(n,c,{useInternationalFormat:"INTERNATIONAL"===o,withNationalPrefix:!c.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:e,metadata:a}):n}function l(t,r,n,e){return r?e(t,r,n):t}export{u as default};
@@ -0,0 +1 @@
1
+ import t from"./metadata.js";function e(e){return new t(e).getCountries()}export{e as default};
@@ -0,0 +1 @@
1
+ import r from"./isViablePhoneNumber.js";function e(r,e){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var t=[],n=!0,a=!1,o=void 0;try{for(var i,u=r[Symbol.iterator]();!(n=(i=u.next()).done)&&(t.push(i.value),!e||t.length!==e);n=!0);}catch(r){a=!0,o=r}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}return t}(r,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function t(t){var n,a,o=(t=t.replace(/^tel:/,"tel=")).split(";"),i=Array.isArray(o),u=0;for(o=i?o:o[Symbol.iterator]();;){var l;if(i){if(u>=o.length)break;l=o[u++]}else{if((u=o.next()).done)break;l=u.value}var c=e(l.split("="),2),f=c[0],s=c[1];switch(f){case"tel":n=s;break;case"ext":a=s;break;case"phone-context":"+"===s[0]&&(n=s+n)}}if(!r(n))return{};var b={number:n};return a&&(b.ext=a),b}function n(r){var e=r.number,t=r.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(t?";ext="+t:"")}export{n as formatRFC3966,t as parseRFC3966};
@@ -0,0 +1 @@
1
+ import{VALID_PUNCTUATION as t}from"../constants.js";function e(e){return e.replace(new RegExp("[".concat(t,"]+"),"g")," ").trim()}export{e as default};
@@ -0,0 +1 @@
1
+ import e from"./mergeArrays.js";function r(e,r){return t(e,void 0,r)}function t(r,I,L){var n=L.type(I),O=n&&n.possibleLengths()||L.possibleLengths();if(!O)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===I){if(!L.type("FIXED_LINE"))return t(r,"MOBILE",L);var s=L.type("MOBILE");s&&(O=e(O,s.possibleLengths()))}else if(I&&!n)return"INVALID_LENGTH";var i=r.length,E=O[0];return E===i?"IS_POSSIBLE":E>i?"TOO_SHORT":O[O.length-1]<i?"TOO_LONG":O.indexOf(i,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}export{t as checkNumberLengthForType,r as default};
@@ -0,0 +1 @@
1
+ import{VALID_DIGITS as t}from"../../constants.js";var n=function(n){return"([".concat(t,"]{1,").concat(n,"})")};function o(t){var o="#?";return";ext="+n("20")+"|"+("[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*"+n("20")+o)+"|"+("[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*"+n("9")+o)+"|"+("[- ]+"+n("6")+"#")+"|"+("[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*"+n("15")+o)+"|"+("[  \\t]*(?:,)+[:\\..]?[  \\t,-]*"+n("9")+o)}export{o as default};
@@ -0,0 +1 @@
1
+ import e from"./createExtensionPattern.js";var r=new RegExp("(?:"+e()+")$","i");function t(e){var t=e.search(r);if(t<0)return{};for(var n=e.slice(0,t),a=e.match(r),i=1;i<a.length;){if(a[i])return{number:n,ext:a[i]};i++}}export{t as default};
@@ -0,0 +1 @@
1
+ import r from"./stripIddPrefix.js";import n from"./extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js";import t from"../metadata.js";import{MAX_LENGTH_COUNTRY_CODE as e}from"../constants.js";function i(i,o,a,u){if(!i)return{};if("+"!==i[0]){var l=r(i,o,a,u);if(!l||l===i){if(o||a){var m=n(i,o,a,u),f=m.countryCallingCode,s=m.number;if(f)return{countryCallingCode:f,number:s}}return{number:i}}i="+"+l}if("0"===i[1])return{};u=new t(u);for(var C=2;C-1<=e&&C<=i.length;){var c=i.slice(1,C);if(u.hasCallingCode(c))return u.selectNumberingPlan(c),{countryCallingCode:c,number:i.slice(C)};C++}return{}}export{i as default};
@@ -0,0 +1 @@
1
+ import r,{getCountryCallingCode as e}from"../metadata.js";import t from"./matchesEntirely.js";import n from"./extractNationalNumber.js";import a from"./checkNumberLength.js";function m(m,i,o,u){var l=i?e(i,u):o;if(0===m.indexOf(l)){(u=new r(u)).selectNumberingPlan(i,o);var b=m.slice(l.length),f=n(b,u).nationalNumber,N=n(m,u).nationalNumber;if(!t(N,u.nationalNumberPattern())&&t(f,u.nationalNumberPattern())||"TOO_LONG"===a(N,u))return{countryCallingCode:l,number:b}}return{number:m}}export{m as default};
@@ -0,0 +1 @@
1
+ import r from"./extractNationalNumberFromPossiblyIncompleteNumber.js";import e from"./matchesEntirely.js";import t from"./checkNumberLength.js";function n(n,a){var o=r(n,a),i=o.nationalNumber,m=o.carrierCode;if(!function(r,t,n){if(e(r,n.nationalNumberPattern())&&!e(t,n.nationalNumberPattern()))return!1;return!0}(n,i,a))return{nationalNumber:n};if(n.length!==i.length+(m?m.length:0)&&a.possibleLengths())switch(t(i,a)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:n}}return{nationalNumber:i,carrierCode:m}}export{n as default};
@@ -0,0 +1 @@
1
+ function n(n,e){if(n&&e.numberingPlan.nationalPrefixForParsing()){var a=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=a.exec(n);if(r){var i,l,f,o=r.length-1,t=o>0&&r[o];if(e.nationalPrefixTransformRule()&&t)i=n.replace(a,e.nationalPrefixTransformRule()),o>1&&(l=r[1]);else{var P=r[0];i=n.slice(P.length),t&&(l=r[1])}if(t){var u=n.indexOf(r[1]);n.slice(0,u)===e.numberingPlan.nationalPrefix()&&(f=e.numberingPlan.nationalPrefix())}else f=r[0];return{nationalNumber:i,nationalPrefix:f,carrierCode:l}}}return{nationalNumber:n}}export{n as default};
@@ -0,0 +1 @@
1
+ import a from"./applyInternationalSeparatorStyle.js";var t=/(\$\d)/;function r(r,e,n){var o=n.useInternationalFormat,i=n.withNationalPrefix;n.carrierCode,n.metadata;var l=r.replace(new RegExp(e.pattern()),o?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(t,e.nationalPrefixFormattingRule()):e.format());return o?a(l):l}export{t as FIRST_GROUP_PATTERN,r as default};
@@ -0,0 +1 @@
1
+ import e from"../metadata.js";import r from"./getNumberType.js";function t(t,a,i){var n=i.getCountryCodesForCallingCode(t);if(n)return 1===n.length?n[0]:function(t,a,i){i=new e(i);var n=t,o=Array.isArray(n),f=0;for(n=o?n:n[Symbol.iterator]();;){var l;if(o){if(f>=n.length)break;l=n[f++]}else{if((f=n.next()).done)break;l=f.value}var u=l;if(i.country(u),i.leadingDigits()){if(a&&0===a.search(i.leadingDigits()))return u}else if(r({phone:a,country:u},void 0,i.metadata))return u}}(n,a,i.metadata)}export{t as default};
@@ -0,0 +1 @@
1
+ import e from"../metadata.js";var r=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function t(t,a,f){var u=new e(f);return u.selectNumberingPlan(t,a),u.defaultIDDPrefix()?u.defaultIDDPrefix():r.test(u.IDDPrefix())?u.IDDPrefix():void 0}export{t as default};
@@ -0,0 +1 @@
1
+ import t from"../metadata.js";import e from"./matchesEntirely.js";var n=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function E(E,I,a){if(I=I||{},E.country){(a=new t(a)).selectNumberingPlan(E.country,E.countryCallingCode);var L=I.v2?E.nationalNumber:E.phone;if(e(L,a.nationalNumberPattern())){if(r(L,"FIXED_LINE",a))return a.type("MOBILE")&&""===a.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":a.type("MOBILE")?r(L,"MOBILE",a)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var o=0,O=n;o<O.length;o++){var i=O[o];if(r(L,i,a))return i}}}}function r(t,n,E){return!(!(n=E.type(n))||!n.pattern())&&(!(n.possibleLengths()&&n.possibleLengths().indexOf(t.length)<0)&&e(t,n.pattern()))}export{E as default,r as isNumberTypeEqualTo};
@@ -0,0 +1 @@
1
+ import{MIN_LENGTH_FOR_NSN as t,PLUS_CHARS as e,VALID_PUNCTUATION as n,VALID_DIGITS as r}from"../constants.js";import o from"./extension/createExtensionPattern.js";var s="["+r+"]{"+t+"}",i="["+e+"]{0,1}(?:["+n+"]*["+r+"]){3,}["+n+r+"]*",a=new RegExp("^["+e+"]{0,1}(?:["+n+"]*["+r+"]){1,2}$","i"),f=i+"(?:"+o()+")?",p=new RegExp("^"+s+"$|^"+f+"$","i");function u(e){return e.length>=t&&p.test(e)}function x(t){return a.test(t)}export{i as VALID_PHONE_NUMBER,f as VALID_PHONE_NUMBER_WITH_EXTENSION,u as default,x as isViablePhoneNumberStart};
@@ -0,0 +1 @@
1
+ function e(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}export{e as default};
@@ -0,0 +1 @@
1
+ function r(r,e){var a=r.slice(),t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var f;if(n){if(i>=t.length)break;f=t[i++]}else{if((i=t.next()).done)break;f=i.value}var o=f;r.indexOf(o)<0&&a.push(o)}return a.sort((function(r,e){return r-e}))}export{r as default};
@@ -0,0 +1 @@
1
+ var r={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function e(e){return r[e]}function a(r){var a="",t=r.split(""),n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var f;if(n){if(i>=t.length)break;f=t[i++]}else{if((i=t.next()).done)break;f=i.value}var o=e(f);o&&(a+=o)}return a}export{r as DIGITS,a as default,e as parseDigit};
@@ -0,0 +1 @@
1
+ import e from"../metadata.js";import{VALID_DIGITS as t}from"../constants.js";var a=new RegExp("(["+t+"])");function r(t,r,n,i){if(r){var f=new e(i);f.selectNumberingPlan(r,n);var l=new RegExp(f.IDDPrefix());if(0===t.search(l)){var m=(t=t.slice(t.match(l)[0].length)).match(a);if(!(m&&null!=m[1]&&m[1].length>0&&"0"===m[1]))return t}}}export{r as default};
@@ -0,0 +1 @@
1
+ import e from"./metadata.js";import n from"./helpers/checkNumberLength.js";function r(n,r,t){if(void 0===r&&(r={}),t=new e(t),r.v2){if(!n.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(n.countryCallingCode)}else{if(!n.phone)return!1;if(n.country){if(!t.hasCountry(n.country))throw new Error("Unknown country: ".concat(n.country));t.country(n.country)}else{if(!n.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(n.countryCallingCode)}}if(t.possibleLengths())return o(n.phone||n.nationalNumber,t);if(n.countryCallingCode&&t.isNonGeographicCallingCode(n.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function o(e,r){return"IS_POSSIBLE"===n(e,r)}export{r as default,o as isPossibleNumber};
@@ -0,0 +1 @@
1
+ import t from"./tools/semver-compare.js";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function a(t,n){for(var e=0;e<n.length;e++){var a=n[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function i(t,n,e){return n&&a(t.prototype,n),e&&a(t,e),t}var r=/^\d+$/,o=function(){function t(n){e(this,t),c(n),this.metadata=n,d.call(this,n)}return i(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(t){return"001"!==t}))}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var n=this.countryCallingCodes()[t];if(n&&1===n.length&&"001"===n[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,n){if(t&&r.test(t)&&(n=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new u(this.getCountryMetadata(t),this)}else if(n){if(!this.hasCallingCode(n))throw new Error("Unknown calling code: ".concat(n));this.numberingPlan=new u(this.getNumberingPlanMetadata(n),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var n=this.countryCallingCodes()[t];if(n){if(1===n.length&&3===n[0].length)return;return n}}},{key:"getCountryCodeForCallingCode",value:function(t){var n=this.getCountryCodesForCallingCode(t);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(t){var n=this.getCountryCodeForCallingCode(t);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var e=this.nonGeographic()[t];if(e)return e}else{var a=this.countryCallingCodes()[t];if(a&&1===a.length&&"001"===a[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),t}(),u=function(){function t(n,a){e(this,t),this.globalMetadataObject=a,this.metadata=n,d.call(this,a.metadata)}return i(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,n=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return n.map((function(n){return new s(n,t)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&f(this.types(),t))return new h(f(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?" ext. ":this.metadata[13]||" ext. "}}]),t}(),s=function(){function t(n,a){e(this,t),this._format=n,this.metadata=a}return i(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||l.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),t}(),l=/^\(?\$1\)?$/,h=function(){function t(n,a){e(this,t),this.type=n,this.metadata=a}return i(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),t}();function f(t,n){switch(n){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function c(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!g(t)||!g(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(g(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+y(t)+": "+t,"."))}var g=function(t){return"object"===n(t)},y=function(t){return n(t)};function m(t,n){if((n=new o(n)).hasCountry(t))return n.country(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function v(t,n){return void 0!==n.countries[t]}function d(n){var e=n.version;"number"==typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===t(e,"1.2.0")?this.v2=!0:-1===t(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}export{o as default,m as getCountryCallingCode,v as isSupportedCountry,c as validateMetadata};
@@ -0,0 +1 @@
1
+ import{parseDigit as r}from"./helpers/parseDigits.js";function e(r){var e="",i=r.split(""),a=Array.isArray(i),n=0;for(i=a?i:i[Symbol.iterator]();;){var f;if(a){if(n>=i.length)break;f=i[n++]}else{if((n=i.next()).done)break;f=n.value}e+=t(f,e)||""}return e}function t(e,t){if("+"===e){if(t)return;return"+"}return r(e)}export{e as default,t as parsePhoneNumberCharacter};
@@ -0,0 +1 @@
1
+ function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function n(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=[],e=!0,o=!1,i=void 0;try{for(var u,f=t[Symbol.iterator]();!(e=(u=f.next()).done)&&(n.push(u.value),!r||n.length!==r);e=!0);}catch(t){o=!0,i=t}finally{try{e||null==f.return||f.return()}finally{if(o)throw i}}return n}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function e(t){var e,i,u,f=n(Array.prototype.slice.call(t),4),c=f[0],a=f[1],l=f[2],y=f[3];if("string"!=typeof c)throw new TypeError("A text for parsing must be a string.");if(e=c,a&&"string"!=typeof a){if(!o(a))throw new Error("Invalid second argument: ".concat(a));l?(i=a,u=l):u=a}else y?(i=l,u=y):(i=void 0,u=l),a&&(i=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},o=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),o.forEach((function(n){r(t,n,e[n])}))}return t}({defaultCountry:a},i));return{text:e,options:i,metadata:u}}var o=function(r){return"object"===t(r)};export{e as normalizeArguments};
@@ -0,0 +1 @@
1
+ import{normalizeArguments as r}from"./parsePhoneNumber.js";import t from"./parsePhoneNumberFromString_.js";function e(){var e=r(arguments),o=e.text,a=e.options,m=e.metadata;return t(o,a,m)}export{e as default};
@@ -0,0 +1 @@
1
+ import r from"./parsePhoneNumber_.js";import t from"./ParseError.js";import{isSupportedCountry as e}from"./metadata.js";function n(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function o(o,u,a){u&&u.defaultCountry&&!e(u.defaultCountry,a)&&(u=function(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},o=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})))),o.forEach((function(t){n(r,t,e[t])}))}return r}({},u,{defaultCountry:void 0}));try{return r(o,u,a)}catch(r){if(!(r instanceof t))throw r}}export{o as default};
@@ -0,0 +1 @@
1
+ import e from"./parse_.js";function r(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function t(t,n,o){return e(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}({},n,{v2:!0}),o)}export{t as default};
@@ -0,0 +1 @@
1
+ import{MIN_LENGTH_FOR_NSN as r,MAX_LENGTH_FOR_NSN as e,PLUS_CHARS as t,VALID_DIGITS as n}from"./constants.js";import o from"./ParseError.js";import i,{getCountryCallingCode as a}from"./metadata.js";import u,{isViablePhoneNumberStart as l}from"./helpers/isViablePhoneNumber.js";import f from"./helpers/extension/extractExtension.js";import m from"./parseIncompletePhoneNumber.js";import{isPossibleNumber as s}from"./isPossibleNumber_.js";import{parseRFC3966 as c}from"./helpers/RFC3966.js";import d from"./PhoneNumber.js";import C from"./helpers/matchesEntirely.js";import p from"./helpers/extractCountryCallingCode.js";import h from"./helpers/extractNationalNumber.js";import N from"./helpers/getCountryByCallingCode.js";var O=new RegExp("["+t+n+"]"),w=new RegExp("[^"+n+"#]+$");function y(t,n,y){if(n=n||{},y=new i(y),n.defaultCountry&&!y.hasCountry(n.defaultCountry)){if(n.v2)throw new o("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(n.defaultCountry))}var b=function(r,e,t){if(r&&0===r.indexOf("tel:"))return c(r);var n=function(r,e,t){if(!r)return;if(r.length>250){if(t)throw new o("TOO_LONG");return}if(!1===e)return r;var n=r.search(O);if(n<0)return;return r.slice(n).replace(w,"")}(r,t,e);if(!n)return{};if(!u(n))return l(n)?{error:"TOO_SHORT"}:{};var i=f(n);if(i.ext)return i;return{number:n}}(t,n.v2,n.extract),g=b.number,v=b.ext,x=b.error;if(!g){if(n.v2){if("TOO_SHORT"===x)throw new o("TOO_SHORT");throw new o("NOT_A_NUMBER")}return{}}var j=function(r,e,t,n){var o,i=p(m(r),e,t,n.metadata),u=i.countryCallingCode,l=i.number;if(u)n.selectNumberingPlan(u);else{if(!l||!e&&!t)return{};n.selectNumberingPlan(e,t),e&&(o=e),u=t||a(e,n.metadata)}if(!l)return{countryCallingCode:u};var f=h(m(l),n),s=f.nationalNumber,c=f.carrierCode,d=N(u,s,n);d&&(o=d,"001"===d||n.country(o));return{country:o,countryCallingCode:u,nationalNumber:s,carrierCode:c}}(g,n.defaultCountry,n.defaultCallingCode,y),T=j.country,_=j.nationalNumber,P=j.countryCallingCode,R=j.carrierCode;if(!y.hasSelectedNumberingPlan()){if(n.v2)throw new o("INVALID_COUNTRY");return{}}if(!_||_.length<r){if(n.v2)throw new o("TOO_SHORT");return{}}if(_.length>e){if(n.v2)throw new o("TOO_LONG");return{}}if(n.v2){var E=new d(P,_,y.metadata);return T&&(E.country=T),R&&(E.carrierCode=R),v&&(E.ext=v),E}var S=!!(n.extended?y.hasSelectedNumberingPlan():T)&&C(_,y.nationalNumberPattern());return n.extended?{country:T,countryCallingCode:P,carrierCode:R,valid:S,possible:!!S||!(!0!==n.extended||!y.possibleLengths()||!s(_,y)),phone:_,ext:v}:S?function(r,e,t){var n={country:r,phone:e};t&&(n.ext=t);return n}(T,_,v):{}}export{y as default};
@@ -0,0 +1 @@
1
+ function r(r,i){r=r.split("-"),i=i.split("-");for(var t=r[0].split("."),N=i[0].split("."),e=0;e<3;e++){var s=Number(t[e]),u=Number(N[e]);if(s>u)return 1;if(u>s)return-1;if(!isNaN(s)&&isNaN(u))return 1;if(isNaN(s)&&!isNaN(u))return-1}return r[1]&&i[1]?r[1]>i[1]?1:r[1]<i[1]?-1:0:!r[1]&&i[1]?1:r[1]&&!i[1]?-1:0}export{r as default};
@@ -0,0 +1 @@
1
+ import e from"./metadata.js";import r from"./helpers/matchesEntirely.js";import t from"./helpers/getNumberType.js";function n(n,a,o){if(a=a||{},o=new e(o),!n.country)return!1;if(o.selectNumberingPlan(n.country,n.countryCallingCode),o.hasTypes())return void 0!==t(n,a,o.metadata);var m=a.v2?n.nationalNumber:n.phone;return r(m,o.nationalNumberPattern())}export{n as default};