bitz-react-admin-ui 2.10.6 → 2.10.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/dist/_virtual/AsymmetricMatcher.mjs +4 -0
  2. package/dist/_virtual/DOMCollection.mjs +4 -0
  3. package/dist/_virtual/DOMElement.mjs +4 -0
  4. package/dist/_virtual/Explorer.mjs +4 -0
  5. package/dist/_virtual/Explorer2.mjs +4 -0
  6. package/dist/_virtual/ExplorerBase.mjs +4 -0
  7. package/dist/_virtual/ExplorerBase2.mjs +4 -0
  8. package/dist/_virtual/ExplorerSync.mjs +4 -0
  9. package/dist/_virtual/ExplorerSync2.mjs +4 -0
  10. package/dist/_virtual/Immutable.mjs +4 -0
  11. package/dist/_virtual/ReactElement.mjs +4 -0
  12. package/dist/_virtual/ReactTestComponent.mjs +4 -0
  13. package/dist/_virtual/___vite-browser-external.mjs +6 -0
  14. package/dist/_virtual/__vite-browser-external.mjs +4 -0
  15. package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  16. package/dist/_virtual/addComment.mjs +4 -0
  17. package/dist/_virtual/addComments.mjs +4 -0
  18. package/dist/_virtual/appendToMemberExpression.mjs +4 -0
  19. package/dist/_virtual/assertNode.mjs +4 -0
  20. package/dist/_virtual/babel-plugin-lingui-macro.28bb9ad7.mjs +4 -0
  21. package/dist/_virtual/buildChildren.mjs +4 -0
  22. package/dist/_virtual/buildMatchMemberExpression.mjs +4 -0
  23. package/dist/_virtual/cacheWrapper.mjs +4 -0
  24. package/dist/_virtual/cleanJSXElementLiteralChild.mjs +4 -0
  25. package/dist/_virtual/clone.mjs +4 -0
  26. package/dist/_virtual/cloneDeep.mjs +4 -0
  27. package/dist/_virtual/cloneDeepWithoutLoc.mjs +4 -0
  28. package/dist/_virtual/cloneNode.mjs +4 -0
  29. package/dist/_virtual/cloneWithoutLoc.mjs +4 -0
  30. package/dist/_virtual/collections.mjs +4 -0
  31. package/dist/_virtual/common2.mjs +4 -0
  32. package/dist/_virtual/condition.mjs +4 -0
  33. package/dist/_virtual/conversions.mjs +4 -0
  34. package/dist/_virtual/core.mjs +4 -0
  35. package/dist/_virtual/createFlowUnionType.mjs +4 -0
  36. package/dist/_virtual/createTSUnionType.mjs +4 -0
  37. package/dist/_virtual/createTypeAnnotationBasedOnTypeof.mjs +4 -0
  38. package/dist/_virtual/dayjs.min.mjs +2 -5
  39. package/dist/_virtual/defaultConfig.mjs +4 -0
  40. package/dist/_virtual/deprecated-aliases.mjs +4 -0
  41. package/dist/_virtual/deprecated.mjs +4 -0
  42. package/dist/_virtual/deprecationWarning.mjs +4 -0
  43. package/dist/_virtual/dumper.mjs +4 -0
  44. package/dist/_virtual/ensureBlock.mjs +4 -0
  45. package/dist/_virtual/errors.mjs +4 -0
  46. package/dist/_virtual/escapeHTML.mjs +4 -0
  47. package/dist/_virtual/experimental.mjs +4 -0
  48. package/dist/_virtual/flow.mjs +4 -0
  49. package/dist/_virtual/gatherSequenceExpressions.mjs +4 -0
  50. package/dist/_virtual/generateMessageId.mjs +4 -0
  51. package/dist/_virtual/getAssignmentIdentifiers.mjs +4 -0
  52. package/dist/_virtual/getBindingIdentifiers.mjs +4 -0
  53. package/dist/_virtual/getDirectory.mjs +4 -0
  54. package/dist/_virtual/getFunctionName.mjs +4 -0
  55. package/dist/_virtual/getOuterBindingIdentifiers.mjs +4 -0
  56. package/dist/_virtual/getPropertyByPath.mjs +4 -0
  57. package/dist/_virtual/identifier.mjs +4 -0
  58. package/dist/_virtual/index10.mjs +4 -0
  59. package/dist/_virtual/index11.mjs +4 -0
  60. package/dist/_virtual/index12.mjs +4 -0
  61. package/dist/_virtual/index13.mjs +4 -0
  62. package/dist/_virtual/index14.mjs +4 -0
  63. package/dist/_virtual/index15.mjs +4 -0
  64. package/dist/_virtual/index16.mjs +4 -0
  65. package/dist/_virtual/index17.mjs +4 -0
  66. package/dist/_virtual/index18.mjs +4 -0
  67. package/dist/_virtual/index19.mjs +4 -0
  68. package/dist/_virtual/index20.mjs +4 -0
  69. package/dist/_virtual/index21.mjs +4 -0
  70. package/dist/_virtual/index22.mjs +4 -0
  71. package/dist/_virtual/index23.mjs +6 -0
  72. package/dist/_virtual/index24.mjs +4 -0
  73. package/dist/_virtual/index25.mjs +4 -0
  74. package/dist/_virtual/index26.mjs +4 -0
  75. package/dist/_virtual/index27.mjs +4 -0
  76. package/dist/_virtual/index29.mjs +4 -0
  77. package/dist/_virtual/index30.mjs +4 -0
  78. package/dist/_virtual/index31.mjs +4 -0
  79. package/dist/_virtual/index32.mjs +4 -0
  80. package/dist/_virtual/index33.mjs +4 -0
  81. package/dist/_virtual/index34.mjs +4 -0
  82. package/dist/_virtual/index35.mjs +4 -0
  83. package/dist/_virtual/index36.mjs +4 -0
  84. package/dist/_virtual/index37.mjs +4 -0
  85. package/dist/_virtual/index38.mjs +4 -0
  86. package/dist/_virtual/index39.mjs +4 -0
  87. package/dist/_virtual/index40.mjs +4 -0
  88. package/dist/_virtual/index7.mjs +4 -0
  89. package/dist/_virtual/index8.mjs +6 -0
  90. package/dist/_virtual/index9.mjs +4 -0
  91. package/dist/_virtual/inherit.mjs +4 -0
  92. package/dist/_virtual/inheritInnerComments.mjs +4 -0
  93. package/dist/_virtual/inheritLeadingComments.mjs +4 -0
  94. package/dist/_virtual/inheritTrailingComments.mjs +4 -0
  95. package/dist/_virtual/inherits.mjs +4 -0
  96. package/dist/_virtual/inheritsComments.mjs +4 -0
  97. package/dist/_virtual/inherits_browser.mjs +4 -0
  98. package/dist/_virtual/is.mjs +4 -0
  99. package/dist/_virtual/isBinding.mjs +4 -0
  100. package/dist/_virtual/isBlockScoped.mjs +4 -0
  101. package/dist/_virtual/isCompatTag.mjs +4 -0
  102. package/dist/_virtual/isImmutable.mjs +4 -0
  103. package/dist/_virtual/isLet.mjs +4 -0
  104. package/dist/_virtual/isNode.mjs +4 -0
  105. package/dist/_virtual/isNodesEquivalent.mjs +4 -0
  106. package/dist/_virtual/isPlaceholderType.mjs +4 -0
  107. package/dist/_virtual/isReactComponent.mjs +4 -0
  108. package/dist/_virtual/isReferenced.mjs +4 -0
  109. package/dist/_virtual/isScope.mjs +4 -0
  110. package/dist/_virtual/isSpecifierDefault.mjs +4 -0
  111. package/dist/_virtual/isType.mjs +4 -0
  112. package/dist/_virtual/isValidES3Identifier.mjs +4 -0
  113. package/dist/_virtual/isValidIdentifier.mjs +4 -0
  114. package/dist/_virtual/isVar.mjs +4 -0
  115. package/dist/_virtual/jsx.mjs +4 -0
  116. package/dist/_virtual/keyword.mjs +4 -0
  117. package/dist/_virtual/loader.mjs +4 -0
  118. package/dist/_virtual/loaders.mjs +4 -0
  119. package/dist/_virtual/loaders2.mjs +4 -0
  120. package/dist/_virtual/macro.mjs +4 -0
  121. package/dist/_virtual/markup.mjs +4 -0
  122. package/dist/_virtual/matchesPattern.mjs +4 -0
  123. package/dist/_virtual/misc.mjs +4 -0
  124. package/dist/_virtual/picocolors.browser.mjs +4 -0
  125. package/dist/_virtual/placeholders.mjs +4 -0
  126. package/dist/_virtual/prependToMemberExpression.mjs +4 -0
  127. package/dist/_virtual/productions.mjs +4 -0
  128. package/dist/_virtual/react-is.development3.mjs +4 -0
  129. package/dist/_virtual/react-is.production.min3.mjs +4 -0
  130. package/dist/_virtual/readFile.mjs +4 -0
  131. package/dist/_virtual/removeComments.mjs +4 -0
  132. package/dist/_virtual/removeProperties.mjs +4 -0
  133. package/dist/_virtual/removePropertiesDeep.mjs +4 -0
  134. package/dist/_virtual/removeTypeDuplicates.mjs +4 -0
  135. package/dist/_virtual/removeTypeDuplicates2.mjs +4 -0
  136. package/dist/_virtual/sha256.mjs +4 -0
  137. package/dist/_virtual/shallowEqual.mjs +4 -0
  138. package/dist/_virtual/toBindingIdentifierName.mjs +4 -0
  139. package/dist/_virtual/toBlock.mjs +4 -0
  140. package/dist/_virtual/toComputedKey.mjs +4 -0
  141. package/dist/_virtual/toExpression.mjs +4 -0
  142. package/dist/_virtual/toIdentifier.mjs +4 -0
  143. package/dist/_virtual/toKeyAlias.mjs +4 -0
  144. package/dist/_virtual/toSequenceExpression.mjs +4 -0
  145. package/dist/_virtual/toStatement.mjs +4 -0
  146. package/dist/_virtual/traverse.mjs +4 -0
  147. package/dist/_virtual/traverseFast.mjs +4 -0
  148. package/dist/_virtual/types.mjs +4 -0
  149. package/dist/_virtual/types2.mjs +4 -0
  150. package/dist/_virtual/typescript.mjs +4 -0
  151. package/dist/_virtual/typescript2.mjs +11 -0
  152. package/dist/_virtual/typescript3.mjs +4 -0
  153. package/dist/_virtual/uppercase.mjs +4 -0
  154. package/dist/_virtual/util.mjs +4 -0
  155. package/dist/_virtual/util2.mjs +4 -0
  156. package/dist/_virtual/utils2.mjs +4 -0
  157. package/dist/_virtual/utils3.mjs +4 -0
  158. package/dist/_virtual/validate.mjs +4 -0
  159. package/dist/_virtual/validate2.mjs +4 -0
  160. package/dist/_virtual/validateCLIOptions.mjs +4 -0
  161. package/dist/_virtual/validateNode.mjs +4 -0
  162. package/dist/_virtual/valueToNode.mjs +4 -0
  163. package/dist/_virtual/warnings.mjs +4 -0
  164. package/dist/components/BitzCalendar/index.mjs +1 -1
  165. package/dist/components/BitzDayJs/index.mjs +1 -1
  166. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  167. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  168. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  169. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  170. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  171. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  172. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  173. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  174. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  175. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  176. package/dist/components/BitzTable/Store/index.mjs +5 -3
  177. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
  178. package/dist/node_modules/@babel/code-frame/lib/index.mjs +133 -0
  179. package/dist/node_modules/@babel/helper-string-parser/lib/index.mjs +218 -0
  180. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +46 -0
  181. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.mjs +51 -0
  182. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +32 -0
  183. package/dist/node_modules/@babel/highlight/lib/index.mjs +128 -0
  184. package/dist/node_modules/@babel/highlight/node_modules/ansi-styles/index.mjs +116 -0
  185. package/dist/node_modules/@babel/highlight/node_modules/chalk/index.mjs +126 -0
  186. package/dist/node_modules/@babel/highlight/node_modules/chalk/templates.mjs +86 -0
  187. package/dist/node_modules/@babel/highlight/node_modules/color-convert/conversions.mjs +274 -0
  188. package/dist/node_modules/@babel/highlight/node_modules/color-convert/index.mjs +39 -0
  189. package/dist/node_modules/@babel/highlight/node_modules/color-convert/route.mjs +47 -0
  190. package/dist/node_modules/@babel/highlight/node_modules/color-name/index.mjs +156 -0
  191. package/dist/node_modules/@babel/highlight/node_modules/supports-color/browser.mjs +10 -0
  192. package/dist/node_modules/@babel/types/lib/asserts/assertNode.mjs +15 -0
  193. package/dist/node_modules/@babel/types/lib/asserts/generated/index.mjs +1231 -0
  194. package/dist/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.mjs +21 -0
  195. package/dist/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.mjs +37 -0
  196. package/dist/node_modules/@babel/types/lib/builders/generated/index.mjs +1741 -0
  197. package/dist/node_modules/@babel/types/lib/builders/generated/uppercase.mjs +1284 -0
  198. package/dist/node_modules/@babel/types/lib/builders/productions.mjs +18 -0
  199. package/dist/node_modules/@babel/types/lib/builders/react/buildChildren.mjs +29 -0
  200. package/dist/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.mjs +23 -0
  201. package/dist/node_modules/@babel/types/lib/builders/validateNode.mjs +22 -0
  202. package/dist/node_modules/@babel/types/lib/clone/clone.mjs +11 -0
  203. package/dist/node_modules/@babel/types/lib/clone/cloneDeep.mjs +11 -0
  204. package/dist/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.mjs +11 -0
  205. package/dist/node_modules/@babel/types/lib/clone/cloneNode.mjs +57 -0
  206. package/dist/node_modules/@babel/types/lib/clone/cloneWithoutLoc.mjs +11 -0
  207. package/dist/node_modules/@babel/types/lib/comments/addComment.mjs +14 -0
  208. package/dist/node_modules/@babel/types/lib/comments/addComments.mjs +11 -0
  209. package/dist/node_modules/@babel/types/lib/comments/inheritInnerComments.mjs +11 -0
  210. package/dist/node_modules/@babel/types/lib/comments/inheritLeadingComments.mjs +11 -0
  211. package/dist/node_modules/@babel/types/lib/comments/inheritTrailingComments.mjs +11 -0
  212. package/dist/node_modules/@babel/types/lib/comments/inheritsComments.mjs +15 -0
  213. package/dist/node_modules/@babel/types/lib/comments/removeComments.mjs +13 -0
  214. package/dist/node_modules/@babel/types/lib/constants/generated/index.mjs +60 -0
  215. package/dist/node_modules/@babel/types/lib/constants/index.mjs +25 -0
  216. package/dist/node_modules/@babel/types/lib/converters/ensureBlock.mjs +19 -0
  217. package/dist/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.mjs +59 -0
  218. package/dist/node_modules/@babel/types/lib/converters/toBindingIdentifierName.mjs +11 -0
  219. package/dist/node_modules/@babel/types/lib/converters/toBlock.mjs +23 -0
  220. package/dist/node_modules/@babel/types/lib/converters/toComputedKey.mjs +20 -0
  221. package/dist/node_modules/@babel/types/lib/converters/toExpression.mjs +16 -0
  222. package/dist/node_modules/@babel/types/lib/converters/toIdentifier.mjs +19 -0
  223. package/dist/node_modules/@babel/types/lib/converters/toKeyAlias.mjs +20 -0
  224. package/dist/node_modules/@babel/types/lib/converters/toSequenceExpression.mjs +25 -0
  225. package/dist/node_modules/@babel/types/lib/converters/toStatement.mjs +35 -0
  226. package/dist/node_modules/@babel/types/lib/converters/valueToNode.mjs +63 -0
  227. package/dist/node_modules/@babel/types/lib/definitions/core.mjs +1556 -0
  228. package/dist/node_modules/@babel/types/lib/definitions/deprecated-aliases.mjs +11 -0
  229. package/dist/node_modules/@babel/types/lib/definitions/experimental.mjs +130 -0
  230. package/dist/node_modules/@babel/types/lib/definitions/flow.mjs +433 -0
  231. package/dist/node_modules/@babel/types/lib/definitions/index.mjs +84 -0
  232. package/dist/node_modules/@babel/types/lib/definitions/jsx.mjs +151 -0
  233. package/dist/node_modules/@babel/types/lib/definitions/misc.mjs +35 -0
  234. package/dist/node_modules/@babel/types/lib/definitions/placeholders.mjs +28 -0
  235. package/dist/node_modules/@babel/types/lib/definitions/typescript.mjs +445 -0
  236. package/dist/node_modules/@babel/types/lib/definitions/utils.mjs +200 -0
  237. package/dist/node_modules/@babel/types/lib/index.mjs +569 -0
  238. package/dist/node_modules/@babel/types/lib/modifications/appendToMemberExpression.mjs +18 -0
  239. package/dist/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.mjs +44 -0
  240. package/dist/node_modules/@babel/types/lib/modifications/inherits.mjs +21 -0
  241. package/dist/node_modules/@babel/types/lib/modifications/prependToMemberExpression.mjs +21 -0
  242. package/dist/node_modules/@babel/types/lib/modifications/removeProperties.mjs +19 -0
  243. package/dist/node_modules/@babel/types/lib/modifications/removePropertiesDeep.mjs +13 -0
  244. package/dist/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.mjs +44 -0
  245. package/dist/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.mjs +40 -0
  246. package/dist/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.mjs +81 -0
  247. package/dist/node_modules/@babel/types/lib/retrievers/getFunctionName.mjs +37 -0
  248. package/dist/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.mjs +12 -0
  249. package/dist/node_modules/@babel/types/lib/traverse/traverse.mjs +41 -0
  250. package/dist/node_modules/@babel/types/lib/traverse/traverseFast.mjs +23 -0
  251. package/dist/node_modules/@babel/types/lib/utils/deprecationWarning.mjs +37 -0
  252. package/dist/node_modules/@babel/types/lib/utils/inherit.mjs +8 -0
  253. package/dist/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.mjs +29 -0
  254. package/dist/node_modules/@babel/types/lib/utils/shallowEqual.mjs +12 -0
  255. package/dist/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.mjs +12 -0
  256. package/dist/node_modules/@babel/types/lib/validators/generated/index.mjs +2300 -0
  257. package/dist/node_modules/@babel/types/lib/validators/is.mjs +22 -0
  258. package/dist/node_modules/@babel/types/lib/validators/isBinding.mjs +23 -0
  259. package/dist/node_modules/@babel/types/lib/validators/isBlockScoped.mjs +13 -0
  260. package/dist/node_modules/@babel/types/lib/validators/isImmutable.mjs +12 -0
  261. package/dist/node_modules/@babel/types/lib/validators/isLet.mjs +13 -0
  262. package/dist/node_modules/@babel/types/lib/validators/isNode.mjs +10 -0
  263. package/dist/node_modules/@babel/types/lib/validators/isNodesEquivalent.mjs +40 -0
  264. package/dist/node_modules/@babel/types/lib/validators/isPlaceholderType.mjs +26 -0
  265. package/dist/node_modules/@babel/types/lib/validators/isReferenced.mjs +75 -0
  266. package/dist/node_modules/@babel/types/lib/validators/isScope.mjs +11 -0
  267. package/dist/node_modules/@babel/types/lib/validators/isSpecifierDefault.mjs +13 -0
  268. package/dist/node_modules/@babel/types/lib/validators/isType.mjs +30 -0
  269. package/dist/node_modules/@babel/types/lib/validators/isValidES3Identifier.mjs +12 -0
  270. package/dist/node_modules/@babel/types/lib/validators/isValidIdentifier.mjs +11 -0
  271. package/dist/node_modules/@babel/types/lib/validators/isVar.mjs +15 -0
  272. package/dist/node_modules/@babel/types/lib/validators/matchesPattern.mjs +33 -0
  273. package/dist/node_modules/@babel/types/lib/validators/react/isCompatTag.mjs +8 -0
  274. package/dist/node_modules/@babel/types/lib/validators/react/isReactComponent.mjs +10 -0
  275. package/dist/node_modules/@babel/types/lib/validators/validate.mjs +33 -0
  276. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/index.mjs +525 -0
  277. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/macro.mjs +47 -0
  278. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/shared/babel-plugin-lingui-macro.28bb9ad7.mjs +336 -0
  279. package/dist/node_modules/@lingui/conf/dist/index.mjs +384 -0
  280. package/dist/node_modules/@lingui/message-utils/dist/generateMessageId.mjs +16 -0
  281. package/dist/node_modules/@lingui/react/macro/index.mjs +5 -0
  282. package/dist/node_modules/ansi-styles/index.mjs +112 -0
  283. package/dist/node_modules/available-typed-arrays/index.mjs +10 -0
  284. package/dist/node_modules/babel-plugin-macros/dist/index.mjs +233 -0
  285. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.mjs +67 -0
  286. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.mjs +87 -0
  287. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.mjs +67 -0
  288. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.mjs +27 -0
  289. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.mjs +26 -0
  290. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs +16 -0
  291. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.mjs +72 -0
  292. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.mjs +46 -0
  293. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.mjs +49 -0
  294. package/dist/node_modules/call-bind/callBound.mjs +9 -0
  295. package/dist/node_modules/call-bind/index.mjs +27 -0
  296. package/dist/node_modules/callsites/index.mjs +17 -0
  297. package/dist/node_modules/chalk/source/index.mjs +131 -0
  298. package/dist/node_modules/chalk/source/templates.mjs +89 -0
  299. package/dist/node_modules/chalk/source/util.mjs +28 -0
  300. package/dist/node_modules/color-convert/conversions.mjs +308 -0
  301. package/dist/node_modules/color-convert/index.mjs +41 -0
  302. package/dist/node_modules/color-convert/route.mjs +53 -0
  303. package/dist/node_modules/color-name/index.mjs +156 -0
  304. package/dist/node_modules/cosmiconfig/dist/Explorer.mjs +91 -0
  305. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.mjs +68 -0
  306. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.mjs +105 -0
  307. package/dist/node_modules/cosmiconfig/dist/index.mjs +184 -0
  308. package/dist/node_modules/cosmiconfig/dist/loaders.mjs +103 -0
  309. package/dist/node_modules/cosmiconfig/dist/types.mjs +5 -0
  310. package/dist/node_modules/cosmiconfig/dist/util.mjs +24 -0
  311. package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
  312. package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  313. package/dist/node_modules/define-data-property/index.mjs +33 -0
  314. package/dist/node_modules/error-ex/index.mjs +69 -0
  315. package/dist/node_modules/es-define-property/index.mjs +18 -0
  316. package/dist/node_modules/es-errors/eval.mjs +4 -0
  317. package/dist/node_modules/es-errors/index.mjs +4 -0
  318. package/dist/node_modules/es-errors/range.mjs +4 -0
  319. package/dist/node_modules/es-errors/ref.mjs +4 -0
  320. package/dist/node_modules/es-errors/syntax.mjs +4 -0
  321. package/dist/node_modules/es-errors/type.mjs +4 -0
  322. package/dist/node_modules/es-errors/uri.mjs +4 -0
  323. package/dist/node_modules/escape-string-regexp/index.mjs +15 -0
  324. package/dist/node_modules/for-each/index.mjs +19 -0
  325. package/dist/node_modules/function-bind/implementation.mjs +42 -0
  326. package/dist/node_modules/function-bind/index.mjs +5 -0
  327. package/dist/node_modules/get-intrinsic/index.mjs +240 -0
  328. package/dist/node_modules/gopd/index.mjs +12 -0
  329. package/dist/node_modules/has-property-descriptors/index.mjs +17 -0
  330. package/dist/node_modules/has-proto/index.mjs +9 -0
  331. package/dist/node_modules/has-symbols/index.mjs +7 -0
  332. package/dist/node_modules/has-symbols/shams.mjs +27 -0
  333. package/dist/node_modules/has-tostringtag/shams.mjs +7 -0
  334. package/dist/node_modules/hasown/index.mjs +5 -0
  335. package/dist/node_modules/import-fresh/index.mjs +27 -0
  336. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.mjs +41 -0
  337. package/dist/node_modules/inherits/inherits_browser.mjs +22 -0
  338. package/dist/node_modules/is-arguments/index.mjs +14 -0
  339. package/dist/node_modules/is-arrayish/index.mjs +9 -0
  340. package/dist/node_modules/is-callable/index.mjs +70 -0
  341. package/dist/node_modules/is-core-module/core.json.mjs +443 -0
  342. package/dist/node_modules/is-core-module/index.mjs +40 -0
  343. package/dist/node_modules/is-generator-function/index.mjs +28 -0
  344. package/dist/node_modules/is-typed-array/index.mjs +7 -0
  345. package/dist/node_modules/jest-get-type/build/index.mjs +47 -0
  346. package/dist/node_modules/jest-validate/build/condition.mjs +25 -0
  347. package/dist/node_modules/jest-validate/build/defaultConfig.mjs +35 -0
  348. package/dist/node_modules/jest-validate/build/deprecated.mjs +16 -0
  349. package/dist/node_modules/jest-validate/build/errors.mjs +58 -0
  350. package/dist/node_modules/jest-validate/build/index.mjs +55 -0
  351. package/dist/node_modules/jest-validate/build/utils.mjs +84 -0
  352. package/dist/node_modules/jest-validate/build/validate.mjs +66 -0
  353. package/dist/node_modules/jest-validate/build/validateCLIOptions.mjs +87 -0
  354. package/dist/node_modules/jest-validate/build/warnings.mjs +34 -0
  355. package/dist/node_modules/jest-validate/node_modules/ansi-styles/index.mjs +110 -0
  356. package/dist/node_modules/jest-validate/node_modules/camelcase/index.mjs +30 -0
  357. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/collections.mjs +94 -0
  358. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/index.mjs +275 -0
  359. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.mjs +50 -0
  360. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.mjs +42 -0
  361. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.mjs +72 -0
  362. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.mjs +119 -0
  363. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.mjs +101 -0
  364. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.mjs +47 -0
  365. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.mjs +16 -0
  366. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.mjs +51 -0
  367. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.mjs +103 -0
  368. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
  369. package/dist/node_modules/jest-validate/node_modules/react-is/index.mjs +10 -0
  370. package/dist/node_modules/js-sha256/src/sha256.mjs +257 -0
  371. package/dist/node_modules/js-tokens/index.mjs +13 -0
  372. package/dist/node_modules/js-yaml/index.mjs +53 -0
  373. package/dist/node_modules/js-yaml/lib/common.mjs +36 -0
  374. package/dist/node_modules/js-yaml/lib/dumper.mjs +306 -0
  375. package/dist/node_modules/js-yaml/lib/exception.mjs +21 -0
  376. package/dist/node_modules/js-yaml/lib/loader.mjs +448 -0
  377. package/dist/node_modules/js-yaml/lib/schema/core.mjs +8 -0
  378. package/dist/node_modules/js-yaml/lib/schema/default.mjs +25 -0
  379. package/dist/node_modules/js-yaml/lib/schema/failsafe.mjs +21 -0
  380. package/dist/node_modules/js-yaml/lib/schema/json.mjs +19 -0
  381. package/dist/node_modules/js-yaml/lib/schema.mjs +68 -0
  382. package/dist/node_modules/js-yaml/lib/snippet.mjs +53 -0
  383. package/dist/node_modules/js-yaml/lib/type/binary.mjs +46 -0
  384. package/dist/node_modules/js-yaml/lib/type/bool.mjs +41 -0
  385. package/dist/node_modules/js-yaml/lib/type/float.mjs +69 -0
  386. package/dist/node_modules/js-yaml/lib/type/int.mjs +113 -0
  387. package/dist/node_modules/js-yaml/lib/type/map.mjs +17 -0
  388. package/dist/node_modules/js-yaml/lib/type/merge.mjs +18 -0
  389. package/dist/node_modules/js-yaml/lib/type/null.mjs +47 -0
  390. package/dist/node_modules/js-yaml/lib/type/omap.mjs +41 -0
  391. package/dist/node_modules/js-yaml/lib/type/pairs.mjs +35 -0
  392. package/dist/node_modules/js-yaml/lib/type/seq.mjs +17 -0
  393. package/dist/node_modules/js-yaml/lib/type/set.mjs +28 -0
  394. package/dist/node_modules/js-yaml/lib/type/str.mjs +17 -0
  395. package/dist/node_modules/js-yaml/lib/type/timestamp.mjs +41 -0
  396. package/dist/node_modules/js-yaml/lib/type.mjs +46 -0
  397. package/dist/node_modules/json-parse-even-better-errors/index.mjs +72 -0
  398. package/dist/node_modules/leven/index.mjs +32 -0
  399. package/dist/node_modules/lines-and-columns/build/index.mjs +47 -0
  400. package/dist/node_modules/parent-module/index.mjs +29 -0
  401. package/dist/node_modules/parse-json/index.mjs +42 -0
  402. package/dist/node_modules/path-parse/index.mjs +50 -0
  403. package/dist/node_modules/path-type/index.mjs +36 -0
  404. package/dist/node_modules/picocolors/picocolors.browser.mjs +14 -0
  405. package/dist/node_modules/possible-typed-array-names/index.mjs +16 -0
  406. package/dist/node_modules/resolve/index.mjs +12 -0
  407. package/dist/node_modules/resolve/lib/async.mjs +237 -0
  408. package/dist/node_modules/resolve/lib/caller.mjs +11 -0
  409. package/dist/node_modules/resolve/lib/core.json.mjs +437 -0
  410. package/dist/node_modules/resolve/lib/core.mjs +9 -0
  411. package/dist/node_modules/resolve/lib/homedir.mjs +8 -0
  412. package/dist/node_modules/resolve/lib/is-core.mjs +7 -0
  413. package/dist/node_modules/resolve/lib/node-modules-paths.mjs +29 -0
  414. package/dist/node_modules/resolve/lib/normalize-options.mjs +6 -0
  415. package/dist/node_modules/resolve/lib/sync.mjs +150 -0
  416. package/dist/node_modules/set-function-length/index.mjs +32 -0
  417. package/dist/node_modules/supports-color/browser.mjs +7 -0
  418. package/dist/node_modules/to-fast-properties/index.mjs +15 -0
  419. package/dist/node_modules/typescript/lib/typescript.mjs +158039 -0
  420. package/dist/node_modules/util/support/isBufferBrowser.mjs +6 -0
  421. package/dist/node_modules/util/support/types.mjs +189 -0
  422. package/dist/node_modules/util/util.mjs +399 -0
  423. package/dist/node_modules/which-typed-array/index.mjs +71 -0
  424. package/dist/node_modules/yaml/browser/dist/PlainValue-b8036b75.mjs +883 -0
  425. package/dist/node_modules/yaml/browser/dist/Schema-e94716c8.mjs +548 -0
  426. package/dist/node_modules/yaml/browser/dist/index.mjs +690 -0
  427. package/dist/node_modules/yaml/browser/dist/parse-cst.mjs +1141 -0
  428. package/dist/node_modules/yaml/browser/dist/resolveSeq-492ab440.mjs +1566 -0
  429. package/dist/node_modules/yaml/browser/dist/warnings-df54cb69.mjs +337 -0
  430. package/dist/node_modules/yaml/browser/index.mjs +8 -0
  431. package/dist/style.css +1 -1
  432. package/dist/utils/time.mjs +1 -1
  433. package/package.json +5 -1
  434. /package/dist/_virtual/{dayjs.min2.mjs → index28.mjs} +0 -0
@@ -0,0 +1,16 @@
1
+ import { __exports as r } from "../../../../_virtual/generateMessageId.mjs";
2
+ import { s as a } from "../../../js-sha256/src/sha256.mjs";
3
+ const o = a, n = "";
4
+ function g(s, t = "") {
5
+ return i(o.sha256(s + n + (t || ""))).slice(0, 6);
6
+ }
7
+ function i(s) {
8
+ let t = "";
9
+ for (let e = 0; e < s.length; e++)
10
+ t += e - 1 & 1 ? "" : String.fromCharCode(parseInt(s.substring(e - 1, e + 1), 16));
11
+ return btoa(t);
12
+ }
13
+ r.generateMessageId = g;
14
+ export {
15
+ r as default
16
+ };
@@ -0,0 +1,5 @@
1
+ import { m as r } from "../../babel-plugin-lingui-macro/dist/macro.mjs";
2
+ var o = r;
3
+ export {
4
+ o as m
5
+ };
@@ -0,0 +1,112 @@
1
+ import { __module as b } from "../../_virtual/index21.mjs";
2
+ import { __require as C } from "../color-convert/index.mjs";
3
+ b.exports;
4
+ (function(d) {
5
+ const u = (r, e) => (...t) => `\x1B[${r(...t) + e}m`, B = (r, e) => (...t) => {
6
+ const o = r(...t);
7
+ return `\x1B[${38 + e};5;${o}m`;
8
+ }, f = (r, e) => (...t) => {
9
+ const o = r(...t);
10
+ return `\x1B[${38 + e};2;${o[0]};${o[1]};${o[2]}m`;
11
+ }, a = (r) => r, m = (r, e, t) => [r, e, t], s = (r, e, t) => {
12
+ Object.defineProperty(r, e, {
13
+ get: () => {
14
+ const o = t();
15
+ return Object.defineProperty(r, e, {
16
+ value: o,
17
+ enumerable: !0,
18
+ configurable: !0
19
+ }), o;
20
+ },
21
+ enumerable: !0,
22
+ configurable: !0
23
+ });
24
+ };
25
+ let g;
26
+ const i = (r, e, t, o) => {
27
+ g === void 0 && (g = C());
28
+ const l = o ? 10 : 0, n = {};
29
+ for (const [c, h] of Object.entries(g)) {
30
+ const y = c === "ansi16" ? "ansi" : c;
31
+ c === e ? n[y] = r(t, l) : typeof h == "object" && (n[y] = r(h[e], l));
32
+ }
33
+ return n;
34
+ };
35
+ function p() {
36
+ const r = /* @__PURE__ */ new Map(), e = {
37
+ modifier: {
38
+ reset: [0, 0],
39
+ // 21 isn't widely supported and 22 does the same thing
40
+ bold: [1, 22],
41
+ dim: [2, 22],
42
+ italic: [3, 23],
43
+ underline: [4, 24],
44
+ inverse: [7, 27],
45
+ hidden: [8, 28],
46
+ strikethrough: [9, 29]
47
+ },
48
+ color: {
49
+ black: [30, 39],
50
+ red: [31, 39],
51
+ green: [32, 39],
52
+ yellow: [33, 39],
53
+ blue: [34, 39],
54
+ magenta: [35, 39],
55
+ cyan: [36, 39],
56
+ white: [37, 39],
57
+ // Bright color
58
+ blackBright: [90, 39],
59
+ redBright: [91, 39],
60
+ greenBright: [92, 39],
61
+ yellowBright: [93, 39],
62
+ blueBright: [94, 39],
63
+ magentaBright: [95, 39],
64
+ cyanBright: [96, 39],
65
+ whiteBright: [97, 39]
66
+ },
67
+ bgColor: {
68
+ bgBlack: [40, 49],
69
+ bgRed: [41, 49],
70
+ bgGreen: [42, 49],
71
+ bgYellow: [43, 49],
72
+ bgBlue: [44, 49],
73
+ bgMagenta: [45, 49],
74
+ bgCyan: [46, 49],
75
+ bgWhite: [47, 49],
76
+ // Bright color
77
+ bgBlackBright: [100, 49],
78
+ bgRedBright: [101, 49],
79
+ bgGreenBright: [102, 49],
80
+ bgYellowBright: [103, 49],
81
+ bgBlueBright: [104, 49],
82
+ bgMagentaBright: [105, 49],
83
+ bgCyanBright: [106, 49],
84
+ bgWhiteBright: [107, 49]
85
+ }
86
+ };
87
+ e.color.gray = e.color.blackBright, e.bgColor.bgGray = e.bgColor.bgBlackBright, e.color.grey = e.color.blackBright, e.bgColor.bgGrey = e.bgColor.bgBlackBright;
88
+ for (const [t, o] of Object.entries(e)) {
89
+ for (const [l, n] of Object.entries(o))
90
+ e[l] = {
91
+ open: `\x1B[${n[0]}m`,
92
+ close: `\x1B[${n[1]}m`
93
+ }, o[l] = e[l], r.set(n[0], n[1]);
94
+ Object.defineProperty(e, t, {
95
+ value: o,
96
+ enumerable: !1
97
+ });
98
+ }
99
+ return Object.defineProperty(e, "codes", {
100
+ value: r,
101
+ enumerable: !1
102
+ }), e.color.close = "\x1B[39m", e.bgColor.close = "\x1B[49m", s(e.color, "ansi", () => i(u, "ansi16", a, !1)), s(e.color, "ansi256", () => i(B, "ansi256", a, !1)), s(e.color, "ansi16m", () => i(f, "rgb", m, !1)), s(e.bgColor, "ansi", () => i(u, "ansi16", a, !0)), s(e.bgColor, "ansi256", () => i(B, "ansi256", a, !0)), s(e.bgColor, "ansi16m", () => i(f, "rgb", m, !0)), e;
103
+ }
104
+ Object.defineProperty(d, "exports", {
105
+ enumerable: !0,
106
+ get: p
107
+ });
108
+ })(b);
109
+ var $ = b.exports;
110
+ export {
111
+ $ as a
112
+ };
@@ -0,0 +1,10 @@
1
+ import { commonjsGlobal as e } from "../../_virtual/_commonjsHelpers.mjs";
2
+ import { p as l } from "../possible-typed-array-names/index.mjs";
3
+ var o = l, s = typeof globalThis > "u" ? e : globalThis, f = function() {
4
+ for (var r = [], a = 0; a < o.length; a++)
5
+ typeof s[o[a]] == "function" && (r[r.length] = o[a]);
6
+ return r;
7
+ };
8
+ export {
9
+ f as a
10
+ };
@@ -0,0 +1,233 @@
1
+ import { commonjsRequire as V } from "../../../_virtual/_commonjs-dynamic-modules.mjs";
2
+ import { __module as x } from "../../../_virtual/index7.mjs";
3
+ import L from "../../../_virtual/___vite-browser-external.mjs";
4
+ import { r as N } from "../../resolve/index.mjs";
5
+ import { __require as A } from "../node_modules/cosmiconfig/dist/index.mjs";
6
+ (function(y) {
7
+ const h = L, M = N, E = /[./]macro(\.c?js)?$/, P = (e) => E.test(e);
8
+ class j extends Error {
9
+ constructor(r) {
10
+ super(r), this.name = "MacroError", typeof Error.captureStackTrace == "function" ? Error.captureStackTrace(this, this.constructor) : this.stack || (this.stack = new Error(r).stack);
11
+ }
12
+ }
13
+ let v = null;
14
+ function _() {
15
+ return v = v || // Lazy load cosmiconfig since it is a relatively large bundle
16
+ A().cosmiconfigSync("babel-plugin-macros", {
17
+ searchPlaces: ["package.json", ".babel-plugin-macrosrc", ".babel-plugin-macrosrc.json", ".babel-plugin-macrosrc.yaml", ".babel-plugin-macrosrc.yml", ".babel-plugin-macrosrc.js", "babel-plugin-macros.config.js"],
18
+ packageProp: "babelMacros"
19
+ });
20
+ }
21
+ function q(e, r = {}) {
22
+ if (r.configName === "options")
23
+ throw new Error('You cannot use the configName "options". It is reserved for babel-plugin-macros.');
24
+ return o.isBabelMacro = !0, o.options = r, o;
25
+ function o(t) {
26
+ const {
27
+ source: n,
28
+ isBabelMacrosCall: s
29
+ } = t;
30
+ if (!s)
31
+ throw new j(`The macro you imported from "${n}" is being executed outside the context of compilation with babel-plugin-macros. This indicates that you don't have the babel plugin "babel-plugin-macros" configured correctly. Please see the documentation for how to configure babel-plugin-macros properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md`);
32
+ return e(t);
33
+ }
34
+ }
35
+ function B(e, r) {
36
+ return M.sync(e, {
37
+ basedir: r,
38
+ extensions: [".js", ".ts", ".tsx", ".mjs", ".cjs", ".jsx"],
39
+ // This is here to support the package being globally installed
40
+ // read more: https://github.com/kentcdodds/babel-plugin-macros/pull/138
41
+ paths: [h.resolve(__dirname, "../../")]
42
+ });
43
+ }
44
+ function C(e, {
45
+ require: r = V,
46
+ resolvePath: o = B,
47
+ isMacrosName: t = P,
48
+ ...n
49
+ } = {}) {
50
+ function s(l) {
51
+ const u = r(l);
52
+ return u && u.__esModule && u.default ? u.default : u;
53
+ }
54
+ return {
55
+ name: "macros",
56
+ visitor: {
57
+ Program(l, u) {
58
+ l.traverse({
59
+ ImportDeclaration(p) {
60
+ if (!w(p, {
61
+ node: {
62
+ source: {
63
+ value: (a) => t(a)
64
+ }
65
+ }
66
+ }))
67
+ return;
68
+ const i = p.node.specifiers.map((a) => ({
69
+ localName: a.local.name,
70
+ importedName: a.type === "ImportDefaultSpecifier" ? "default" : a.imported.name
71
+ })), m = p.node.source.value, f = $({
72
+ path: p,
73
+ imports: i,
74
+ source: m,
75
+ state: u,
76
+ babel: e,
77
+ interopRequire: s,
78
+ resolvePath: o,
79
+ options: n
80
+ });
81
+ (!f || !f.keepImports) && p.remove();
82
+ },
83
+ VariableDeclaration(p) {
84
+ const d = (i) => w(i, {
85
+ node: {
86
+ init: {
87
+ callee: {
88
+ type: "Identifier",
89
+ name: "require"
90
+ },
91
+ arguments: (m) => m.length === 1 && t(m[0].value)
92
+ }
93
+ }
94
+ });
95
+ p.get("declarations").filter(d).forEach((i) => {
96
+ const m = i.node.id.name ? [{
97
+ localName: i.node.id.name,
98
+ importedName: "default"
99
+ }] : i.node.id.properties.map((g) => ({
100
+ localName: g.value.name,
101
+ importedName: g.key.name
102
+ })), f = i.get("init"), a = f.node.arguments[0].value, b = $({
103
+ path: f,
104
+ imports: m,
105
+ source: a,
106
+ state: u,
107
+ babel: e,
108
+ interopRequire: s,
109
+ resolvePath: o,
110
+ options: n
111
+ });
112
+ (!b || !b.keepImports) && i.remove();
113
+ });
114
+ }
115
+ });
116
+ }
117
+ }
118
+ };
119
+ }
120
+ function $({
121
+ path: e,
122
+ imports: r,
123
+ source: o,
124
+ state: t,
125
+ babel: n,
126
+ interopRequire: s,
127
+ resolvePath: l,
128
+ options: u
129
+ }) {
130
+ const {
131
+ file: {
132
+ opts: {
133
+ filename: p = ""
134
+ }
135
+ }
136
+ } = t;
137
+ let d = !1;
138
+ const i = r.reduce((c, {
139
+ importedName: k,
140
+ localName: D
141
+ }) => {
142
+ const S = e.scope.getBinding(D);
143
+ return c[k] = S.referencePaths, d = d || !!c[k].length, c;
144
+ }, {}), m = o.indexOf(".") === 0, f = l(o, h.dirname(F(p))), a = s(f);
145
+ if (!a.isBabelMacro)
146
+ throw new Error(`The macro imported from "${o}" must be wrapped in "createMacro" which you can get from "babel-plugin-macros". Please refer to the documentation to see how to do this properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#writing-a-macro`);
147
+ const b = T(a, p, o, u);
148
+ let g;
149
+ try {
150
+ t.file.scope.path.traverse({
151
+ Identifier() {
152
+ }
153
+ }), g = a({
154
+ references: i,
155
+ source: o,
156
+ state: t,
157
+ babel: n,
158
+ config: b,
159
+ isBabelMacrosCall: !0
160
+ });
161
+ } catch (c) {
162
+ throw c.name === "MacroError" || (c.message = `${o}: ${c.message}`, m || (c.message = `${c.message} Learn more: https://www.npmjs.com/package/${o.replace(
163
+ // remove everything after package name
164
+ // @org/package/macro -> @org/package
165
+ // package/macro -> package
166
+ /^((?:@[^/]+\/)?[^/]+).*/,
167
+ "$1"
168
+ )}`)), c;
169
+ }
170
+ return g;
171
+ }
172
+ function I(e, r) {
173
+ try {
174
+ const o = _().search(r);
175
+ if (o)
176
+ return {
177
+ options: o.config[e],
178
+ path: o.filepath
179
+ };
180
+ } catch (o) {
181
+ return {
182
+ error: o
183
+ };
184
+ }
185
+ return {};
186
+ }
187
+ function R(e, r) {
188
+ if (r.hasOwnProperty(e))
189
+ if (r[e] && typeof r[e] != "object")
190
+ console.error(`The macro plugin options' ${e} property was not an object or null.`);
191
+ else
192
+ return {
193
+ options: r[e]
194
+ };
195
+ return {};
196
+ }
197
+ function T(e, r, o, t) {
198
+ const {
199
+ configName: n
200
+ } = e.options;
201
+ if (n) {
202
+ const s = I(n, r), l = R(n, t);
203
+ if (l.options === void 0 && s.options === void 0 && s.error !== void 0)
204
+ throw console.error(`There was an error trying to load the config "${n}" for the macro imported from "${o}. Please see the error thrown for more information.`), s.error;
205
+ if (s.options !== void 0 && l.options !== void 0 && typeof s.options != "object")
206
+ throw new Error(`${s.path} specified a ${n} config of type ${typeof l.options}, but the the macros plugin's options.${n} did contain an object. Both configs must contain objects for their options to be mergeable.`);
207
+ return {
208
+ ...l.options,
209
+ ...s.options
210
+ };
211
+ }
212
+ }
213
+ function F(e) {
214
+ return h.isAbsolute(e) ? e : h.join(process.cwd(), e);
215
+ }
216
+ function w(e, r) {
217
+ return e && r && Object.keys(r).every((o) => {
218
+ const t = r[o], n = e[o];
219
+ return typeof t == "function" ? t(n) : O(t) ? t === n : w(n, t);
220
+ });
221
+ }
222
+ function O(e) {
223
+ return e == null || /^[sbn]/.test(typeof e);
224
+ }
225
+ y.exports = C, Object.assign(y.exports, {
226
+ createMacro: q,
227
+ MacroError: j
228
+ });
229
+ })(x);
230
+ var J = x.exports;
231
+ export {
232
+ J as d
233
+ };
@@ -0,0 +1,67 @@
1
+ import { __exports as i } from "../../../../../_virtual/Explorer2.mjs";
2
+ import _ from "../../../../../_virtual/___vite-browser-external.mjs";
3
+ import { __require as y } from "./ExplorerBase.mjs";
4
+ import { __require as w } from "./readFile.mjs";
5
+ import { __require as x } from "./cacheWrapper.mjs";
6
+ import { __require as C } from "./getDirectory.mjs";
7
+ var u;
8
+ function P() {
9
+ if (u)
10
+ return i;
11
+ u = 1, Object.defineProperty(i, "__esModule", {
12
+ value: !0
13
+ }), i.Explorer = void 0;
14
+ var c = d(_), h = y(), n = w(), l = x(), f = C();
15
+ function d(s) {
16
+ return s && s.__esModule ? s : { default: s };
17
+ }
18
+ let p = class extends h.ExplorerBase {
19
+ constructor(e) {
20
+ super(e);
21
+ }
22
+ async search(e = process.cwd()) {
23
+ const r = await (0, f.getDirectory)(e);
24
+ return await this.searchFromDirectory(r);
25
+ }
26
+ async searchFromDirectory(e) {
27
+ const r = c.default.resolve(process.cwd(), e), t = async () => {
28
+ const a = await this.searchDirectory(r), o = this.nextDirectoryToSearch(r, a);
29
+ return o ? this.searchFromDirectory(o) : await this.config.transform(a);
30
+ };
31
+ return this.searchCache ? (0, l.cacheWrapper)(this.searchCache, r, t) : t();
32
+ }
33
+ async searchDirectory(e) {
34
+ for await (const r of this.config.searchPlaces) {
35
+ const t = await this.loadSearchPlace(e, r);
36
+ if (this.shouldSearchStopWithResult(t) === !0)
37
+ return t;
38
+ }
39
+ return null;
40
+ }
41
+ async loadSearchPlace(e, r) {
42
+ const t = c.default.join(e, r), a = await (0, n.readFile)(t);
43
+ return await this.createCosmiconfigResult(t, a);
44
+ }
45
+ async loadFileContent(e, r) {
46
+ return r === null ? null : r.trim() === "" ? void 0 : await this.getLoaderEntryForFile(e)(e, r);
47
+ }
48
+ async createCosmiconfigResult(e, r) {
49
+ const t = await this.loadFileContent(e, r);
50
+ return this.loadedContentToCosmiconfigResult(e, t);
51
+ }
52
+ async load(e) {
53
+ this.validateFilePath(e);
54
+ const r = c.default.resolve(process.cwd(), e), t = async () => {
55
+ const a = await (0, n.readFile)(r, {
56
+ throwNotFound: !0
57
+ }), o = await this.createCosmiconfigResult(r, a);
58
+ return await this.config.transform(o);
59
+ };
60
+ return this.loadCache ? (0, l.cacheWrapper)(this.loadCache, r, t) : t();
61
+ }
62
+ };
63
+ return i.Explorer = p, i;
64
+ }
65
+ export {
66
+ P as __require
67
+ };
@@ -0,0 +1,87 @@
1
+ import { __exports as a } from "../../../../../_virtual/ExplorerBase2.mjs";
2
+ import p from "../../../../../_virtual/___vite-browser-external.mjs";
3
+ import { __require as g } from "./loaders.mjs";
4
+ import { __require as x } from "./getPropertyByPath.mjs";
5
+ var c;
6
+ function C() {
7
+ if (c)
8
+ return a;
9
+ c = 1, Object.defineProperty(a, "__esModule", {
10
+ value: !0
11
+ }), a.ExplorerBase = void 0, a.getExtensionDescription = s;
12
+ var i = f(p), l = g(), u = x();
13
+ function f(t) {
14
+ return t && t.__esModule ? t : { default: t };
15
+ }
16
+ let h = class {
17
+ constructor(e) {
18
+ e.cache === !0 && (this.loadCache = /* @__PURE__ */ new Map(), this.searchCache = /* @__PURE__ */ new Map()), this.config = e, this.validateConfig();
19
+ }
20
+ clearLoadCache() {
21
+ this.loadCache && this.loadCache.clear();
22
+ }
23
+ clearSearchCache() {
24
+ this.searchCache && this.searchCache.clear();
25
+ }
26
+ clearCaches() {
27
+ this.clearLoadCache(), this.clearSearchCache();
28
+ }
29
+ validateConfig() {
30
+ const e = this.config;
31
+ e.searchPlaces.forEach((r) => {
32
+ const o = i.default.extname(r) || "noExt", n = e.loaders[o];
33
+ if (!n)
34
+ throw new Error(`No loader specified for ${s(r)}, so searchPlaces item "${r}" is invalid`);
35
+ if (typeof n != "function")
36
+ throw new Error(`loader for ${s(r)} is not a function (type provided: "${typeof n}"), so searchPlaces item "${r}" is invalid`);
37
+ });
38
+ }
39
+ shouldSearchStopWithResult(e) {
40
+ return !(e === null || e.isEmpty && this.config.ignoreEmptySearchPlaces);
41
+ }
42
+ nextDirectoryToSearch(e, r) {
43
+ if (this.shouldSearchStopWithResult(r))
44
+ return null;
45
+ const o = d(e);
46
+ return o === e || e === this.config.stopDir ? null : o;
47
+ }
48
+ loadPackageProp(e, r) {
49
+ const o = l.loaders.loadJson(e, r);
50
+ return (0, u.getPropertyByPath)(o, this.config.packageProp) || null;
51
+ }
52
+ getLoaderEntryForFile(e) {
53
+ if (i.default.basename(e) === "package.json")
54
+ return this.loadPackageProp.bind(this);
55
+ const r = i.default.extname(e) || "noExt", o = this.config.loaders[r];
56
+ if (!o)
57
+ throw new Error(`No loader specified for ${s(e)}`);
58
+ return o;
59
+ }
60
+ loadedContentToCosmiconfigResult(e, r) {
61
+ return r === null ? null : r === void 0 ? {
62
+ filepath: e,
63
+ config: void 0,
64
+ isEmpty: !0
65
+ } : {
66
+ config: r,
67
+ filepath: e
68
+ };
69
+ }
70
+ validateFilePath(e) {
71
+ if (!e)
72
+ throw new Error("load must pass a non-empty string");
73
+ }
74
+ };
75
+ a.ExplorerBase = h;
76
+ function d(t) {
77
+ return i.default.dirname(t);
78
+ }
79
+ function s(t) {
80
+ const e = i.default.extname(t);
81
+ return e ? `extension "${e}"` : "files without extensions";
82
+ }
83
+ return a;
84
+ }
85
+ export {
86
+ C as __require
87
+ };
@@ -0,0 +1,67 @@
1
+ import { __exports as n } from "../../../../../_virtual/ExplorerSync2.mjs";
2
+ import S from "../../../../../_virtual/___vite-browser-external.mjs";
3
+ import { __require as m } from "./ExplorerBase.mjs";
4
+ import { __require as _ } from "./readFile.mjs";
5
+ import { __require as R } from "./cacheWrapper.mjs";
6
+ import { __require as x } from "./getDirectory.mjs";
7
+ var u;
8
+ function P() {
9
+ if (u)
10
+ return n;
11
+ u = 1, Object.defineProperty(n, "__esModule", {
12
+ value: !0
13
+ }), n.ExplorerSync = void 0;
14
+ var i = d(S), h = m(), a = _(), l = R(), y = x();
15
+ function d(c) {
16
+ return c && c.__esModule ? c : { default: c };
17
+ }
18
+ let f = class extends h.ExplorerBase {
19
+ constructor(e) {
20
+ super(e);
21
+ }
22
+ searchSync(e = process.cwd()) {
23
+ const r = (0, y.getDirectorySync)(e);
24
+ return this.searchFromDirectorySync(r);
25
+ }
26
+ searchFromDirectorySync(e) {
27
+ const r = i.default.resolve(process.cwd(), e), t = () => {
28
+ const o = this.searchDirectorySync(r), s = this.nextDirectoryToSearch(r, o);
29
+ return s ? this.searchFromDirectorySync(s) : this.config.transform(o);
30
+ };
31
+ return this.searchCache ? (0, l.cacheWrapperSync)(this.searchCache, r, t) : t();
32
+ }
33
+ searchDirectorySync(e) {
34
+ for (const r of this.config.searchPlaces) {
35
+ const t = this.loadSearchPlaceSync(e, r);
36
+ if (this.shouldSearchStopWithResult(t) === !0)
37
+ return t;
38
+ }
39
+ return null;
40
+ }
41
+ loadSearchPlaceSync(e, r) {
42
+ const t = i.default.join(e, r), o = (0, a.readFileSync)(t);
43
+ return this.createCosmiconfigResultSync(t, o);
44
+ }
45
+ loadFileContentSync(e, r) {
46
+ return r === null ? null : r.trim() === "" ? void 0 : this.getLoaderEntryForFile(e)(e, r);
47
+ }
48
+ createCosmiconfigResultSync(e, r) {
49
+ const t = this.loadFileContentSync(e, r);
50
+ return this.loadedContentToCosmiconfigResult(e, t);
51
+ }
52
+ loadSync(e) {
53
+ this.validateFilePath(e);
54
+ const r = i.default.resolve(process.cwd(), e), t = () => {
55
+ const o = (0, a.readFileSync)(r, {
56
+ throwNotFound: !0
57
+ }), s = this.createCosmiconfigResultSync(r, o);
58
+ return this.config.transform(s);
59
+ };
60
+ return this.loadCache ? (0, l.cacheWrapperSync)(this.loadCache, r, t) : t();
61
+ }
62
+ };
63
+ return n.ExplorerSync = f, n;
64
+ }
65
+ export {
66
+ P as __require
67
+ };
@@ -0,0 +1,27 @@
1
+ import { __exports as c } from "../../../../../_virtual/cacheWrapper.mjs";
2
+ var u;
3
+ function o() {
4
+ if (u)
5
+ return c;
6
+ u = 1, Object.defineProperty(c, "__esModule", {
7
+ value: !0
8
+ }), c.cacheWrapper = p, c.cacheWrapperSync = i;
9
+ async function p(e, r, a) {
10
+ const t = e.get(r);
11
+ if (t !== void 0)
12
+ return t;
13
+ const n = await a();
14
+ return e.set(r, n), n;
15
+ }
16
+ function i(e, r, a) {
17
+ const t = e.get(r);
18
+ if (t !== void 0)
19
+ return t;
20
+ const n = a();
21
+ return e.set(r, n), n;
22
+ }
23
+ return c;
24
+ }
25
+ export {
26
+ o as __require
27
+ };
@@ -0,0 +1,26 @@
1
+ import { __exports as e } from "../../../../../_virtual/getDirectory.mjs";
2
+ import s from "../../../../../_virtual/___vite-browser-external.mjs";
3
+ import "../../../../path-type/index.mjs";
4
+ import { __exports as f } from "../../../../../_virtual/index22.mjs";
5
+ var o;
6
+ function m() {
7
+ if (o)
8
+ return e;
9
+ o = 1, Object.defineProperty(e, "__esModule", {
10
+ value: !0
11
+ }), e.getDirectory = n, e.getDirectorySync = u;
12
+ var t = c(s), i = f;
13
+ function c(r) {
14
+ return r && r.__esModule ? r : { default: r };
15
+ }
16
+ async function n(r) {
17
+ return await (0, i.isDirectory)(r) === !0 ? r : t.default.dirname(r);
18
+ }
19
+ function u(r) {
20
+ return (0, i.isDirectorySync)(r) === !0 ? r : t.default.dirname(r);
21
+ }
22
+ return e;
23
+ }
24
+ export {
25
+ m as __require
26
+ };
@@ -0,0 +1,16 @@
1
+ import { __exports as r } from "../../../../../_virtual/getPropertyByPath.mjs";
2
+ var o;
3
+ function a() {
4
+ if (o)
5
+ return r;
6
+ o = 1, Object.defineProperty(r, "__esModule", {
7
+ value: !0
8
+ }), r.getPropertyByPath = y;
9
+ function y(t, e) {
10
+ return typeof e == "string" && Object.prototype.hasOwnProperty.call(t, e) ? t[e] : (typeof e == "string" ? e.split(".") : e).reduce((n, P) => n === void 0 ? n : n[P], t);
11
+ }
12
+ return r;
13
+ }
14
+ export {
15
+ a as __require
16
+ };