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.
- package/dist/_virtual/AsymmetricMatcher.mjs +4 -0
- package/dist/_virtual/DOMCollection.mjs +4 -0
- package/dist/_virtual/DOMElement.mjs +4 -0
- package/dist/_virtual/Explorer.mjs +4 -0
- package/dist/_virtual/Explorer2.mjs +4 -0
- package/dist/_virtual/ExplorerBase.mjs +4 -0
- package/dist/_virtual/ExplorerBase2.mjs +4 -0
- package/dist/_virtual/ExplorerSync.mjs +4 -0
- package/dist/_virtual/ExplorerSync2.mjs +4 -0
- package/dist/_virtual/Immutable.mjs +4 -0
- package/dist/_virtual/ReactElement.mjs +4 -0
- package/dist/_virtual/ReactTestComponent.mjs +4 -0
- package/dist/_virtual/___vite-browser-external.mjs +6 -0
- package/dist/_virtual/__vite-browser-external.mjs +4 -0
- package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
- package/dist/_virtual/addComment.mjs +4 -0
- package/dist/_virtual/addComments.mjs +4 -0
- package/dist/_virtual/appendToMemberExpression.mjs +4 -0
- package/dist/_virtual/assertNode.mjs +4 -0
- package/dist/_virtual/babel-plugin-lingui-macro.28bb9ad7.mjs +4 -0
- package/dist/_virtual/buildChildren.mjs +4 -0
- package/dist/_virtual/buildMatchMemberExpression.mjs +4 -0
- package/dist/_virtual/cacheWrapper.mjs +4 -0
- package/dist/_virtual/cleanJSXElementLiteralChild.mjs +4 -0
- package/dist/_virtual/clone.mjs +4 -0
- package/dist/_virtual/cloneDeep.mjs +4 -0
- package/dist/_virtual/cloneDeepWithoutLoc.mjs +4 -0
- package/dist/_virtual/cloneNode.mjs +4 -0
- package/dist/_virtual/cloneWithoutLoc.mjs +4 -0
- package/dist/_virtual/collections.mjs +4 -0
- package/dist/_virtual/common2.mjs +4 -0
- package/dist/_virtual/condition.mjs +4 -0
- package/dist/_virtual/conversions.mjs +4 -0
- package/dist/_virtual/core.mjs +4 -0
- package/dist/_virtual/createFlowUnionType.mjs +4 -0
- package/dist/_virtual/createTSUnionType.mjs +4 -0
- package/dist/_virtual/createTypeAnnotationBasedOnTypeof.mjs +4 -0
- package/dist/_virtual/dayjs.min.mjs +2 -5
- package/dist/_virtual/defaultConfig.mjs +4 -0
- package/dist/_virtual/deprecated-aliases.mjs +4 -0
- package/dist/_virtual/deprecated.mjs +4 -0
- package/dist/_virtual/deprecationWarning.mjs +4 -0
- package/dist/_virtual/dumper.mjs +4 -0
- package/dist/_virtual/ensureBlock.mjs +4 -0
- package/dist/_virtual/errors.mjs +4 -0
- package/dist/_virtual/escapeHTML.mjs +4 -0
- package/dist/_virtual/experimental.mjs +4 -0
- package/dist/_virtual/flow.mjs +4 -0
- package/dist/_virtual/gatherSequenceExpressions.mjs +4 -0
- package/dist/_virtual/generateMessageId.mjs +4 -0
- package/dist/_virtual/getAssignmentIdentifiers.mjs +4 -0
- package/dist/_virtual/getBindingIdentifiers.mjs +4 -0
- package/dist/_virtual/getDirectory.mjs +4 -0
- package/dist/_virtual/getFunctionName.mjs +4 -0
- package/dist/_virtual/getOuterBindingIdentifiers.mjs +4 -0
- package/dist/_virtual/getPropertyByPath.mjs +4 -0
- package/dist/_virtual/identifier.mjs +4 -0
- package/dist/_virtual/index10.mjs +4 -0
- package/dist/_virtual/index11.mjs +4 -0
- package/dist/_virtual/index12.mjs +4 -0
- package/dist/_virtual/index13.mjs +4 -0
- package/dist/_virtual/index14.mjs +4 -0
- package/dist/_virtual/index15.mjs +4 -0
- package/dist/_virtual/index16.mjs +4 -0
- package/dist/_virtual/index17.mjs +4 -0
- package/dist/_virtual/index18.mjs +4 -0
- package/dist/_virtual/index19.mjs +4 -0
- package/dist/_virtual/index20.mjs +4 -0
- package/dist/_virtual/index21.mjs +4 -0
- package/dist/_virtual/index22.mjs +4 -0
- package/dist/_virtual/index23.mjs +6 -0
- package/dist/_virtual/index24.mjs +4 -0
- package/dist/_virtual/index25.mjs +4 -0
- package/dist/_virtual/index26.mjs +4 -0
- package/dist/_virtual/index27.mjs +4 -0
- package/dist/_virtual/index29.mjs +4 -0
- package/dist/_virtual/index30.mjs +4 -0
- package/dist/_virtual/index31.mjs +4 -0
- package/dist/_virtual/index32.mjs +4 -0
- package/dist/_virtual/index33.mjs +4 -0
- package/dist/_virtual/index34.mjs +4 -0
- package/dist/_virtual/index35.mjs +4 -0
- package/dist/_virtual/index36.mjs +4 -0
- package/dist/_virtual/index37.mjs +4 -0
- package/dist/_virtual/index38.mjs +4 -0
- package/dist/_virtual/index39.mjs +4 -0
- package/dist/_virtual/index40.mjs +4 -0
- package/dist/_virtual/index7.mjs +4 -0
- package/dist/_virtual/index8.mjs +6 -0
- package/dist/_virtual/index9.mjs +4 -0
- package/dist/_virtual/inherit.mjs +4 -0
- package/dist/_virtual/inheritInnerComments.mjs +4 -0
- package/dist/_virtual/inheritLeadingComments.mjs +4 -0
- package/dist/_virtual/inheritTrailingComments.mjs +4 -0
- package/dist/_virtual/inherits.mjs +4 -0
- package/dist/_virtual/inheritsComments.mjs +4 -0
- package/dist/_virtual/inherits_browser.mjs +4 -0
- package/dist/_virtual/is.mjs +4 -0
- package/dist/_virtual/isBinding.mjs +4 -0
- package/dist/_virtual/isBlockScoped.mjs +4 -0
- package/dist/_virtual/isCompatTag.mjs +4 -0
- package/dist/_virtual/isImmutable.mjs +4 -0
- package/dist/_virtual/isLet.mjs +4 -0
- package/dist/_virtual/isNode.mjs +4 -0
- package/dist/_virtual/isNodesEquivalent.mjs +4 -0
- package/dist/_virtual/isPlaceholderType.mjs +4 -0
- package/dist/_virtual/isReactComponent.mjs +4 -0
- package/dist/_virtual/isReferenced.mjs +4 -0
- package/dist/_virtual/isScope.mjs +4 -0
- package/dist/_virtual/isSpecifierDefault.mjs +4 -0
- package/dist/_virtual/isType.mjs +4 -0
- package/dist/_virtual/isValidES3Identifier.mjs +4 -0
- package/dist/_virtual/isValidIdentifier.mjs +4 -0
- package/dist/_virtual/isVar.mjs +4 -0
- package/dist/_virtual/jsx.mjs +4 -0
- package/dist/_virtual/keyword.mjs +4 -0
- package/dist/_virtual/loader.mjs +4 -0
- package/dist/_virtual/loaders.mjs +4 -0
- package/dist/_virtual/loaders2.mjs +4 -0
- package/dist/_virtual/macro.mjs +4 -0
- package/dist/_virtual/markup.mjs +4 -0
- package/dist/_virtual/matchesPattern.mjs +4 -0
- package/dist/_virtual/misc.mjs +4 -0
- package/dist/_virtual/picocolors.browser.mjs +4 -0
- package/dist/_virtual/placeholders.mjs +4 -0
- package/dist/_virtual/prependToMemberExpression.mjs +4 -0
- package/dist/_virtual/productions.mjs +4 -0
- package/dist/_virtual/react-is.development3.mjs +4 -0
- package/dist/_virtual/react-is.production.min3.mjs +4 -0
- package/dist/_virtual/readFile.mjs +4 -0
- package/dist/_virtual/removeComments.mjs +4 -0
- package/dist/_virtual/removeProperties.mjs +4 -0
- package/dist/_virtual/removePropertiesDeep.mjs +4 -0
- package/dist/_virtual/removeTypeDuplicates.mjs +4 -0
- package/dist/_virtual/removeTypeDuplicates2.mjs +4 -0
- package/dist/_virtual/sha256.mjs +4 -0
- package/dist/_virtual/shallowEqual.mjs +4 -0
- package/dist/_virtual/toBindingIdentifierName.mjs +4 -0
- package/dist/_virtual/toBlock.mjs +4 -0
- package/dist/_virtual/toComputedKey.mjs +4 -0
- package/dist/_virtual/toExpression.mjs +4 -0
- package/dist/_virtual/toIdentifier.mjs +4 -0
- package/dist/_virtual/toKeyAlias.mjs +4 -0
- package/dist/_virtual/toSequenceExpression.mjs +4 -0
- package/dist/_virtual/toStatement.mjs +4 -0
- package/dist/_virtual/traverse.mjs +4 -0
- package/dist/_virtual/traverseFast.mjs +4 -0
- package/dist/_virtual/types.mjs +4 -0
- package/dist/_virtual/types2.mjs +4 -0
- package/dist/_virtual/typescript.mjs +4 -0
- package/dist/_virtual/typescript2.mjs +11 -0
- package/dist/_virtual/typescript3.mjs +4 -0
- package/dist/_virtual/uppercase.mjs +4 -0
- package/dist/_virtual/util.mjs +4 -0
- package/dist/_virtual/util2.mjs +4 -0
- package/dist/_virtual/utils2.mjs +4 -0
- package/dist/_virtual/utils3.mjs +4 -0
- package/dist/_virtual/validate.mjs +4 -0
- package/dist/_virtual/validate2.mjs +4 -0
- package/dist/_virtual/validateCLIOptions.mjs +4 -0
- package/dist/_virtual/validateNode.mjs +4 -0
- package/dist/_virtual/valueToNode.mjs +4 -0
- package/dist/_virtual/warnings.mjs +4 -0
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzTable/Store/index.mjs +5 -3
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
- package/dist/node_modules/@babel/code-frame/lib/index.mjs +133 -0
- package/dist/node_modules/@babel/helper-string-parser/lib/index.mjs +218 -0
- package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +46 -0
- package/dist/node_modules/@babel/helper-validator-identifier/lib/index.mjs +51 -0
- package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +32 -0
- package/dist/node_modules/@babel/highlight/lib/index.mjs +128 -0
- package/dist/node_modules/@babel/highlight/node_modules/ansi-styles/index.mjs +116 -0
- package/dist/node_modules/@babel/highlight/node_modules/chalk/index.mjs +126 -0
- package/dist/node_modules/@babel/highlight/node_modules/chalk/templates.mjs +86 -0
- package/dist/node_modules/@babel/highlight/node_modules/color-convert/conversions.mjs +274 -0
- package/dist/node_modules/@babel/highlight/node_modules/color-convert/index.mjs +39 -0
- package/dist/node_modules/@babel/highlight/node_modules/color-convert/route.mjs +47 -0
- package/dist/node_modules/@babel/highlight/node_modules/color-name/index.mjs +156 -0
- package/dist/node_modules/@babel/highlight/node_modules/supports-color/browser.mjs +10 -0
- package/dist/node_modules/@babel/types/lib/asserts/assertNode.mjs +15 -0
- package/dist/node_modules/@babel/types/lib/asserts/generated/index.mjs +1231 -0
- package/dist/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.mjs +21 -0
- package/dist/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.mjs +37 -0
- package/dist/node_modules/@babel/types/lib/builders/generated/index.mjs +1741 -0
- package/dist/node_modules/@babel/types/lib/builders/generated/uppercase.mjs +1284 -0
- package/dist/node_modules/@babel/types/lib/builders/productions.mjs +18 -0
- package/dist/node_modules/@babel/types/lib/builders/react/buildChildren.mjs +29 -0
- package/dist/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.mjs +23 -0
- package/dist/node_modules/@babel/types/lib/builders/validateNode.mjs +22 -0
- package/dist/node_modules/@babel/types/lib/clone/clone.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/clone/cloneDeep.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/clone/cloneNode.mjs +57 -0
- package/dist/node_modules/@babel/types/lib/clone/cloneWithoutLoc.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/comments/addComment.mjs +14 -0
- package/dist/node_modules/@babel/types/lib/comments/addComments.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/comments/inheritInnerComments.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/comments/inheritLeadingComments.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/comments/inheritTrailingComments.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/comments/inheritsComments.mjs +15 -0
- package/dist/node_modules/@babel/types/lib/comments/removeComments.mjs +13 -0
- package/dist/node_modules/@babel/types/lib/constants/generated/index.mjs +60 -0
- package/dist/node_modules/@babel/types/lib/constants/index.mjs +25 -0
- package/dist/node_modules/@babel/types/lib/converters/ensureBlock.mjs +19 -0
- package/dist/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.mjs +59 -0
- package/dist/node_modules/@babel/types/lib/converters/toBindingIdentifierName.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/converters/toBlock.mjs +23 -0
- package/dist/node_modules/@babel/types/lib/converters/toComputedKey.mjs +20 -0
- package/dist/node_modules/@babel/types/lib/converters/toExpression.mjs +16 -0
- package/dist/node_modules/@babel/types/lib/converters/toIdentifier.mjs +19 -0
- package/dist/node_modules/@babel/types/lib/converters/toKeyAlias.mjs +20 -0
- package/dist/node_modules/@babel/types/lib/converters/toSequenceExpression.mjs +25 -0
- package/dist/node_modules/@babel/types/lib/converters/toStatement.mjs +35 -0
- package/dist/node_modules/@babel/types/lib/converters/valueToNode.mjs +63 -0
- package/dist/node_modules/@babel/types/lib/definitions/core.mjs +1556 -0
- package/dist/node_modules/@babel/types/lib/definitions/deprecated-aliases.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/definitions/experimental.mjs +130 -0
- package/dist/node_modules/@babel/types/lib/definitions/flow.mjs +433 -0
- package/dist/node_modules/@babel/types/lib/definitions/index.mjs +84 -0
- package/dist/node_modules/@babel/types/lib/definitions/jsx.mjs +151 -0
- package/dist/node_modules/@babel/types/lib/definitions/misc.mjs +35 -0
- package/dist/node_modules/@babel/types/lib/definitions/placeholders.mjs +28 -0
- package/dist/node_modules/@babel/types/lib/definitions/typescript.mjs +445 -0
- package/dist/node_modules/@babel/types/lib/definitions/utils.mjs +200 -0
- package/dist/node_modules/@babel/types/lib/index.mjs +569 -0
- package/dist/node_modules/@babel/types/lib/modifications/appendToMemberExpression.mjs +18 -0
- package/dist/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.mjs +44 -0
- package/dist/node_modules/@babel/types/lib/modifications/inherits.mjs +21 -0
- package/dist/node_modules/@babel/types/lib/modifications/prependToMemberExpression.mjs +21 -0
- package/dist/node_modules/@babel/types/lib/modifications/removeProperties.mjs +19 -0
- package/dist/node_modules/@babel/types/lib/modifications/removePropertiesDeep.mjs +13 -0
- package/dist/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.mjs +44 -0
- package/dist/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.mjs +40 -0
- package/dist/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.mjs +81 -0
- package/dist/node_modules/@babel/types/lib/retrievers/getFunctionName.mjs +37 -0
- package/dist/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.mjs +12 -0
- package/dist/node_modules/@babel/types/lib/traverse/traverse.mjs +41 -0
- package/dist/node_modules/@babel/types/lib/traverse/traverseFast.mjs +23 -0
- package/dist/node_modules/@babel/types/lib/utils/deprecationWarning.mjs +37 -0
- package/dist/node_modules/@babel/types/lib/utils/inherit.mjs +8 -0
- package/dist/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.mjs +29 -0
- package/dist/node_modules/@babel/types/lib/utils/shallowEqual.mjs +12 -0
- package/dist/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.mjs +12 -0
- package/dist/node_modules/@babel/types/lib/validators/generated/index.mjs +2300 -0
- package/dist/node_modules/@babel/types/lib/validators/is.mjs +22 -0
- package/dist/node_modules/@babel/types/lib/validators/isBinding.mjs +23 -0
- package/dist/node_modules/@babel/types/lib/validators/isBlockScoped.mjs +13 -0
- package/dist/node_modules/@babel/types/lib/validators/isImmutable.mjs +12 -0
- package/dist/node_modules/@babel/types/lib/validators/isLet.mjs +13 -0
- package/dist/node_modules/@babel/types/lib/validators/isNode.mjs +10 -0
- package/dist/node_modules/@babel/types/lib/validators/isNodesEquivalent.mjs +40 -0
- package/dist/node_modules/@babel/types/lib/validators/isPlaceholderType.mjs +26 -0
- package/dist/node_modules/@babel/types/lib/validators/isReferenced.mjs +75 -0
- package/dist/node_modules/@babel/types/lib/validators/isScope.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/validators/isSpecifierDefault.mjs +13 -0
- package/dist/node_modules/@babel/types/lib/validators/isType.mjs +30 -0
- package/dist/node_modules/@babel/types/lib/validators/isValidES3Identifier.mjs +12 -0
- package/dist/node_modules/@babel/types/lib/validators/isValidIdentifier.mjs +11 -0
- package/dist/node_modules/@babel/types/lib/validators/isVar.mjs +15 -0
- package/dist/node_modules/@babel/types/lib/validators/matchesPattern.mjs +33 -0
- package/dist/node_modules/@babel/types/lib/validators/react/isCompatTag.mjs +8 -0
- package/dist/node_modules/@babel/types/lib/validators/react/isReactComponent.mjs +10 -0
- package/dist/node_modules/@babel/types/lib/validators/validate.mjs +33 -0
- package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/index.mjs +525 -0
- package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/macro.mjs +47 -0
- package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/shared/babel-plugin-lingui-macro.28bb9ad7.mjs +336 -0
- package/dist/node_modules/@lingui/conf/dist/index.mjs +384 -0
- package/dist/node_modules/@lingui/message-utils/dist/generateMessageId.mjs +16 -0
- package/dist/node_modules/@lingui/react/macro/index.mjs +5 -0
- package/dist/node_modules/ansi-styles/index.mjs +112 -0
- package/dist/node_modules/available-typed-arrays/index.mjs +10 -0
- package/dist/node_modules/babel-plugin-macros/dist/index.mjs +233 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.mjs +67 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.mjs +87 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.mjs +67 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.mjs +27 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.mjs +26 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs +16 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.mjs +72 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.mjs +46 -0
- package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.mjs +49 -0
- package/dist/node_modules/call-bind/callBound.mjs +9 -0
- package/dist/node_modules/call-bind/index.mjs +27 -0
- package/dist/node_modules/callsites/index.mjs +17 -0
- package/dist/node_modules/chalk/source/index.mjs +131 -0
- package/dist/node_modules/chalk/source/templates.mjs +89 -0
- package/dist/node_modules/chalk/source/util.mjs +28 -0
- package/dist/node_modules/color-convert/conversions.mjs +308 -0
- package/dist/node_modules/color-convert/index.mjs +41 -0
- package/dist/node_modules/color-convert/route.mjs +53 -0
- package/dist/node_modules/color-name/index.mjs +156 -0
- package/dist/node_modules/cosmiconfig/dist/Explorer.mjs +91 -0
- package/dist/node_modules/cosmiconfig/dist/ExplorerBase.mjs +68 -0
- package/dist/node_modules/cosmiconfig/dist/ExplorerSync.mjs +105 -0
- package/dist/node_modules/cosmiconfig/dist/index.mjs +184 -0
- package/dist/node_modules/cosmiconfig/dist/loaders.mjs +103 -0
- package/dist/node_modules/cosmiconfig/dist/types.mjs +5 -0
- package/dist/node_modules/cosmiconfig/dist/util.mjs +24 -0
- package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/define-data-property/index.mjs +33 -0
- package/dist/node_modules/error-ex/index.mjs +69 -0
- package/dist/node_modules/es-define-property/index.mjs +18 -0
- package/dist/node_modules/es-errors/eval.mjs +4 -0
- package/dist/node_modules/es-errors/index.mjs +4 -0
- package/dist/node_modules/es-errors/range.mjs +4 -0
- package/dist/node_modules/es-errors/ref.mjs +4 -0
- package/dist/node_modules/es-errors/syntax.mjs +4 -0
- package/dist/node_modules/es-errors/type.mjs +4 -0
- package/dist/node_modules/es-errors/uri.mjs +4 -0
- package/dist/node_modules/escape-string-regexp/index.mjs +15 -0
- package/dist/node_modules/for-each/index.mjs +19 -0
- package/dist/node_modules/function-bind/implementation.mjs +42 -0
- package/dist/node_modules/function-bind/index.mjs +5 -0
- package/dist/node_modules/get-intrinsic/index.mjs +240 -0
- package/dist/node_modules/gopd/index.mjs +12 -0
- package/dist/node_modules/has-property-descriptors/index.mjs +17 -0
- package/dist/node_modules/has-proto/index.mjs +9 -0
- package/dist/node_modules/has-symbols/index.mjs +7 -0
- package/dist/node_modules/has-symbols/shams.mjs +27 -0
- package/dist/node_modules/has-tostringtag/shams.mjs +7 -0
- package/dist/node_modules/hasown/index.mjs +5 -0
- package/dist/node_modules/import-fresh/index.mjs +27 -0
- package/dist/node_modules/import-fresh/node_modules/resolve-from/index.mjs +41 -0
- package/dist/node_modules/inherits/inherits_browser.mjs +22 -0
- package/dist/node_modules/is-arguments/index.mjs +14 -0
- package/dist/node_modules/is-arrayish/index.mjs +9 -0
- package/dist/node_modules/is-callable/index.mjs +70 -0
- package/dist/node_modules/is-core-module/core.json.mjs +443 -0
- package/dist/node_modules/is-core-module/index.mjs +40 -0
- package/dist/node_modules/is-generator-function/index.mjs +28 -0
- package/dist/node_modules/is-typed-array/index.mjs +7 -0
- package/dist/node_modules/jest-get-type/build/index.mjs +47 -0
- package/dist/node_modules/jest-validate/build/condition.mjs +25 -0
- package/dist/node_modules/jest-validate/build/defaultConfig.mjs +35 -0
- package/dist/node_modules/jest-validate/build/deprecated.mjs +16 -0
- package/dist/node_modules/jest-validate/build/errors.mjs +58 -0
- package/dist/node_modules/jest-validate/build/index.mjs +55 -0
- package/dist/node_modules/jest-validate/build/utils.mjs +84 -0
- package/dist/node_modules/jest-validate/build/validate.mjs +66 -0
- package/dist/node_modules/jest-validate/build/validateCLIOptions.mjs +87 -0
- package/dist/node_modules/jest-validate/build/warnings.mjs +34 -0
- package/dist/node_modules/jest-validate/node_modules/ansi-styles/index.mjs +110 -0
- package/dist/node_modules/jest-validate/node_modules/camelcase/index.mjs +30 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/collections.mjs +94 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/index.mjs +275 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.mjs +50 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.mjs +42 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.mjs +72 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.mjs +119 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.mjs +101 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.mjs +47 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.mjs +16 -0
- package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.mjs +51 -0
- package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.mjs +103 -0
- package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
- package/dist/node_modules/jest-validate/node_modules/react-is/index.mjs +10 -0
- package/dist/node_modules/js-sha256/src/sha256.mjs +257 -0
- package/dist/node_modules/js-tokens/index.mjs +13 -0
- package/dist/node_modules/js-yaml/index.mjs +53 -0
- package/dist/node_modules/js-yaml/lib/common.mjs +36 -0
- package/dist/node_modules/js-yaml/lib/dumper.mjs +306 -0
- package/dist/node_modules/js-yaml/lib/exception.mjs +21 -0
- package/dist/node_modules/js-yaml/lib/loader.mjs +448 -0
- package/dist/node_modules/js-yaml/lib/schema/core.mjs +8 -0
- package/dist/node_modules/js-yaml/lib/schema/default.mjs +25 -0
- package/dist/node_modules/js-yaml/lib/schema/failsafe.mjs +21 -0
- package/dist/node_modules/js-yaml/lib/schema/json.mjs +19 -0
- package/dist/node_modules/js-yaml/lib/schema.mjs +68 -0
- package/dist/node_modules/js-yaml/lib/snippet.mjs +53 -0
- package/dist/node_modules/js-yaml/lib/type/binary.mjs +46 -0
- package/dist/node_modules/js-yaml/lib/type/bool.mjs +41 -0
- package/dist/node_modules/js-yaml/lib/type/float.mjs +69 -0
- package/dist/node_modules/js-yaml/lib/type/int.mjs +113 -0
- package/dist/node_modules/js-yaml/lib/type/map.mjs +17 -0
- package/dist/node_modules/js-yaml/lib/type/merge.mjs +18 -0
- package/dist/node_modules/js-yaml/lib/type/null.mjs +47 -0
- package/dist/node_modules/js-yaml/lib/type/omap.mjs +41 -0
- package/dist/node_modules/js-yaml/lib/type/pairs.mjs +35 -0
- package/dist/node_modules/js-yaml/lib/type/seq.mjs +17 -0
- package/dist/node_modules/js-yaml/lib/type/set.mjs +28 -0
- package/dist/node_modules/js-yaml/lib/type/str.mjs +17 -0
- package/dist/node_modules/js-yaml/lib/type/timestamp.mjs +41 -0
- package/dist/node_modules/js-yaml/lib/type.mjs +46 -0
- package/dist/node_modules/json-parse-even-better-errors/index.mjs +72 -0
- package/dist/node_modules/leven/index.mjs +32 -0
- package/dist/node_modules/lines-and-columns/build/index.mjs +47 -0
- package/dist/node_modules/parent-module/index.mjs +29 -0
- package/dist/node_modules/parse-json/index.mjs +42 -0
- package/dist/node_modules/path-parse/index.mjs +50 -0
- package/dist/node_modules/path-type/index.mjs +36 -0
- package/dist/node_modules/picocolors/picocolors.browser.mjs +14 -0
- package/dist/node_modules/possible-typed-array-names/index.mjs +16 -0
- package/dist/node_modules/resolve/index.mjs +12 -0
- package/dist/node_modules/resolve/lib/async.mjs +237 -0
- package/dist/node_modules/resolve/lib/caller.mjs +11 -0
- package/dist/node_modules/resolve/lib/core.json.mjs +437 -0
- package/dist/node_modules/resolve/lib/core.mjs +9 -0
- package/dist/node_modules/resolve/lib/homedir.mjs +8 -0
- package/dist/node_modules/resolve/lib/is-core.mjs +7 -0
- package/dist/node_modules/resolve/lib/node-modules-paths.mjs +29 -0
- package/dist/node_modules/resolve/lib/normalize-options.mjs +6 -0
- package/dist/node_modules/resolve/lib/sync.mjs +150 -0
- package/dist/node_modules/set-function-length/index.mjs +32 -0
- package/dist/node_modules/supports-color/browser.mjs +7 -0
- package/dist/node_modules/to-fast-properties/index.mjs +15 -0
- package/dist/node_modules/typescript/lib/typescript.mjs +158039 -0
- package/dist/node_modules/util/support/isBufferBrowser.mjs +6 -0
- package/dist/node_modules/util/support/types.mjs +189 -0
- package/dist/node_modules/util/util.mjs +399 -0
- package/dist/node_modules/which-typed-array/index.mjs +71 -0
- package/dist/node_modules/yaml/browser/dist/PlainValue-b8036b75.mjs +883 -0
- package/dist/node_modules/yaml/browser/dist/Schema-e94716c8.mjs +548 -0
- package/dist/node_modules/yaml/browser/dist/index.mjs +690 -0
- package/dist/node_modules/yaml/browser/dist/parse-cst.mjs +1141 -0
- package/dist/node_modules/yaml/browser/dist/resolveSeq-492ab440.mjs +1566 -0
- package/dist/node_modules/yaml/browser/dist/warnings-df54cb69.mjs +337 -0
- package/dist/node_modules/yaml/browser/index.mjs +8 -0
- package/dist/style.css +1 -1
- package/dist/utils/time.mjs +1 -1
- package/package.json +5 -1
- /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,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
|
+
};
|
package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs
ADDED
|
@@ -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
|
+
};
|