@viswa-test/audit-log 0.0.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/README.md +710 -0
- package/dist/AuditLog.js +2 -0
- package/dist/AuditLog.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +2 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/_tslib.js +2 -0
- package/dist/_virtual/_tslib.js.map +1 -0
- package/dist/_virtual/index.js +2 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/_virtual/index2.js +2 -0
- package/dist/_virtual/index2.js.map +1 -0
- package/dist/_virtual/index3.js +2 -0
- package/dist/_virtual/index3.js.map +1 -0
- package/dist/_virtual/utilities.js +2 -0
- package/dist/_virtual/utilities.js.map +1 -0
- package/dist/cjs/AuditLog.js +2 -0
- package/dist/cjs/AuditLog.js.map +1 -0
- package/dist/cjs/_virtual/_commonjsHelpers.js +2 -0
- package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/cjs/_virtual/_tslib.js +2 -0
- package/dist/cjs/_virtual/_tslib.js.map +1 -0
- package/dist/cjs/_virtual/index.js +2 -0
- package/dist/cjs/_virtual/index.js.map +1 -0
- package/dist/cjs/_virtual/index2.js +2 -0
- package/dist/cjs/_virtual/index2.js.map +1 -0
- package/dist/cjs/_virtual/index3.js +2 -0
- package/dist/cjs/_virtual/index3.js.map +1 -0
- package/dist/cjs/_virtual/utilities.js +2 -0
- package/dist/cjs/_virtual/utilities.js.map +1 -0
- package/dist/cjs/components/ActionTakenBody.js +2 -0
- package/dist/cjs/components/ActionTakenBody.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanel.js +2 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanel.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanel.module.css.js +2 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanel.module.css.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanelItem.js +2 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogPanelItem.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogSandBox.js +2 -0
- package/dist/cjs/components/AuditLogPanel/AuditLogSandBox.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/CommonUI.js +2 -0
- package/dist/cjs/components/AuditLogPanel/CommonUI.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/ComparisonSummaryCard.js +2 -0
- package/dist/cjs/components/AuditLogPanel/ComparisonSummaryCard.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/FilterSection.js +2 -0
- package/dist/cjs/components/AuditLogPanel/FilterSection.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/Services/AuditLogPanelAdapter.js +2 -0
- package/dist/cjs/components/AuditLogPanel/Services/AuditLogPanelAdapter.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelData.js +2 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelData.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js +2 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelFilters.js +2 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelFilters.js.map +1 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelScroll.js +2 -0
- package/dist/cjs/components/AuditLogPanel/Services/useAuditLogPanelScroll.js.map +1 -0
- package/dist/cjs/components/CustomMultiSelect.js +2 -0
- package/dist/cjs/components/CustomMultiSelect.js.map +1 -0
- package/dist/cjs/components/DateRangeSelector.js +2 -0
- package/dist/cjs/components/DateRangeSelector.js.map +1 -0
- package/dist/cjs/components/ImpactRangeSelector.js +2 -0
- package/dist/cjs/components/ImpactRangeSelector.js.map +1 -0
- package/dist/cjs/components/LogFilterDropdown.js +2 -0
- package/dist/cjs/components/LogFilterDropdown.js.map +1 -0
- package/dist/cjs/components/LogFilters.js +2 -0
- package/dist/cjs/components/LogFilters.js.map +1 -0
- package/dist/cjs/components/LogFiltersSidebar.js +2 -0
- package/dist/cjs/components/LogFiltersSidebar.js.map +1 -0
- package/dist/cjs/components/LogTable.js +2 -0
- package/dist/cjs/components/LogTable.js.map +1 -0
- package/dist/cjs/components/auditLog.api.js +2 -0
- package/dist/cjs/components/auditLog.api.js.map +1 -0
- package/dist/cjs/components/useAuditLogController.js +2 -0
- package/dist/cjs/components/useAuditLogController.js.map +1 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/deserialize.js +2 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/index.js +2 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/serialize.js +2 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/cjs/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/adapters/adapters.js +2 -0
- package/dist/cjs/node_modules/axios/lib/adapters/adapters.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/adapters/fetch.js +2 -0
- package/dist/cjs/node_modules/axios/lib/adapters/fetch.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/adapters/xhr.js +2 -0
- package/dist/cjs/node_modules/axios/lib/adapters/xhr.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/axios.js +2 -0
- package/dist/cjs/node_modules/axios/lib/axios.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js +2 -0
- package/dist/cjs/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js +2 -0
- package/dist/cjs/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js +2 -0
- package/dist/cjs/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/Axios.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/Axios.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/AxiosError.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/AxiosError.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/settle.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/settle.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/core/transformData.js +2 -0
- package/dist/cjs/node_modules/axios/lib/core/transformData.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/defaults/index.js +2 -0
- package/dist/cjs/node_modules/axios/lib/defaults/index.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/defaults/transitional.js +2 -0
- package/dist/cjs/node_modules/axios/lib/defaults/transitional.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/env/data.js +2 -0
- package/dist/cjs/node_modules/axios/lib/env/data.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/bind.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/bind.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/cookies.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/cookies.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/null.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/null.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/spread.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/spread.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/throttle.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/throttle.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/helpers/validator.js +2 -0
- package/dist/cjs/node_modules/axios/lib/helpers/validator.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/FormData.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/index.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/browser/index.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/common/utils.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/common/utils.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/platform/index.js +2 -0
- package/dist/cjs/node_modules/axios/lib/platform/index.js.map +1 -0
- package/dist/cjs/node_modules/axios/lib/utils.js +2 -0
- package/dist/cjs/node_modules/axios/lib/utils.js.map +1 -0
- package/dist/cjs/node_modules/bail/index.js +2 -0
- package/dist/cjs/node_modules/bail/index.js.map +1 -0
- package/dist/cjs/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js +2 -0
- package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
- package/dist/cjs/node_modules/devlop/lib/default.js +2 -0
- package/dist/cjs/node_modules/devlop/lib/default.js.map +1 -0
- package/dist/cjs/node_modules/estree-util-is-identifier-name/lib/index.js +2 -0
- package/dist/cjs/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/extend/index.js +2 -0
- package/dist/cjs/node_modules/extend/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-to-jsx-runtime/lib/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/hast-util-whitespace/lib/index.js +2 -0
- package/dist/cjs/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/html-url-attributes/lib/index.js +2 -0
- package/dist/cjs/node_modules/html-url-attributes/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/inline-style-parser/cjs/index.js +2 -0
- package/dist/cjs/node_modules/inline-style-parser/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/cjs/node_modules/mdast-util-to-string/lib/index.js +2 -0
- package/dist/cjs/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/constructs.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/create-tokenizer.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/content.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/document.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/flow.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/text.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/parse.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/postprocess.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/cjs/node_modules/micromark/lib/preprocess.js +2 -0
- package/dist/cjs/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/content.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/list.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
- package/dist/cjs/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/cjs/node_modules/micromark-factory-destination/index.js +2 -0
- package/dist/cjs/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-factory-label/index.js +2 -0
- package/dist/cjs/node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-factory-space/index.js +2 -0
- package/dist/cjs/node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-factory-title/index.js +2 -0
- package/dist/cjs/node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-factory-whitespace/index.js +2 -0
- package/dist/cjs/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-character/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-chunked/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-classify-character/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-combine-extensions/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-decode-string/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-html-tag-name/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-normalize-identifier/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-resolve-all/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-sanitize-uri/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-subtokenize/index.js +2 -0
- package/dist/cjs/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/cjs/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +2 -0
- package/dist/cjs/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/dist/cjs/node_modules/property-information/index.js +2 -0
- package/dist/cjs/node_modules/property-information/index.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/aria.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/find.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/find.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/hast-to-react.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/html.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/html.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/normalize.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/svg.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/create.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/defined-info.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/info.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/merge.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/schema.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/util/types.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/xlink.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/xml.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/cjs/node_modules/property-information/lib/xmlns.js +2 -0
- package/dist/cjs/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/cjs/node_modules/react-markdown/lib/index.js +2 -0
- package/dist/cjs/node_modules/react-markdown/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/remark-parse/lib/index.js +2 -0
- package/dist/cjs/node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/remark-rehype/lib/index.js +2 -0
- package/dist/cjs/node_modules/remark-rehype/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/cjs/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/cjs/node_modules/style-to-js/cjs/index.js +2 -0
- package/dist/cjs/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/style-to-js/cjs/utilities.js +2 -0
- package/dist/cjs/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/dist/cjs/node_modules/style-to-object/cjs/index.js +2 -0
- package/dist/cjs/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/trim-lines/index.js +2 -0
- package/dist/cjs/node_modules/trim-lines/index.js.map +1 -0
- package/dist/cjs/node_modules/trough/lib/index.js +2 -0
- package/dist/cjs/node_modules/trough/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unified/lib/callable-instance.js +2 -0
- package/dist/cjs/node_modules/unified/lib/callable-instance.js.map +1 -0
- package/dist/cjs/node_modules/unified/lib/index.js +2 -0
- package/dist/cjs/node_modules/unified/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unified/node_modules/is-plain-obj/index.js +2 -0
- package/dist/cjs/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/cjs/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/vfile/lib/index.js +2 -0
- package/dist/cjs/node_modules/vfile/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/vfile/lib/minpath.browser.js +2 -0
- package/dist/cjs/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/cjs/node_modules/vfile/lib/minproc.browser.js +2 -0
- package/dist/cjs/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/cjs/node_modules/vfile/lib/minurl.browser.js +2 -0
- package/dist/cjs/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/cjs/node_modules/vfile/lib/minurl.shared.js +2 -0
- package/dist/cjs/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/cjs/node_modules/vfile-message/lib/index.js +2 -0
- package/dist/cjs/node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/cjs/services/restoreAuditVersion.js +2 -0
- package/dist/cjs/services/restoreAuditVersion.js.map +1 -0
- package/dist/cjs/services/useAuditLogDistinctValues.js +2 -0
- package/dist/cjs/services/useAuditLogDistinctValues.js.map +1 -0
- package/dist/cjs/services/useAuditLogsData.js +2 -0
- package/dist/cjs/services/useAuditLogsData.js.map +1 -0
- package/dist/cjs/styles.css +1 -0
- package/dist/components/ActionTakenBody.js +2 -0
- package/dist/components/ActionTakenBody.js.map +1 -0
- package/dist/components/AuditLogPanel/AuditLogPanel.js +2 -0
- package/dist/components/AuditLogPanel/AuditLogPanel.js.map +1 -0
- package/dist/components/AuditLogPanel/AuditLogPanel.module.css.js +2 -0
- package/dist/components/AuditLogPanel/AuditLogPanel.module.css.js.map +1 -0
- package/dist/components/AuditLogPanel/AuditLogPanelItem.js +2 -0
- package/dist/components/AuditLogPanel/AuditLogPanelItem.js.map +1 -0
- package/dist/components/AuditLogPanel/AuditLogSandBox.js +2 -0
- package/dist/components/AuditLogPanel/AuditLogSandBox.js.map +1 -0
- package/dist/components/AuditLogPanel/CommonUI.js +2 -0
- package/dist/components/AuditLogPanel/CommonUI.js.map +1 -0
- package/dist/components/AuditLogPanel/ComparisonSummaryCard.js +2 -0
- package/dist/components/AuditLogPanel/ComparisonSummaryCard.js.map +1 -0
- package/dist/components/AuditLogPanel/FilterSection.js +2 -0
- package/dist/components/AuditLogPanel/FilterSection.js.map +1 -0
- package/dist/components/AuditLogPanel/Services/AuditLogPanelAdapter.js +2 -0
- package/dist/components/AuditLogPanel/Services/AuditLogPanelAdapter.js.map +1 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelData.js +2 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelData.js.map +1 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js +2 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.js.map +1 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelFilters.js +2 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelFilters.js.map +1 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelScroll.js +2 -0
- package/dist/components/AuditLogPanel/Services/useAuditLogPanelScroll.js.map +1 -0
- package/dist/components/CustomMultiSelect.js +2 -0
- package/dist/components/CustomMultiSelect.js.map +1 -0
- package/dist/components/DateRangeSelector.js +2 -0
- package/dist/components/DateRangeSelector.js.map +1 -0
- package/dist/components/ImpactRangeSelector.js +2 -0
- package/dist/components/ImpactRangeSelector.js.map +1 -0
- package/dist/components/LogFilterDropdown.js +2 -0
- package/dist/components/LogFilterDropdown.js.map +1 -0
- package/dist/components/LogFilters.js +2 -0
- package/dist/components/LogFilters.js.map +1 -0
- package/dist/components/LogFiltersSidebar.js +2 -0
- package/dist/components/LogFiltersSidebar.js.map +1 -0
- package/dist/components/LogTable.js +2 -0
- package/dist/components/LogTable.js.map +1 -0
- package/dist/components/auditLog.api.js +2 -0
- package/dist/components/auditLog.api.js.map +1 -0
- package/dist/components/useAuditLogController.js +2 -0
- package/dist/components/useAuditLogController.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +2 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +2 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +2 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +2 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js.map +1 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js +2 -0
- package/dist/node_modules/axios/lib/adapters/fetch.js.map +1 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js +2 -0
- package/dist/node_modules/axios/lib/adapters/xhr.js.map +1 -0
- package/dist/node_modules/axios/lib/axios.js +2 -0
- package/dist/node_modules/axios/lib/axios.js.map +1 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +2 -0
- package/dist/node_modules/axios/lib/cancel/CancelToken.js.map +1 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js +2 -0
- package/dist/node_modules/axios/lib/cancel/CanceledError.js.map +1 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js +2 -0
- package/dist/node_modules/axios/lib/cancel/isCancel.js.map +1 -0
- package/dist/node_modules/axios/lib/core/Axios.js +2 -0
- package/dist/node_modules/axios/lib/core/Axios.js.map +1 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js +2 -0
- package/dist/node_modules/axios/lib/core/AxiosError.js.map +1 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +2 -0
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js.map +1 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +2 -0
- package/dist/node_modules/axios/lib/core/InterceptorManager.js.map +1 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js +2 -0
- package/dist/node_modules/axios/lib/core/buildFullPath.js.map +1 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +2 -0
- package/dist/node_modules/axios/lib/core/dispatchRequest.js.map +1 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js +2 -0
- package/dist/node_modules/axios/lib/core/mergeConfig.js.map +1 -0
- package/dist/node_modules/axios/lib/core/settle.js +2 -0
- package/dist/node_modules/axios/lib/core/settle.js.map +1 -0
- package/dist/node_modules/axios/lib/core/transformData.js +2 -0
- package/dist/node_modules/axios/lib/core/transformData.js.map +1 -0
- package/dist/node_modules/axios/lib/defaults/index.js +2 -0
- package/dist/node_modules/axios/lib/defaults/index.js.map +1 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js +2 -0
- package/dist/node_modules/axios/lib/defaults/transitional.js.map +1 -0
- package/dist/node_modules/axios/lib/env/data.js +2 -0
- package/dist/node_modules/axios/lib/env/data.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +2 -0
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +2 -0
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/bind.js +2 -0
- package/dist/node_modules/axios/lib/helpers/bind.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js +2 -0
- package/dist/node_modules/axios/lib/helpers/buildURL.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js +2 -0
- package/dist/node_modules/axios/lib/helpers/combineURLs.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +2 -0
- package/dist/node_modules/axios/lib/helpers/composeSignals.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js +2 -0
- package/dist/node_modules/axios/lib/helpers/cookies.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +2 -0
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js +2 -0
- package/dist/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js +2 -0
- package/dist/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js +2 -0
- package/dist/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/null.js +2 -0
- package/dist/node_modules/axios/lib/helpers/null.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +2 -0
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js +2 -0
- package/dist/node_modules/axios/lib/helpers/parseProtocol.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +2 -0
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +2 -0
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js +2 -0
- package/dist/node_modules/axios/lib/helpers/speedometer.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/spread.js +2 -0
- package/dist/node_modules/axios/lib/helpers/spread.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js +2 -0
- package/dist/node_modules/axios/lib/helpers/throttle.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js +2 -0
- package/dist/node_modules/axios/lib/helpers/toFormData.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -0
- package/dist/node_modules/axios/lib/helpers/toURLEncodedForm.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js +2 -0
- package/dist/node_modules/axios/lib/helpers/trackStream.js.map +1 -0
- package/dist/node_modules/axios/lib/helpers/validator.js +2 -0
- package/dist/node_modules/axios/lib/helpers/validator.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/Blob.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js +2 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/FormData.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +2 -0
- package/dist/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js +2 -0
- package/dist/node_modules/axios/lib/platform/browser/index.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js +2 -0
- package/dist/node_modules/axios/lib/platform/common/utils.js.map +1 -0
- package/dist/node_modules/axios/lib/platform/index.js +2 -0
- package/dist/node_modules/axios/lib/platform/index.js.map +1 -0
- package/dist/node_modules/axios/lib/utils.js +2 -0
- package/dist/node_modules/axios/lib/utils.js.map +1 -0
- package/dist/node_modules/bail/index.js +2 -0
- package/dist/node_modules/bail/index.js.map +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +2 -0
- package/dist/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +2 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
- package/dist/node_modules/devlop/lib/default.js +2 -0
- package/dist/node_modules/devlop/lib/default.js.map +1 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +2 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
- package/dist/node_modules/extend/index.js +2 -0
- package/dist/node_modules/extend/index.js.map +1 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +2 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +2 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +2 -0
- package/dist/node_modules/html-url-attributes/lib/index.js.map +1 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +2 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +2 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +2 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/node_modules/micromark/lib/constructs.js +2 -0
- package/dist/node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +2 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +2 -0
- package/dist/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +2 -0
- package/dist/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +2 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +2 -0
- package/dist/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/node_modules/micromark/lib/parse.js +2 -0
- package/dist/node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/node_modules/micromark/lib/postprocess.js +2 -0
- package/dist/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/node_modules/micromark/lib/preprocess.js +2 -0
- package/dist/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/node_modules/micromark-factory-destination/index.js +2 -0
- package/dist/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-label/index.js +2 -0
- package/dist/node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-space/index.js +2 -0
- package/dist/node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-title/index.js +2 -0
- package/dist/node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +2 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/node_modules/micromark-util-character/index.js +2 -0
- package/dist/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/node_modules/micromark-util-chunked/index.js +2 -0
- package/dist/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +2 -0
- package/dist/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +2 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +2 -0
- package/dist/node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +2 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +2 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +2 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +2 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +2 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +2 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/dist/node_modules/property-information/index.js +2 -0
- package/dist/node_modules/property-information/index.js.map +1 -0
- package/dist/node_modules/property-information/lib/aria.js +2 -0
- package/dist/node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/node_modules/property-information/lib/find.js +2 -0
- package/dist/node_modules/property-information/lib/find.js.map +1 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +2 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/dist/node_modules/property-information/lib/html.js +2 -0
- package/dist/node_modules/property-information/lib/html.js.map +1 -0
- package/dist/node_modules/property-information/lib/normalize.js +2 -0
- package/dist/node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/node_modules/property-information/lib/svg.js +2 -0
- package/dist/node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/create.js +2 -0
- package/dist/node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +2 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/info.js +2 -0
- package/dist/node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/merge.js +2 -0
- package/dist/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/schema.js +2 -0
- package/dist/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/types.js +2 -0
- package/dist/node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/node_modules/property-information/lib/xlink.js +2 -0
- package/dist/node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/node_modules/property-information/lib/xml.js +2 -0
- package/dist/node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/node_modules/property-information/lib/xmlns.js +2 -0
- package/dist/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/node_modules/react-markdown/lib/index.js +2 -0
- package/dist/node_modules/react-markdown/lib/index.js.map +1 -0
- package/dist/node_modules/remark-parse/lib/index.js +2 -0
- package/dist/node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/node_modules/remark-rehype/lib/index.js +2 -0
- package/dist/node_modules/remark-rehype/lib/index.js.map +1 -0
- package/dist/node_modules/space-separated-tokens/index.js +2 -0
- package/dist/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/style-to-js/cjs/index.js +2 -0
- package/dist/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +2 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/dist/node_modules/style-to-object/cjs/index.js +2 -0
- package/dist/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/dist/node_modules/trim-lines/index.js +2 -0
- package/dist/node_modules/trim-lines/index.js.map +1 -0
- package/dist/node_modules/trough/lib/index.js +2 -0
- package/dist/node_modules/trough/lib/index.js.map +1 -0
- package/dist/node_modules/unified/lib/callable-instance.js +2 -0
- package/dist/node_modules/unified/lib/callable-instance.js.map +1 -0
- package/dist/node_modules/unified/lib/index.js +2 -0
- package/dist/node_modules/unified/lib/index.js.map +1 -0
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +2 -0
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/node_modules/unist-util-is/lib/index.js +2 -0
- package/dist/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-position/lib/index.js +2 -0
- package/dist/node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +2 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +2 -0
- package/dist/node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +2 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/vfile/lib/index.js +2 -0
- package/dist/node_modules/vfile/lib/index.js.map +1 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +2 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +2 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +2 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +2 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/node_modules/vfile-message/lib/index.js +2 -0
- package/dist/node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/services/restoreAuditVersion.js +2 -0
- package/dist/services/restoreAuditVersion.js.map +1 -0
- package/dist/services/useAuditLogDistinctValues.js +2 -0
- package/dist/services/useAuditLogDistinctValues.js.map +1 -0
- package/dist/services/useAuditLogsData.js +2 -0
- package/dist/services/useAuditLogsData.js.map +1 -0
- package/dist/styles.css +1 -0
- package/dist/types/App.d.ts +2 -0
- package/dist/types/App.d.ts.map +1 -0
- package/dist/types/AuditLog.d.ts +40 -0
- package/dist/types/AuditLog.d.ts.map +1 -0
- package/dist/types/components/ActionTakenBody.d.ts +11 -0
- package/dist/types/components/ActionTakenBody.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanel.d.ts +6 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanel.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanel.types.d.ts +208 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanel.types.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanelItem.d.ts +18 -0
- package/dist/types/components/AuditLogPanel/AuditLogPanelItem.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/AuditLogSandBox.d.ts +2 -0
- package/dist/types/components/AuditLogPanel/AuditLogSandBox.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/CommonUI.d.ts +15 -0
- package/dist/types/components/AuditLogPanel/CommonUI.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/ComparisonSummaryCard.d.ts +9 -0
- package/dist/types/components/AuditLogPanel/ComparisonSummaryCard.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Constants/constants.d.ts +6 -0
- package/dist/types/components/AuditLogPanel/Constants/constants.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/FilterSection.d.ts +14 -0
- package/dist/types/components/AuditLogPanel/FilterSection.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Services/AuditLogPanelAdapter.d.ts +4 -0
- package/dist/types/components/AuditLogPanel/Services/AuditLogPanelAdapter.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelData.d.ts +9 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelData.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.d.ts +9 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelDistinctValues.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelFilters.d.ts +37 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelFilters.d.ts.map +1 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelScroll.d.ts +3 -0
- package/dist/types/components/AuditLogPanel/Services/useAuditLogPanelScroll.d.ts.map +1 -0
- package/dist/types/components/CustomMultiSelect.d.ts +16 -0
- package/dist/types/components/CustomMultiSelect.d.ts.map +1 -0
- package/dist/types/components/DateRangeSelector.d.ts +20 -0
- package/dist/types/components/DateRangeSelector.d.ts.map +1 -0
- package/dist/types/components/ImpactRangeSelector.d.ts +13 -0
- package/dist/types/components/ImpactRangeSelector.d.ts.map +1 -0
- package/dist/types/components/LogFilterDropdown.d.ts +46 -0
- package/dist/types/components/LogFilterDropdown.d.ts.map +1 -0
- package/dist/types/components/LogFilters.d.ts +32 -0
- package/dist/types/components/LogFilters.d.ts.map +1 -0
- package/dist/types/components/LogFiltersSidebar.d.ts +46 -0
- package/dist/types/components/LogFiltersSidebar.d.ts.map +1 -0
- package/dist/types/components/LogTable.d.ts +72 -0
- package/dist/types/components/LogTable.d.ts.map +1 -0
- package/dist/types/components/auditLog.api.d.ts +18 -0
- package/dist/types/components/auditLog.api.d.ts.map +1 -0
- package/dist/types/components/useAuditLogController.d.ts +51 -0
- package/dist/types/components/useAuditLogController.d.ts.map +1 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/services/restoreAuditVersion.d.ts +7 -0
- package/dist/types/services/restoreAuditVersion.d.ts.map +1 -0
- package/dist/types/services/useAuditLogDistinctValues.d.ts +34 -0
- package/dist/types/services/useAuditLogDistinctValues.d.ts.map +1 -0
- package/dist/types/services/useAuditLogsData.d.ts +28 -0
- package/dist/types/services/useAuditLogsData.d.ts.map +1 -0
- package/package.json +121 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/unist-util-is/lib/index.js"],"sourcesContent":["/**\n * @import {Node, Parent} from 'unist'\n */\n\n/**\n * @template Fn\n * @template Fallback\n * @typedef {Fn extends (value: any) => value is infer Thing ? Thing : Fallback} Predicate\n */\n\n/**\n * @callback Check\n * Check that an arbitrary value is a node.\n * @param {unknown} this\n * The given context.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is a node and passes a test.\n *\n * @typedef {Record<string, unknown> | Node} Props\n * Object to check for equivalence.\n *\n * Note: `Node` is included as it is common but is not indexable.\n *\n * @typedef {Array<Props | TestFunction | string> | ReadonlyArray<Props | TestFunction | string> | Props | TestFunction | string | null | undefined} Test\n * Check for an arbitrary node.\n *\n * @callback TestFunction\n * Check if a node passes a test.\n * @param {unknown} this\n * The given context.\n * @param {Node} node\n * A node.\n * @param {number | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | undefined} [parent]\n * The node’s parent.\n * @returns {boolean | undefined | void}\n * Whether this node passes the test.\n *\n * Note: `void` is included until TS sees no return as `undefined`.\n */\n\n/**\n * Check if `node` is a `Node` and whether it passes the given test.\n *\n * @param {unknown} node\n * Thing to check, typically `Node`.\n * @param {Test} test\n * A check for a specific node.\n * @param {number | null | undefined} index\n * The node’s position in its parent.\n * @param {Parent | null | undefined} parent\n * The node’s parent.\n * @param {unknown} context\n * Context object (`this`) to pass to `test` functions.\n * @returns {boolean}\n * Whether `node` is a node and passes a test.\n */\nexport const is =\n // Note: overloads in JSDoc can’t yet use different `@template`s.\n /**\n * @type {(\n * (<Condition extends ReadonlyArray<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &\n * (<Condition extends Array<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &\n * (<Condition extends string>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &\n * (<Condition extends Props>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &\n * (<Condition extends TestFunction>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &\n * ((node?: null | undefined) => false) &\n * ((node: unknown, test?: null | undefined, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &\n * ((node: unknown, test?: Test, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function (node, test, index, parent, context) {\n const check = convert(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!is(parent) || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n return looksLikeANode(node)\n ? check.call(context, node, index, parent)\n : false\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param {Test} test\n * * when nullish, checks if `node` is a `Node`.\n * * when `string`, works like passing `(node) => node.type === test`.\n * * when `function` checks if function passed the node is true.\n * * when `object`, checks that all keys in test are in node, and that they have (strictly) equal values.\n * * when `array`, checks if any one of the subtests pass.\n * @returns {Check}\n * An assertion.\n */\nexport const convert =\n // Note: overloads in JSDoc can’t yet use different `@template`s.\n /**\n * @type {(\n * (<Condition extends string>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &\n * (<Condition extends Props>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &\n * (<Condition extends TestFunction>(test: Condition) => (node: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &\n * ((test?: null | undefined) => (node?: unknown, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node) &\n * ((test?: Test) => Check)\n * )}\n */\n (\n /**\n * @param {Test} [test]\n * @returns {Check}\n */\n function (test) {\n if (test === null || test === undefined) {\n return ok\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n if (typeof test === 'object') {\n return Array.isArray(test)\n ? anyFactory(test)\n : // Cast because `ReadonlyArray` goes into the above but `isArray`\n // narrows to `Array`.\n propertiesFactory(/** @type {Props} */ (test))\n }\n\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n throw new Error('Expected function, string, or object as test')\n }\n )\n\n/**\n * @param {Array<Props | TestFunction | string>} tests\n * @returns {Check}\n */\nfunction anyFactory(tests) {\n /** @type {Array<Check>} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convert(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @type {TestFunction}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].apply(this, parameters)) return true\n }\n\n return false\n }\n}\n\n/**\n * Turn an object into a test for a node with a certain fields.\n *\n * @param {Props} check\n * @returns {Check}\n */\nfunction propertiesFactory(check) {\n const checkAsRecord = /** @type {Record<string, unknown>} */ (check)\n\n return castFactory(all)\n\n /**\n * @param {Node} node\n * @returns {boolean}\n */\n function all(node) {\n const nodeAsRecord = /** @type {Record<string, unknown>} */ (\n /** @type {unknown} */ (node)\n )\n\n /** @type {string} */\n let key\n\n for (key in check) {\n if (nodeAsRecord[key] !== checkAsRecord[key]) return false\n }\n\n return true\n }\n}\n\n/**\n * Turn a string into a test for a node with a certain type.\n *\n * @param {string} check\n * @returns {Check}\n */\nfunction typeFactory(check) {\n return castFactory(type)\n\n /**\n * @param {Node} node\n */\n function type(node) {\n return node && node.type === check\n }\n}\n\n/**\n * Turn a custom test into a test for a node that passes that test.\n *\n * @param {TestFunction} testFunction\n * @returns {Check}\n */\nfunction castFactory(testFunction) {\n return check\n\n /**\n * @this {unknown}\n * @type {Check}\n */\n function check(value, index, parent) {\n return Boolean(\n looksLikeANode(value) &&\n testFunction.call(\n this,\n value,\n typeof index === 'number' ? index : undefined,\n parent || undefined\n )\n )\n }\n}\n\nfunction ok() {\n return true\n}\n\n/**\n * @param {unknown} value\n * @returns {value is Node}\n */\nfunction looksLikeANode(value) {\n return value !== null && typeof value === 'object' && 'type' in value\n}\n"],"names":["convert","test","ok","castFactory","Array","isArray","tests","checks","index","length","any","parameters","apply","this","anyFactory","check","checkAsRecord","all","node","nodeAsRecord","key","propertiesFactory","type","typeFactory","Error","testFunction","value","parent","Boolean","looksLikeANode","call","undefined"],"mappings":"oEA4IY,MAACA,EAWb,SAKcC,GACR,GAAIA,QACF,OAAOC,EAGT,GAAoB,mBAATD,EACT,OAAOE,EAAYF,GAGrB,GAAoB,iBAATA,EACT,OAAOG,MAAMC,QAAQJ,GAmB7B,SAAoBK,GAElB,MAAMC,EAAS,GACf,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,QACrBF,EAAOC,GAASR,EAAQM,EAAME,IAGhC,OAAOL,EAAYO,GAMnB,SAASA,KAAOC,GACd,IAAIH,GAAS,EAEb,OAASA,EAAQD,EAAOE,QACtB,GAAIF,EAAOC,GAAOI,MAAMC,KAAMF,GAAa,OAAO,EAGpD,OAAO,CACR,CACH,CA1CYG,CAAWb,GAkDvB,SAA2Bc,GACzB,MAAMC,EAAwD,EAE9D,OAAOb,EAAYc,GAMnB,SAASA,EAAIC,GACX,MAAMC,EAAY,EAKlB,IAAIC,EAEJ,IAAKA,KAAOL,EACV,GAAII,EAAaC,KAASJ,EAAcI,GAAM,OAAO,EAGvD,OAAO,CACR,CACH,CAtEYC,CAAwC,GAG9C,GAAoB,iBAATpB,EACT,OA0ER,SAAqBc,GACnB,OAAOZ,EAAYmB,GAKnB,SAASA,EAAKJ,GACZ,OAAOA,GAAQA,EAAKI,OAASP,CAC9B,CACH,CAnFeQ,CAAYtB,GAGrB,MAAM,IAAIuB,MAAM,+CAEnB,EAsFH,SAASrB,EAAYsB,GACnB,OAMA,SAAeC,EAAOlB,EAAOmB,GAC3B,OAAOC,QAoBX,SAAwBF,GACtB,OAAiB,OAAVA,GAAmC,iBAAVA,GAAsB,SAAUA,CAClE,CArBMG,CAAeH,IACbD,EAAaK,KACXjB,KACAa,EACiB,iBAAVlB,EAAqBA,OAAQuB,EACpCJ,QAAUI,GAGjB,CACH,CAEA,SAAS7B,IACP,OAAO,CACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=o("end"),n=o("start");function o(t){return function(n){const o=n&&n.position&&n.position[t]||{};if("number"==typeof o.line&&o.line>0&&"number"==typeof o.column&&o.column>0)return{line:o.line,column:o.column,offset:"number"==typeof o.offset&&o.offset>-1?o.offset:void 0}}}exports.pointEnd=t,exports.pointStart=n,exports.position=function(o){const e=n(o),i=t(o);if(e&&i)return{start:e,end:i}};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/unist-util-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Get the ending point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointEnd = point('end')\n\n/**\n * Get the starting point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointStart = point('start')\n\n/**\n * Get the positional info of `node`.\n *\n * @param {'end' | 'start'} type\n * Side.\n * @returns\n * Getter.\n */\nfunction point(type) {\n return point\n\n /**\n * Get the point info of `node` at a bound side.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * @returns {Point | undefined}\n */\n function point(node) {\n const point = (node && node.position && node.position[type]) || {}\n\n if (\n typeof point.line === 'number' &&\n point.line > 0 &&\n typeof point.column === 'number' &&\n point.column > 0\n ) {\n return {\n line: point.line,\n column: point.column,\n offset:\n typeof point.offset === 'number' && point.offset > -1\n ? point.offset\n : undefined\n }\n }\n }\n}\n\n/**\n * Get the positional info of `node`.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * Node.\n * @returns {Position | undefined}\n * Position.\n */\nexport function position(node) {\n const start = pointStart(node)\n const end = pointEnd(node)\n\n if (start && end) {\n return {start, end}\n }\n}\n"],"names":["pointEnd","point","pointStart","type","node","position","line","column","offset","undefined","start","end"],"mappings":"oEA6BY,MAACA,EAAWC,EAAM,OAUjBC,EAAaD,EAAM,SAUhC,SAASA,EAAME,GACb,OAQA,SAAeC,GACb,MAAMH,EAASG,GAAQA,EAAKC,UAAYD,EAAKC,SAASF,IAAU,CAAE,EAElE,GACwB,iBAAfF,EAAMK,MACbL,EAAMK,KAAO,GACW,iBAAjBL,EAAMM,QACbN,EAAMM,OAAS,EAEf,MAAO,CACLD,KAAML,EAAMK,KACZC,OAAQN,EAAMM,OACdC,OAC0B,iBAAjBP,EAAMO,QAAuBP,EAAMO,QAAU,EAChDP,EAAMO,YACNC,EAGX,CACH,0DAUO,SAAkBL,GACvB,MAAMM,EAAQR,EAAWE,GACnBO,EAAMX,EAASI,GAErB,GAAIM,GAASC,EACX,MAAO,CAACD,QAAOC,MAEnB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";function n(n){return e(n&&n.line)+":"+e(n&&n.column)}function t(t){return n(t&&t.start)+"-"+n(t&&t.end)}function e(n){return n&&"number"==typeof n?n:1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringifyPosition=function(e){return e&&"object"==typeof e?"position"in e||"type"in e?t(e.position):"start"in e||"end"in e?t(e):"line"in e||"column"in e?n(e):"":""};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/unist-util-stringify-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n */\n\n/**\n * Serialize the positional info of a point, position (start and end points),\n * or node.\n *\n * @param {Node | NodeLike | Point | PointLike | Position | PositionLike | null | undefined} [value]\n * Node, position, or point.\n * @returns {string}\n * Pretty printed positional info of a node (`string`).\n *\n * In the format of a range `ls:cs-le:ce` (when given `node` or `position`)\n * or a point `l:c` (when given `point`), where `l` stands for line, `c` for\n * column, `s` for `start`, and `e` for end.\n * An empty string (`''`) is returned if the given value is neither `node`,\n * `position`, nor `point`.\n */\nexport function stringifyPosition(value) {\n // Nothing.\n if (!value || typeof value !== 'object') {\n return ''\n }\n\n // Node.\n if ('position' in value || 'type' in value) {\n return position(value.position)\n }\n\n // Position.\n if ('start' in value || 'end' in value) {\n return position(value)\n }\n\n // Point.\n if ('line' in value || 'column' in value) {\n return point(value)\n }\n\n // ?\n return ''\n}\n\n/**\n * @param {Point | PointLike | null | undefined} point\n * @returns {string}\n */\nfunction point(point) {\n return index(point && point.line) + ':' + index(point && point.column)\n}\n\n/**\n * @param {Position | PositionLike | null | undefined} pos\n * @returns {string}\n */\nfunction position(pos) {\n return point(pos && pos.start) + '-' + point(pos && pos.end)\n}\n\n/**\n * @param {number | null | undefined} value\n * @returns {number}\n */\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n"],"names":["point","index","line","column","position","pos","start","end","value"],"mappings":"aAiEA,SAASA,EAAMA,GACb,OAAOC,EAAMD,GAASA,EAAME,MAAQ,IAAMD,EAAMD,GAASA,EAAMG,OACjE,CAMA,SAASC,EAASC,GAChB,OAAOL,EAAMK,GAAOA,EAAIC,OAAS,IAAMN,EAAMK,GAAOA,EAAIE,IAC1D,CAMA,SAASN,EAAMO,GACb,OAAOA,GAA0B,iBAAVA,EAAqBA,EAAQ,CACtD,kFA/CO,SAA2BA,GAEhC,OAAKA,GAA0B,iBAAVA,EAKjB,aAAcA,GAAS,SAAUA,EAC5BJ,EAASI,EAAMJ,UAIpB,UAAWI,GAAS,QAASA,EACxBJ,EAASI,GAId,SAAUA,GAAS,WAAYA,EAC1BR,EAAMQ,GAIR,GAnBE,EAoBX"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../unist-util-visit-parents/lib/index.js");exports.CONTINUE=t.CONTINUE,exports.EXIT=t.EXIT,exports.SKIP=t.SKIP,exports.visit=function(e,i,n,o){let r,s,u;"function"==typeof i&&"function"!=typeof n?(s=void 0,u=i,r=n):(s=i,u=n,r=o),t.visitParents(e,s,function(t,e){const i=e[e.length-1],n=i?i.children.indexOf(t):void 0;return u(t,n,i)},r)};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n * @import {VisitorResult} from 'unist-util-visit-parents'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n// To do: use types from `unist-util-visit-parents` when it’s released.\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends ReadonlyArray<any>\n * ? MatchesOne<Value, Check[number]>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends UnistNode ? number | undefined : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends UnistParent ? Ancestor | undefined : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [Ancestor=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Visited, Parent<Ancestor, Visited>>} BuildVisitorFromMatch\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Visited\n * Node type.\n * @template {UnistParent} Ancestor\n * Parent type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromMatch<\n * Matches<Descendant, Check>,\n * Extract<Descendant, UnistParent>\n * >\n * )} BuildVisitorFromDescendants\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n */\n\n/**\n * @typedef {(\n * BuildVisitorFromDescendants<\n * InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n * @template {UnistNode} [Tree=UnistNode]\n * Node type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} testOrVisitor\n * `unist-util-is`-compatible test (optional, omit to pass a visitor).\n * @param {Visitor | boolean | null | undefined} [visitorOrReverse]\n * Handle each node (when test is omitted, pass `reverse`).\n * @param {boolean | null | undefined} [maybeReverse=false]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {\n /** @type {boolean | null | undefined} */\n let reverse\n /** @type {Test} */\n let test\n /** @type {Visitor} */\n let visitor\n\n if (\n typeof testOrVisitor === 'function' &&\n typeof visitorOrReverse !== 'function'\n ) {\n test = undefined\n visitor = testOrVisitor\n reverse = visitorOrReverse\n } else {\n // @ts-expect-error: assume the overload with test was given.\n test = testOrVisitor\n // @ts-expect-error: assume the overload with test was given.\n visitor = visitorOrReverse\n reverse = maybeReverse\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {UnistNode} node\n * @param {Array<UnistParent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n const index = parent ? parent.children.indexOf(node) : undefined\n return visitor(node, index, parent)\n }\n}\n"],"names":["tree","testOrVisitor","visitorOrReverse","maybeReverse","reverse","test","visitor","undefined","visitParents","node","parents","parent","length","index","children","indexOf"],"mappings":"mNAqRO,SAAeA,EAAMC,EAAeC,EAAkBC,GAE3D,IAAIC,EAEAC,EAEAC,EAGuB,mBAAlBL,GACqB,mBAArBC,GAEPG,OAAOE,EACPD,EAAUL,EACVG,EAAUF,IAGVG,EAAOJ,EAEPK,EAAUJ,EACVE,EAAUD,GAGZK,EAAAA,aAAaR,EAAMK,EAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GAClCC,EAAQF,EAASA,EAAOG,SAASC,QAAQN,QAAQF,EACvD,OAAOD,EAAQG,EAAMI,EAAOF,EAC7B,EAVkCP,EAWrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.js","sources":["../../../../../node_modules/unist-util-visit-parents/lib/color.js"],"sourcesContent":["/**\n * @param {string} d\n * @returns {string}\n */\nexport function color(d) {\n return d\n}\n"],"names":["d"],"mappings":"kFAIO,SAAeA,GACpB,OAAOA,CACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../unist-util-is/lib/index.js"),t=require("./color.js");const n=[],r=!0,i=!1,o="skip";exports.CONTINUE=r,exports.EXIT=i,exports.SKIP=o,exports.visitParents=function(c,s,f,u){let l;"function"==typeof s&&"function"!=typeof f?(u=f,f=s):l=s;const p=e.convert(l),a=u?-1:1;!function e(c,l,d){const y=c&&"object"==typeof c?c:{};if("string"==typeof y.type){const e="string"==typeof y.tagName?y.tagName:"string"==typeof y.name?y.name:void 0;Object.defineProperty(h,"name",{value:"node ("+t.color(c.type+(e?"<"+e+">":""))+")"})}return h;function h(){let t,y,h,g=n;if((!s||p(c,l,d[d.length-1]||void 0))&&(g=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[r,e];return null==e?n:[e]}(f(c,d)),g[0]===i))return g;if("children"in c&&c.children){const n=c;if(n.children&&g[0]!==o)for(y=(u?n.children.length:-1)+a,h=d.concat(n);y>-1&&y<n.children.length;){const r=n.children[y];if(t=e(r,y,h)(),t[0]===i)return t;y="number"==typeof t[1]?t[1]:y+a}}return g}}(c,void 0,[])()};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/unist-util-visit-parents/lib/index.js"],"sourcesContent":["/**\n * @import {Node as UnistNode, Parent as UnistParent} from 'unist'\n */\n\n/**\n * @typedef {Exclude<import('unist-util-is').Test, undefined> | undefined} Test\n * Test from `unist-util-is`.\n *\n * Note: we have remove and add `undefined`, because otherwise when generating\n * automatic `.d.ts` files, TS tries to flatten paths from a local perspective,\n * which doesn’t work when publishing on npm.\n */\n\n/**\n * @typedef {(\n * Fn extends (value: any) => value is infer Thing\n * ? Thing\n * : Fallback\n * )} Predicate\n * Get the value of a type guard `Fn`.\n * @template Fn\n * Value; typically function that is a type guard (such as `(x): x is Y`).\n * @template Fallback\n * Value to yield if `Fn` is not a type guard.\n */\n\n/**\n * @typedef {(\n * Check extends null | undefined // No test.\n * ? Value\n * : Value extends {type: Check} // String (type) test.\n * ? Value\n * : Value extends Check // Partial test.\n * ? Value\n * : Check extends Function // Function test.\n * ? Predicate<Check, Value> extends Value\n * ? Predicate<Check, Value>\n * : never\n * : never // Some other test?\n * )} MatchesOne\n * Check whether a node matches a primitive check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test, but not arrays.\n */\n\n/**\n * @typedef {(\n * Check extends ReadonlyArray<infer T>\n * ? MatchesOne<Value, T>\n * : Check extends Array<infer T>\n * ? MatchesOne<Value, T>\n * : MatchesOne<Value, Check>\n * )} Matches\n * Check whether a node matches a check in the type system.\n * @template Value\n * Value; typically unist `Node`.\n * @template Check\n * Value; typically `unist-util-is`-compatible test.\n */\n\n/**\n * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10} Uint\n * Number; capped reasonably.\n */\n\n/**\n * @typedef {I extends 0 ? 1 : I extends 1 ? 2 : I extends 2 ? 3 : I extends 3 ? 4 : I extends 4 ? 5 : I extends 5 ? 6 : I extends 6 ? 7 : I extends 7 ? 8 : I extends 8 ? 9 : 10} Increment\n * Increment a number in the type system.\n * @template {Uint} [I=0]\n * Index.\n */\n\n/**\n * @typedef {(\n * Node extends UnistParent\n * ? Node extends {children: Array<infer Children>}\n * ? Child extends Children ? Node : never\n * : never\n * : never\n * )} InternalParent\n * Collect nodes that can be parents of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {InternalParent<InclusiveDescendant<Tree>, Child>} Parent\n * Collect nodes in `Tree` that can be parents of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Depth extends Max\n * ? never\n * :\n * | InternalParent<Node, Child>\n * | InternalAncestor<Node, InternalParent<Node, Child>, Max, Increment<Depth>>\n * )} InternalAncestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Node\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {InternalAncestor<InclusiveDescendant<Tree>, Child>} Ancestor\n * Collect nodes in `Tree` that can be ancestors of `Child`.\n * @template {UnistNode} Tree\n * All node types in a tree.\n * @template {UnistNode} Child\n * Node to search for.\n */\n\n/**\n * @typedef {(\n * Tree extends UnistParent\n * ? Depth extends Max\n * ? Tree\n * : Tree | InclusiveDescendant<Tree['children'][number], Max, Increment<Depth>>\n * : Tree\n * )} InclusiveDescendant\n * Collect all (inclusive) descendants of `Tree`.\n *\n * > 👉 **Note**: for performance reasons, this seems to be the fastest way to\n * > recurse without actually running into an infinite loop, which the\n * > previous version did.\n * >\n * > Practically, a max of `2` is typically enough assuming a `Root` is\n * > passed, but it doesn’t improve performance.\n * > It gets higher with `List > ListItem > Table > TableRow > TableCell`.\n * > Using up to `10` doesn’t hurt or help either.\n * @template {UnistNode} Tree\n * Tree type.\n * @template {Uint} [Max=10]\n * Max; searches up to this depth.\n * @template {Uint} [Depth=0]\n * Current depth.\n */\n\n/**\n * @typedef {'skip' | boolean} Action\n * Union of the action types.\n *\n * @typedef {number} Index\n * Move to the sibling at `index` next (after node itself is completely\n * traversed).\n *\n * Useful if mutating the tree, such as removing the node the visitor is\n * currently on, or any of its previous siblings.\n * Results less than 0 or greater than or equal to `children.length` stop\n * traversing the parent.\n *\n * @typedef {[(Action | null | undefined | void)?, (Index | null | undefined)?]} ActionTuple\n * List with one or two values, the first an action, the second an index.\n *\n * @typedef {Action | ActionTuple | Index | null | undefined | void} VisitorResult\n * Any value that can be returned from a visitor.\n */\n\n/**\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform the parent of node (the last of `ancestors`).\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of an ancestor still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Array<VisitedParents>} ancestors\n * Ancestors of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n * @template {UnistNode} [Visited=UnistNode]\n * Visited node type.\n * @template {UnistParent} [VisitedParents=UnistParent]\n * Ancestor type.\n */\n\n/**\n * @typedef {Visitor<Matches<InclusiveDescendant<Tree>, Check>, Ancestor<Tree, Matches<InclusiveDescendant<Tree>, Check>>>} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parents`.\n * @template {UnistNode} [Tree=UnistNode]\n * Tree type.\n * @template {Test} [Check=Test]\n * Test type.\n */\n\nimport {convert} from 'unist-util-is'\nimport {color} from 'unist-util-visit-parents/do-not-use-color'\n\n/** @type {Readonly<ActionTuple>} */\nconst empty = []\n\n/**\n * Continue traversing as normal.\n */\nexport const CONTINUE = true\n\n/**\n * Stop traversing immediately.\n */\nexport const EXIT = false\n\n/**\n * Do not traverse this node’s children.\n */\nexport const SKIP = 'skip'\n\n/**\n * Visit nodes, with ancestral information.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @overload\n * @param {Tree} tree\n * @param {Check} check\n * @param {BuildVisitor<Tree, Check>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @overload\n * @param {Tree} tree\n * @param {BuildVisitor<Tree>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {undefined}\n *\n * @param {UnistNode} tree\n * Tree to traverse.\n * @param {Visitor | Test} test\n * `unist-util-is`-compatible test\n * @param {Visitor | boolean | null | undefined} [visitor]\n * Handle each node.\n * @param {boolean | null | undefined} [reverse]\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns {undefined}\n * Nothing.\n *\n * @template {UnistNode} Tree\n * Node type.\n * @template {Test} Check\n * `unist-util-is`-compatible test.\n */\nexport function visitParents(tree, test, visitor, reverse) {\n /** @type {Test} */\n let check\n\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n // @ts-expect-error no visitor given, so `visitor` is test.\n visitor = test\n } else {\n // @ts-expect-error visitor given, so `test` isn’t a visitor.\n check = test\n }\n\n const is = convert(check)\n const step = reverse ? -1 : 1\n\n factory(tree, undefined, [])()\n\n /**\n * @param {UnistNode} node\n * @param {number | undefined} index\n * @param {Array<UnistParent>} parents\n */\n function factory(node, index, parents) {\n const value = /** @type {Record<string, unknown>} */ (\n node && typeof node === 'object' ? node : {}\n )\n\n if (typeof value.type === 'string') {\n const name =\n // `hast`\n typeof value.tagName === 'string'\n ? value.tagName\n : // `xast`\n typeof value.name === 'string'\n ? value.name\n : undefined\n\n Object.defineProperty(visit, 'name', {\n value:\n 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'\n })\n }\n\n return visit\n\n function visit() {\n /** @type {Readonly<ActionTuple>} */\n let result = empty\n /** @type {Readonly<ActionTuple>} */\n let subresult\n /** @type {number} */\n let offset\n /** @type {Array<UnistParent>} */\n let grandparents\n\n if (!test || is(node, index, parents[parents.length - 1] || undefined)) {\n // @ts-expect-error: `visitor` is now a visitor.\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n if ('children' in node && node.children) {\n const nodeAsParent = /** @type {UnistParent} */ (node)\n\n if (nodeAsParent.children && result[0] !== SKIP) {\n offset = (reverse ? nodeAsParent.children.length : -1) + step\n grandparents = parents.concat(nodeAsParent)\n\n while (offset > -1 && offset < nodeAsParent.children.length) {\n const child = nodeAsParent.children[offset]\n\n subresult = factory(child, offset, grandparents)()\n\n if (subresult[0] === EXIT) {\n return subresult\n }\n\n offset =\n typeof subresult[1] === 'number' ? subresult[1] : offset + step\n }\n }\n }\n\n return result\n }\n }\n}\n\n/**\n * Turn a return value into a clean result.\n *\n * @param {VisitorResult} value\n * Valid return values from visitors.\n * @returns {Readonly<ActionTuple>}\n * Clean result.\n */\nfunction toResult(value) {\n if (Array.isArray(value)) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return value === null || value === undefined ? empty : [value]\n}\n"],"names":["empty","CONTINUE","EXIT","SKIP","tree","test","visitor","reverse","check","is","convert","step","factory","node","index","parents","value","type","name","tagName","undefined","Object","defineProperty","visit","color","subresult","offset","grandparents","result","length","Array","isArray","toResult","children","nodeAsParent","concat","child"],"mappings":"8IAgOA,MAAMA,EAAQ,GAKDC,GAAW,EAKXC,GAAO,EAKPC,EAAO,6EAiDb,SAAsBC,EAAMC,EAAMC,EAASC,GAEhD,IAAIC,EAEgB,mBAATH,GAA0C,mBAAZC,GACvCC,EAAUD,EAEVA,EAAUD,GAGVG,EAAQH,EAGV,MAAMI,EAAKC,EAAOA,QAACF,GACbG,EAAOJ,GAAW,EAAI,GAS5B,SAASK,EAAQC,EAAMC,EAAOC,GAC5B,MAAMC,EACJH,GAAwB,iBAATA,EAAoBA,EAAO,CAAE,EAG9C,GAA0B,iBAAfG,EAAMC,KAAmB,CAClC,MAAMC,EAEqB,iBAAlBF,EAAMG,QACTH,EAAMG,QAEgB,iBAAfH,EAAME,KACXF,EAAME,UACNE,EAERC,OAAOC,eAAeC,EAAO,OAAQ,CACnCP,MACE,SAAWQ,EAAKA,MAACX,EAAKI,MAAQC,EAAO,IAAMA,EAAO,IAAM,KAAO,KAEpE,CAED,OAAOK,EAEP,SAASA,IAEP,IAEIE,EAEAC,EAEAC,EANAC,EAAS5B,EAQb,KAAKK,GAAQI,EAAGI,EAAMC,EAAOC,EAAQA,EAAQc,OAAS,SAAMT,MAE1DQ,EA0CR,SAAkBZ,GAChB,GAAIc,MAAMC,QAAQf,GAChB,OAAOA,EAGT,GAAqB,iBAAVA,EACT,MAAO,CAACf,EAAUe,GAGpB,OAAOA,QAAwChB,EAAQ,CAACgB,EAC1D,CApDiBgB,CAAS1B,EAAQO,EAAME,IAE5Ba,EAAO,KAAO1B,GAChB,OAAO0B,EAIX,GAAI,aAAcf,GAAQA,EAAKoB,SAAU,CACvC,MAAMC,EAA2C,EAEjD,GAAIA,EAAaD,UAAYL,EAAO,KAAOzB,EAIzC,IAHAuB,GAAUnB,EAAU2B,EAAaD,SAASJ,QAAU,GAAKlB,EACzDgB,EAAeZ,EAAQoB,OAAOD,GAEvBR,GAAU,GAAKA,EAASQ,EAAaD,SAASJ,QAAQ,CAC3D,MAAMO,EAAQF,EAAaD,SAASP,GAIpC,GAFAD,EAAYb,EAAQwB,EAAOV,EAAQC,EAAvBf,GAERa,EAAU,KAAOvB,EACnB,OAAOuB,EAGTC,EAC0B,iBAAjBD,EAAU,GAAkBA,EAAU,GAAKC,EAASf,CAC9D,CAEJ,CAED,OAAOiB,CACR,CACF,CAzEDhB,CAAQR,OAAMgB,EAAW,GAAzBR,EA0EF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../vfile-message/lib/index.js"),e=require("./minpath.browser.js"),i=require("./minproc.browser.js"),s=require("./minurl.browser.js"),n=require("./minurl.shared.js");const a=["history","path","basename","stem","extname","dirname"];function r(t,i){if(t&&t.includes(e.minpath.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+e.minpath.sep+"`")}function h(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function o(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}exports.VFile=class{constructor(t){let e;e=t?n.isUrl(t)?{path:t}:"string"==typeof t||function(t){return Boolean(t&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t)}(t)?{value:t}:t:{},this.cwd="cwd"in e?"":i.minproc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s,r=-1;for(;++r<a.length;){const t=a[r];t in e&&void 0!==e[t]&&null!==e[t]&&(this[t]="history"===t?[...e[t]]:e[t])}for(s in e)a.includes(s)||(this[s]=e[s])}get basename(){return"string"==typeof this.path?e.minpath.basename(this.path):void 0}set basename(t){h(t,"basename"),r(t,"basename"),this.path=e.minpath.join(this.dirname||"",t)}get dirname(){return"string"==typeof this.path?e.minpath.dirname(this.path):void 0}set dirname(t){o(this.basename,"dirname"),this.path=e.minpath.join(t||"",this.basename)}get extname(){return"string"==typeof this.path?e.minpath.extname(this.path):void 0}set extname(t){if(r(t,"extname"),o(this.dirname,"extname"),t){if(46!==t.codePointAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=e.minpath.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){n.isUrl(t)&&(t=s.urlToPath(t)),h(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return"string"==typeof this.path?e.minpath.basename(this.path,this.extname):void 0}set stem(t){h(t,"stem"),r(t,"stem"),this.path=e.minpath.join(this.dirname||"",t+(this.extname||""))}fail(t,e,i){const s=this.message(t,e,i);throw s.fatal=!0,s}info(t,e,i){const s=this.message(t,e,i);return s.fatal=void 0,s}message(e,i,s){const n=new t.VFileMessage(e,i,s);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(t){if(void 0===this.value)return"";if("string"==typeof this.value)return this.value;return new TextDecoder(t||void 0).decode(this.value)}};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/vfile/lib/index.js"],"sourcesContent":["/**\n * @import {Node, Point, Position} from 'unist'\n * @import {Options as MessageOptions} from 'vfile-message'\n * @import {Compatible, Data, Map, Options, Value} from 'vfile'\n */\n\n/**\n * @typedef {object & {type: string, position?: Position | undefined}} NodeLike\n */\n\nimport {VFileMessage} from 'vfile-message'\nimport {minpath} from '#minpath'\nimport {minproc} from '#minproc'\nimport {urlToPath, isUrl} from '#minurl'\n\n/**\n * Order of setting (least specific to most), we need this because otherwise\n * `{stem: 'a', path: '~/b.js'}` would throw, as a path is needed before a\n * stem can be set.\n */\nconst order = /** @type {const} */ ([\n 'history',\n 'path',\n 'basename',\n 'stem',\n 'extname',\n 'dirname'\n])\n\nexport class VFile {\n /**\n * Create a new virtual file.\n *\n * `options` is treated as:\n *\n * * `string` or `Uint8Array` — `{value: options}`\n * * `URL` — `{path: options}`\n * * `VFile` — shallow copies its data over to the new file\n * * `object` — all fields are shallow copied over to the new file\n *\n * Path related fields are set in the following order (least specific to\n * most specific): `history`, `path`, `basename`, `stem`, `extname`,\n * `dirname`.\n *\n * You cannot set `dirname` or `extname` without setting either `history`,\n * `path`, `basename`, or `stem` too.\n *\n * @param {Compatible | null | undefined} [value]\n * File value.\n * @returns\n * New instance.\n */\n constructor(value) {\n /** @type {Options | VFile} */\n let options\n\n if (!value) {\n options = {}\n } else if (isUrl(value)) {\n options = {path: value}\n } else if (typeof value === 'string' || isUint8Array(value)) {\n options = {value}\n } else {\n options = value\n }\n\n /* eslint-disable no-unused-expressions */\n\n /**\n * Base of `path` (default: `process.cwd()` or `'/'` in browsers).\n *\n * @type {string}\n */\n // Prevent calling `cwd` (which could be expensive) if it’s not needed;\n // the empty string will be overridden in the next block.\n this.cwd = 'cwd' in options ? '' : minproc.cwd()\n\n /**\n * Place to store custom info (default: `{}`).\n *\n * It’s OK to store custom data directly on the file but moving it to\n * `data` is recommended.\n *\n * @type {Data}\n */\n this.data = {}\n\n /**\n * List of file paths the file moved between.\n *\n * The first is the original path and the last is the current path.\n *\n * @type {Array<string>}\n */\n this.history = []\n\n /**\n * List of messages associated with the file.\n *\n * @type {Array<VFileMessage>}\n */\n this.messages = []\n\n /**\n * Raw value.\n *\n * @type {Value}\n */\n this.value\n\n // The below are non-standard, they are “well-known”.\n // As in, used in several tools.\n /**\n * Source map.\n *\n * This type is equivalent to the `RawSourceMap` type from the `source-map`\n * module.\n *\n * @type {Map | null | undefined}\n */\n this.map\n\n /**\n * Custom, non-string, compiled, representation.\n *\n * This is used by unified to store non-string results.\n * One example is when turning markdown into React nodes.\n *\n * @type {unknown}\n */\n this.result\n\n /**\n * Whether a file was saved to disk.\n *\n * This is used by vfile reporters.\n *\n * @type {boolean}\n */\n this.stored\n /* eslint-enable no-unused-expressions */\n\n // Set path related properties in the correct order.\n let index = -1\n\n while (++index < order.length) {\n const field = order[index]\n\n // Note: we specifically use `in` instead of `hasOwnProperty` to accept\n // `vfile`s too.\n if (\n field in options &&\n options[field] !== undefined &&\n options[field] !== null\n ) {\n // @ts-expect-error: TS doesn’t understand basic reality.\n this[field] = field === 'history' ? [...options[field]] : options[field]\n }\n }\n\n /** @type {string} */\n let field\n\n // Set non-path related properties.\n for (field in options) {\n // @ts-expect-error: fine to set other things.\n if (!order.includes(field)) {\n // @ts-expect-error: fine to set other things.\n this[field] = options[field]\n }\n }\n }\n\n /**\n * Get the basename (including extname) (example: `'index.min.js'`).\n *\n * @returns {string | undefined}\n * Basename.\n */\n get basename() {\n return typeof this.path === 'string'\n ? minpath.basename(this.path)\n : undefined\n }\n\n /**\n * Set basename (including extname) (`'index.min.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n *\n * @param {string} basename\n * Basename.\n * @returns {undefined}\n * Nothing.\n */\n set basename(basename) {\n assertNonEmpty(basename, 'basename')\n assertPart(basename, 'basename')\n this.path = minpath.join(this.dirname || '', basename)\n }\n\n /**\n * Get the parent path (example: `'~'`).\n *\n * @returns {string | undefined}\n * Dirname.\n */\n get dirname() {\n return typeof this.path === 'string'\n ? minpath.dirname(this.path)\n : undefined\n }\n\n /**\n * Set the parent path (example: `'~'`).\n *\n * Cannot be set if there’s no `path` yet.\n *\n * @param {string | undefined} dirname\n * Dirname.\n * @returns {undefined}\n * Nothing.\n */\n set dirname(dirname) {\n assertPath(this.basename, 'dirname')\n this.path = minpath.join(dirname || '', this.basename)\n }\n\n /**\n * Get the extname (including dot) (example: `'.js'`).\n *\n * @returns {string | undefined}\n * Extname.\n */\n get extname() {\n return typeof this.path === 'string'\n ? minpath.extname(this.path)\n : undefined\n }\n\n /**\n * Set the extname (including dot) (example: `'.js'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be set if there’s no `path` yet.\n *\n * @param {string | undefined} extname\n * Extname.\n * @returns {undefined}\n * Nothing.\n */\n set extname(extname) {\n assertPart(extname, 'extname')\n assertPath(this.dirname, 'extname')\n\n if (extname) {\n if (extname.codePointAt(0) !== 46 /* `.` */) {\n throw new Error('`extname` must start with `.`')\n }\n\n if (extname.includes('.', 1)) {\n throw new Error('`extname` cannot contain multiple dots')\n }\n }\n\n this.path = minpath.join(this.dirname, this.stem + (extname || ''))\n }\n\n /**\n * Get the full path (example: `'~/index.min.js'`).\n *\n * @returns {string}\n * Path.\n */\n get path() {\n return this.history[this.history.length - 1]\n }\n\n /**\n * Set the full path (example: `'~/index.min.js'`).\n *\n * Cannot be nullified.\n * You can set a file URL (a `URL` object with a `file:` protocol) which will\n * be turned into a path with `url.fileURLToPath`.\n *\n * @param {URL | string} path\n * Path.\n * @returns {undefined}\n * Nothing.\n */\n set path(path) {\n if (isUrl(path)) {\n path = urlToPath(path)\n }\n\n assertNonEmpty(path, 'path')\n\n if (this.path !== path) {\n this.history.push(path)\n }\n }\n\n /**\n * Get the stem (basename w/o extname) (example: `'index.min'`).\n *\n * @returns {string | undefined}\n * Stem.\n */\n get stem() {\n return typeof this.path === 'string'\n ? minpath.basename(this.path, this.extname)\n : undefined\n }\n\n /**\n * Set the stem (basename w/o extname) (example: `'index.min'`).\n *\n * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\\'`\n * on windows).\n * Cannot be nullified (use `file.path = file.dirname` instead).\n *\n * @param {string} stem\n * Stem.\n * @returns {undefined}\n * Nothing.\n */\n set stem(stem) {\n assertNonEmpty(stem, 'stem')\n assertPart(stem, 'stem')\n this.path = minpath.join(this.dirname || '', stem + (this.extname || ''))\n }\n\n // Normal prototypal methods.\n /**\n * Create a fatal message for `reason` associated with the file.\n *\n * The `fatal` field of the message is set to `true` (error; file not usable)\n * and the `file` field is set to the current file path.\n * The message is added to the `messages` field on `file`.\n *\n * > 🪦 **Note**: also has obsolete signatures.\n *\n * @overload\n * @param {string} reason\n * @param {MessageOptions | null | undefined} [options]\n * @returns {never}\n *\n * @overload\n * @param {string} reason\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @overload\n * @param {string} reason\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @overload\n * @param {string} reason\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {string | null | undefined} [origin]\n * @returns {never}\n *\n * @param {Error | VFileMessage | string} causeOrReason\n * Reason for message, should use markdown.\n * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]\n * Configuration (optional).\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {never}\n * Never.\n * @throws {VFileMessage}\n * Message.\n */\n fail(causeOrReason, optionsOrParentOrPlace, origin) {\n // @ts-expect-error: the overloads are fine.\n const message = this.message(causeOrReason, optionsOrParentOrPlace, origin)\n\n message.fatal = true\n\n throw message\n }\n\n /**\n * Create an info message for `reason` associated with the file.\n *\n * The `fatal` field of the message is set to `undefined` (info; change\n * likely not needed) and the `file` field is set to the current file path.\n * The message is added to the `messages` field on `file`.\n *\n * > 🪦 **Note**: also has obsolete signatures.\n *\n * @overload\n * @param {string} reason\n * @param {MessageOptions | null | undefined} [options]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @param {Error | VFileMessage | string} causeOrReason\n * Reason for message, should use markdown.\n * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]\n * Configuration (optional).\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n info(causeOrReason, optionsOrParentOrPlace, origin) {\n // @ts-expect-error: the overloads are fine.\n const message = this.message(causeOrReason, optionsOrParentOrPlace, origin)\n\n message.fatal = undefined\n\n return message\n }\n\n /**\n * Create a message for `reason` associated with the file.\n *\n * The `fatal` field of the message is set to `false` (warning; change may be\n * needed) and the `file` field is set to the current file path.\n * The message is added to the `messages` field on `file`.\n *\n * > 🪦 **Note**: also has obsolete signatures.\n *\n * @overload\n * @param {string} reason\n * @param {MessageOptions | null | undefined} [options]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {string} reason\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {string | null | undefined} [origin]\n * @returns {VFileMessage}\n *\n * @param {Error | VFileMessage | string} causeOrReason\n * Reason for message, should use markdown.\n * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]\n * Configuration (optional).\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns {VFileMessage}\n * Message.\n */\n message(causeOrReason, optionsOrParentOrPlace, origin) {\n const message = new VFileMessage(\n // @ts-expect-error: the overloads are fine.\n causeOrReason,\n optionsOrParentOrPlace,\n origin\n )\n\n if (this.path) {\n message.name = this.path + ':' + message.name\n message.file = this.path\n }\n\n message.fatal = false\n\n this.messages.push(message)\n\n return message\n }\n\n /**\n * Serialize the file.\n *\n * > **Note**: which encodings are supported depends on the engine.\n * > For info on Node.js, see:\n * > <https://nodejs.org/api/util.html#whatwg-supported-encodings>.\n *\n * @param {string | null | undefined} [encoding='utf8']\n * Character encoding to understand `value` as when it’s a `Uint8Array`\n * (default: `'utf-8'`).\n * @returns {string}\n * Serialized file.\n */\n toString(encoding) {\n if (this.value === undefined) {\n return ''\n }\n\n if (typeof this.value === 'string') {\n return this.value\n }\n\n const decoder = new TextDecoder(encoding || undefined)\n return decoder.decode(this.value)\n }\n}\n\n/**\n * Assert that `part` is not a path (as in, does not contain `path.sep`).\n *\n * @param {string | null | undefined} part\n * File path part.\n * @param {string} name\n * Part name.\n * @returns {undefined}\n * Nothing.\n */\nfunction assertPart(part, name) {\n if (part && part.includes(minpath.sep)) {\n throw new Error(\n '`' + name + '` cannot be a path: did not expect `' + minpath.sep + '`'\n )\n }\n}\n\n/**\n * Assert that `part` is not empty.\n *\n * @param {string | undefined} part\n * Thing.\n * @param {string} name\n * Part name.\n * @returns {asserts part is string}\n * Nothing.\n */\nfunction assertNonEmpty(part, name) {\n if (!part) {\n throw new Error('`' + name + '` cannot be empty')\n }\n}\n\n/**\n * Assert `path` exists.\n *\n * @param {string | undefined} path\n * Path.\n * @param {string} name\n * Dependency name.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path, name) {\n if (!path) {\n throw new Error('Setting `' + name + '` requires `path` to be set too')\n }\n}\n\n/**\n * Assert `value` is an `Uint8Array`.\n *\n * @param {unknown} value\n * thing.\n * @returns {value is Uint8Array}\n * Whether `value` is an `Uint8Array`.\n */\nfunction isUint8Array(value) {\n return Boolean(\n value &&\n typeof value === 'object' &&\n 'byteLength' in value &&\n 'byteOffset' in value\n )\n}\n"],"names":["order","assertPart","part","name","includes","minpath","sep","Error","assertNonEmpty","assertPath","path","constructor","value","options","isUrl","Boolean","isUint8Array","this","cwd","minproc","data","history","messages","map","result","stored","field","index","length","undefined","basename","join","dirname","extname","codePointAt","stem","urlToPath","push","fail","causeOrReason","optionsOrParentOrPlace","origin","message","fatal","info","VFileMessage","file","toString","encoding","TextDecoder","decode"],"mappings":"2PAoBA,MAAMA,EAA8B,CAClC,UACA,OACA,WACA,OACA,UACA,WAijBF,SAASC,EAAWC,EAAMC,GACxB,GAAID,GAAQA,EAAKE,SAASC,EAAOA,QAACC,KAChC,MAAM,IAAIC,MACR,IAAMJ,EAAO,uCAAyCE,EAAOA,QAACC,IAAM,IAG1E,CAYA,SAASE,EAAeN,EAAMC,GAC5B,IAAKD,EACH,MAAM,IAAIK,MAAM,IAAMJ,EAAO,oBAEjC,CAYA,SAASM,EAAWC,EAAMP,GACxB,IAAKO,EACH,MAAM,IAAIH,MAAM,YAAcJ,EAAO,kCAEzC,eAplBO,MAuBL,WAAAQ,CAAYC,GAEV,IAAIC,EAKFA,EAHGD,EAEME,EAAAA,MAAMF,GACL,CAACF,KAAME,GACS,iBAAVA,GA+jBtB,SAAsBA,GACpB,OAAOG,QACLH,GACmB,iBAAVA,GACP,eAAgBA,GAChB,eAAgBA,EAEtB,CAtkB4CI,CAAaJ,GACzC,CAACA,SAEDA,EANA,CAAE,EAkBdK,KAAKC,IAAM,QAASL,EAAU,GAAKM,EAAOA,QAACD,MAU3CD,KAAKG,KAAO,CAAE,EASdH,KAAKI,QAAU,GAOfJ,KAAKK,SAAW,GAOhBL,KAAKL,MAYLK,KAAKM,IAULN,KAAKO,OASLP,KAAKQ,OAIL,IAkBIC,EAlBAC,GAAS,EAEb,OAASA,EAAQ3B,EAAM4B,QAAQ,CAC7B,MAAMF,EAAQ1B,EAAM2B,GAKlBD,KAASb,QACUgB,IAAnBhB,EAAQa,IACW,OAAnBb,EAAQa,KAGRT,KAAKS,GAAmB,YAAVA,EAAsB,IAAIb,EAAQa,IAAUb,EAAQa,GAErE,CAMD,IAAKA,KAASb,EAEPb,EAAMI,SAASsB,KAElBT,KAAKS,GAASb,EAAQa,GAG3B,CAQD,YAAII,GACF,MAA4B,iBAAdb,KAAKP,KACfL,UAAQyB,SAASb,KAAKP,WACtBmB,CACL,CAcD,YAAIC,CAASA,GACXtB,EAAesB,EAAU,YACzB7B,EAAW6B,EAAU,YACrBb,KAAKP,KAAOL,UAAQ0B,KAAKd,KAAKe,SAAW,GAAIF,EAC9C,CAQD,WAAIE,GACF,MAA4B,iBAAdf,KAAKP,KACfL,UAAQ2B,QAAQf,KAAKP,WACrBmB,CACL,CAYD,WAAIG,CAAQA,GACVvB,EAAWQ,KAAKa,SAAU,WAC1Bb,KAAKP,KAAOL,UAAQ0B,KAAKC,GAAW,GAAIf,KAAKa,SAC9C,CAQD,WAAIG,GACF,MAA4B,iBAAdhB,KAAKP,KACfL,UAAQ4B,QAAQhB,KAAKP,WACrBmB,CACL,CAcD,WAAII,CAAQA,GAIV,GAHAhC,EAAWgC,EAAS,WACpBxB,EAAWQ,KAAKe,QAAS,WAErBC,EAAS,CACX,GAA+B,KAA3BA,EAAQC,YAAY,GACtB,MAAM,IAAI3B,MAAM,iCAGlB,GAAI0B,EAAQ7B,SAAS,IAAK,GACxB,MAAM,IAAIG,MAAM,yCAEnB,CAEDU,KAAKP,KAAOL,UAAQ0B,KAAKd,KAAKe,QAASf,KAAKkB,MAAQF,GAAW,IAChE,CAQD,QAAIvB,GACF,OAAOO,KAAKI,QAAQJ,KAAKI,QAAQO,OAAS,EAC3C,CAcD,QAAIlB,CAAKA,GACHI,EAAAA,MAAMJ,KACRA,EAAO0B,EAASA,UAAC1B,IAGnBF,EAAeE,EAAM,QAEjBO,KAAKP,OAASA,GAChBO,KAAKI,QAAQgB,KAAK3B,EAErB,CAQD,QAAIyB,GACF,MAA4B,iBAAdlB,KAAKP,KACfL,EAAAA,QAAQyB,SAASb,KAAKP,KAAMO,KAAKgB,cACjCJ,CACL,CAcD,QAAIM,CAAKA,GACP3B,EAAe2B,EAAM,QACrBlC,EAAWkC,EAAM,QACjBlB,KAAKP,KAAOL,UAAQ0B,KAAKd,KAAKe,SAAW,GAAIG,GAAQlB,KAAKgB,SAAW,IACtE,CA+DD,IAAAK,CAAKC,EAAeC,EAAwBC,GAE1C,MAAMC,EAAUzB,KAAKyB,QAAQH,EAAeC,EAAwBC,GAIpE,MAFAC,EAAQC,OAAQ,EAEVD,CACP,CA4DD,IAAAE,CAAKL,EAAeC,EAAwBC,GAE1C,MAAMC,EAAUzB,KAAKyB,QAAQH,EAAeC,EAAwBC,GAIpE,OAFAC,EAAQC,WAAQd,EAETa,CACR,CA4DD,OAAAA,CAAQH,EAAeC,EAAwBC,GAC7C,MAAMC,EAAU,IAAIG,EAAYA,aAE9BN,EACAC,EACAC,GAYF,OATIxB,KAAKP,OACPgC,EAAQvC,KAAOc,KAAKP,KAAO,IAAMgC,EAAQvC,KACzCuC,EAAQI,KAAO7B,KAAKP,MAGtBgC,EAAQC,OAAQ,EAEhB1B,KAAKK,SAASe,KAAKK,GAEZA,CACR,CAeD,QAAAK,CAASC,GACP,QAAmBnB,IAAfZ,KAAKL,MACP,MAAO,GAGT,GAA0B,iBAAfK,KAAKL,MACd,OAAOK,KAAKL,MAId,OADgB,IAAIqC,YAAYD,QAAYnB,GAC7BqB,OAAOjC,KAAKL,MAC5B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e={basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);let i,o=0,l=-1,r=e.length;if(void 0===n||0===n.length||n.length>e.length){for(;r--;)if(47===e.codePointAt(r)){if(i){o=r+1;break}}else l<0&&(i=!0,l=r+1);return l<0?"":e.slice(o,l)}if(n===e)return"";let f=-1,c=n.length-1;for(;r--;)if(47===e.codePointAt(r)){if(i){o=r+1;break}}else f<0&&(i=!0,f=r+1),c>-1&&(e.codePointAt(r)===n.codePointAt(c--)?c<0&&(l=r):(c=-1,l=f));o===l?l=f:l<0&&(l=e.length);return e.slice(o,l)},dirname:function(e){if(t(e),0===e.length)return".";let n,i=-1,o=e.length;for(;--o;)if(47===e.codePointAt(o)){if(n){i=o;break}}else n||(n=!0);return i<0?47===e.codePointAt(0)?"/":".":1===i&&47===e.codePointAt(0)?"//":e.slice(0,i)},extname:function(e){t(e);let n,i=e.length,o=-1,l=0,r=-1,f=0;for(;i--;){const t=e.codePointAt(i);if(47!==t)o<0&&(n=!0,o=i+1),46===t?r<0?r=i:1!==f&&(f=1):r>-1&&(f=-1);else if(n){l=i+1;break}}if(r<0||o<0||0===f||1===f&&r===o-1&&r===l+1)return"";return e.slice(r,o)},join:function(...e){let n,i=-1;for(;++i<e.length;)t(e[i]),e[i]&&(n=void 0===n?e[i]:n+"/"+e[i]);return void 0===n?".":function(e){t(e);const n=47===e.codePointAt(0);let i=function(e,t){let n,i,o="",l=0,r=-1,f=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(r===c-1||1===f);else if(r!==c-1&&2===f){if(o.length<2||2!==l||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(i=o.lastIndexOf("/"),i!==o.length-1){i<0?(o="",l=0):(o=o.slice(0,i),l=o.length-1-o.lastIndexOf("/")),r=c,f=0;continue}}else if(o.length>0){o="",l=0,r=c,f=0;continue}t&&(o=o.length>0?o+"/..":"..",l=2)}else o.length>0?o+="/"+e.slice(r+1,c):o=e.slice(r+1,c),l=c-r-1;r=c,f=0}else 46===n&&f>-1?f++:f=-1}return o}(e,!n);0!==i.length||n||(i=".");i.length>0&&47===e.codePointAt(e.length-1)&&(i+="/");return n?"/"+i:i}(n)},sep:"/"};function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}exports.minpath=e;
|
|
2
|
+
//# sourceMappingURL=minpath.browser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minpath.browser.js","sources":["../../../../../node_modules/vfile/lib/minpath.browser.js"],"sourcesContent":["// A derivative work based on:\n// <https://github.com/browserify/path-browserify>.\n// Which is licensed:\n//\n// MIT License\n//\n// Copyright (c) 2013 James Halliday\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy of\n// this software and associated documentation files (the \"Software\"), to deal in\n// the Software without restriction, including without limitation the rights to\n// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n// the Software, and to permit persons to whom the Software is furnished to do so,\n// subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n// A derivative work based on:\n//\n// Parts of that are extracted from Node’s internal `path` module:\n// <https://github.com/nodejs/node/blob/master/lib/path.js>.\n// Which is licensed:\n//\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nexport const minpath = {basename, dirname, extname, join, sep: '/'}\n\n/* eslint-disable max-depth, complexity */\n\n/**\n * Get the basename from a path.\n *\n * @param {string} path\n * File path.\n * @param {string | null | undefined} [extname]\n * Extension to strip.\n * @returns {string}\n * Stem or basename.\n */\nfunction basename(path, extname) {\n if (extname !== undefined && typeof extname !== 'string') {\n throw new TypeError('\"ext\" argument must be a string')\n }\n\n assertPath(path)\n let start = 0\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let seenNonSlash\n\n if (\n extname === undefined ||\n extname.length === 0 ||\n extname.length > path.length\n ) {\n while (index--) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // path component.\n seenNonSlash = true\n end = index + 1\n }\n }\n\n return end < 0 ? '' : path.slice(start, end)\n }\n\n if (extname === path) {\n return ''\n }\n\n let firstNonSlashEnd = -1\n let extnameIndex = extname.length - 1\n\n while (index--) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (seenNonSlash) {\n start = index + 1\n break\n }\n } else {\n if (firstNonSlashEnd < 0) {\n // We saw the first non-path separator, remember this index in case\n // we need it if the extension ends up not matching.\n seenNonSlash = true\n firstNonSlashEnd = index + 1\n }\n\n if (extnameIndex > -1) {\n // Try to match the explicit extension.\n if (path.codePointAt(index) === extname.codePointAt(extnameIndex--)) {\n if (extnameIndex < 0) {\n // We matched the extension, so mark this as the end of our path\n // component\n end = index\n }\n } else {\n // Extension does not match, so our result is the entire path\n // component\n extnameIndex = -1\n end = firstNonSlashEnd\n }\n }\n }\n }\n\n if (start === end) {\n end = firstNonSlashEnd\n } else if (end < 0) {\n end = path.length\n }\n\n return path.slice(start, end)\n}\n\n/**\n * Get the dirname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\nfunction dirname(path) {\n assertPath(path)\n\n if (path.length === 0) {\n return '.'\n }\n\n let end = -1\n let index = path.length\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n // Prefix `--` is important to not run on `0`.\n while (--index) {\n if (path.codePointAt(index) === 47 /* `/` */) {\n if (unmatchedSlash) {\n end = index\n break\n }\n } else if (!unmatchedSlash) {\n // We saw the first non-path separator\n unmatchedSlash = true\n }\n }\n\n return end < 0\n ? path.codePointAt(0) === 47 /* `/` */\n ? '/'\n : '.'\n : end === 1 && path.codePointAt(0) === 47 /* `/` */\n ? '//'\n : path.slice(0, end)\n}\n\n/**\n * Get an extname from a path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * Extname.\n */\nfunction extname(path) {\n assertPath(path)\n\n let index = path.length\n\n let end = -1\n let startPart = 0\n let startDot = -1\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find.\n let preDotState = 0\n /** @type {boolean | undefined} */\n let unmatchedSlash\n\n while (index--) {\n const code = path.codePointAt(index)\n\n if (code === 47 /* `/` */) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now.\n if (unmatchedSlash) {\n startPart = index + 1\n break\n }\n\n continue\n }\n\n if (end < 0) {\n // We saw the first non-path separator, mark this as the end of our\n // extension.\n unmatchedSlash = true\n end = index + 1\n }\n\n if (code === 46 /* `.` */) {\n // If this is our first dot, mark it as the start of our extension.\n if (startDot < 0) {\n startDot = index\n } else if (preDotState !== 1) {\n preDotState = 1\n }\n } else if (startDot > -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension.\n preDotState = -1\n }\n }\n\n if (\n startDot < 0 ||\n end < 0 ||\n // We saw a non-dot character immediately before the dot.\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly `..`.\n (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)\n ) {\n return ''\n }\n\n return path.slice(startDot, end)\n}\n\n/**\n * Join segments from a path.\n *\n * @param {Array<string>} segments\n * Path segments.\n * @returns {string}\n * File path.\n */\nfunction join(...segments) {\n let index = -1\n /** @type {string | undefined} */\n let joined\n\n while (++index < segments.length) {\n assertPath(segments[index])\n\n if (segments[index]) {\n joined =\n joined === undefined ? segments[index] : joined + '/' + segments[index]\n }\n }\n\n return joined === undefined ? '.' : normalize(joined)\n}\n\n/**\n * Normalize a basic file path.\n *\n * @param {string} path\n * File path.\n * @returns {string}\n * File path.\n */\n// Note: `normalize` is not exposed as `path.normalize`, so some code is\n// manually removed from it.\nfunction normalize(path) {\n assertPath(path)\n\n const absolute = path.codePointAt(0) === 47 /* `/` */\n\n // Normalize the path according to POSIX rules.\n let value = normalizeString(path, !absolute)\n\n if (value.length === 0 && !absolute) {\n value = '.'\n }\n\n if (value.length > 0 && path.codePointAt(path.length - 1) === 47 /* / */) {\n value += '/'\n }\n\n return absolute ? '/' + value : value\n}\n\n/**\n * Resolve `.` and `..` elements in a path with directory names.\n *\n * @param {string} path\n * File path.\n * @param {boolean} allowAboveRoot\n * Whether `..` can move above root.\n * @returns {string}\n * File path.\n */\nfunction normalizeString(path, allowAboveRoot) {\n let result = ''\n let lastSegmentLength = 0\n let lastSlash = -1\n let dots = 0\n let index = -1\n /** @type {number | undefined} */\n let code\n /** @type {number} */\n let lastSlashIndex\n\n while (++index <= path.length) {\n if (index < path.length) {\n code = path.codePointAt(index)\n } else if (code === 47 /* `/` */) {\n break\n } else {\n code = 47 /* `/` */\n }\n\n if (code === 47 /* `/` */) {\n if (lastSlash === index - 1 || dots === 1) {\n // Empty.\n } else if (lastSlash !== index - 1 && dots === 2) {\n if (\n result.length < 2 ||\n lastSegmentLength !== 2 ||\n result.codePointAt(result.length - 1) !== 46 /* `.` */ ||\n result.codePointAt(result.length - 2) !== 46 /* `.` */\n ) {\n if (result.length > 2) {\n lastSlashIndex = result.lastIndexOf('/')\n\n if (lastSlashIndex !== result.length - 1) {\n if (lastSlashIndex < 0) {\n result = ''\n lastSegmentLength = 0\n } else {\n result = result.slice(0, lastSlashIndex)\n lastSegmentLength = result.length - 1 - result.lastIndexOf('/')\n }\n\n lastSlash = index\n dots = 0\n continue\n }\n } else if (result.length > 0) {\n result = ''\n lastSegmentLength = 0\n lastSlash = index\n dots = 0\n continue\n }\n }\n\n if (allowAboveRoot) {\n result = result.length > 0 ? result + '/..' : '..'\n lastSegmentLength = 2\n }\n } else {\n if (result.length > 0) {\n result += '/' + path.slice(lastSlash + 1, index)\n } else {\n result = path.slice(lastSlash + 1, index)\n }\n\n lastSegmentLength = index - lastSlash - 1\n }\n\n lastSlash = index\n dots = 0\n } else if (code === 46 /* `.` */ && dots > -1) {\n dots++\n } else {\n dots = -1\n }\n }\n\n return result\n}\n\n/**\n * Make sure `path` is a string.\n *\n * @param {string} path\n * File path.\n * @returns {asserts path is string}\n * Nothing.\n */\nfunction assertPath(path) {\n if (typeof path !== 'string') {\n throw new TypeError(\n 'Path must be a string. Received ' + JSON.stringify(path)\n )\n }\n}\n\n/* eslint-enable max-depth, complexity */\n"],"names":["minpath","basename","path","extname","undefined","TypeError","assertPath","seenNonSlash","start","end","index","length","codePointAt","slice","firstNonSlashEnd","extnameIndex","dirname","unmatchedSlash","startPart","startDot","preDotState","code","join","segments","joined","absolute","value","allowAboveRoot","lastSlashIndex","result","lastSegmentLength","lastSlash","dots","lastIndexOf","normalizeString","normalize","sep","JSON","stringify"],"mappings":"oEAmDY,MAACA,EAAU,CAACC,SAcxB,SAAkBC,EAAMC,GACtB,QAAgBC,IAAZD,GAA4C,iBAAZA,EAClC,MAAM,IAAIE,UAAU,mCAGtBC,EAAWJ,GACX,IAIIK,EAJAC,EAAQ,EACRC,GAAO,EACPC,EAAQR,EAAKS,OAIjB,QACcP,IAAZD,GACmB,IAAnBA,EAAQQ,QACRR,EAAQQ,OAAST,EAAKS,OACtB,CACA,KAAOD,KACL,GAAgC,KAA5BR,EAAKU,YAAYF,IAGnB,GAAIH,EAAc,CAChBC,EAAQE,EAAQ,EAChB,KACD,OACQD,EAAM,IAGfF,GAAe,EACfE,EAAMC,EAAQ,GAIlB,OAAOD,EAAM,EAAI,GAAKP,EAAKW,MAAML,EAAOC,EACzC,CAED,GAAIN,IAAYD,EACd,MAAO,GAGT,IAAIY,GAAoB,EACpBC,EAAeZ,EAAQQ,OAAS,EAEpC,KAAOD,KACL,GAAgC,KAA5BR,EAAKU,YAAYF,IAGnB,GAAIH,EAAc,CAChBC,EAAQE,EAAQ,EAChB,KACD,OAEGI,EAAmB,IAGrBP,GAAe,EACfO,EAAmBJ,EAAQ,GAGzBK,GAAgB,IAEdb,EAAKU,YAAYF,KAAWP,EAAQS,YAAYG,KAC9CA,EAAe,IAGjBN,EAAMC,IAKRK,GAAgB,EAChBN,EAAMK,IAMVN,IAAUC,EACZA,EAAMK,EACGL,EAAM,IACfA,EAAMP,EAAKS,QAGb,OAAOT,EAAKW,MAAML,EAAOC,EAC3B,EAlGkCO,QA4GlC,SAAiBd,GAGf,GAFAI,EAAWJ,GAES,IAAhBA,EAAKS,OACP,MAAO,IAGT,IAGIM,EAHAR,GAAO,EACPC,EAAQR,EAAKS,OAKjB,OAASD,GACP,GAAgC,KAA5BR,EAAKU,YAAYF,IACnB,GAAIO,EAAgB,CAClBR,EAAMC,EACN,KACD,OACSO,IAEVA,GAAiB,GAIrB,OAAOR,EAAM,EACe,KAAxBP,EAAKU,YAAY,GACf,IACA,IACM,IAARH,GAAqC,KAAxBP,EAAKU,YAAY,GAC5B,KACAV,EAAKW,MAAM,EAAGJ,EACtB,EA5I2CN,QAsJ3C,SAAiBD,GACfI,EAAWJ,GAEX,IASIe,EATAP,EAAQR,EAAKS,OAEbF,GAAO,EACPS,EAAY,EACZC,GAAY,EAGZC,EAAc,EAIlB,KAAOV,KAAS,CACd,MAAMW,EAAOnB,EAAKU,YAAYF,GAE9B,GAAa,KAATW,EAWAZ,EAAM,IAGRQ,GAAiB,EACjBR,EAAMC,EAAQ,GAGH,KAATW,EAEEF,EAAW,EACbA,EAAWT,EACc,IAAhBU,IACTA,EAAc,GAEPD,GAAY,IAGrBC,GAAe,QAzBf,GAAIH,EAAgB,CAClBC,EAAYR,EAAQ,EACpB,KACD,CAwBJ,CAED,GACES,EAAW,GACXV,EAAM,GAEU,IAAhBW,GAEiB,IAAhBA,GAAqBD,IAAaV,EAAM,GAAKU,IAAaD,EAAY,EAEvE,MAAO,GAGT,OAAOhB,EAAKW,MAAMM,EAAUV,EAC9B,EAnNoDa,KA6NpD,YAAiBC,GACf,IAEIC,EAFAd,GAAS,EAIb,OAASA,EAAQa,EAASZ,QACxBL,EAAWiB,EAASb,IAEhBa,EAASb,KACXc,OACapB,IAAXoB,EAAuBD,EAASb,GAASc,EAAS,IAAMD,EAASb,IAIvE,YAAkBN,IAAXoB,EAAuB,IAahC,SAAmBtB,GACjBI,EAAWJ,GAEX,MAAMuB,EAAmC,KAAxBvB,EAAKU,YAAY,GAGlC,IAAIc,EAuBN,SAAyBxB,EAAMyB,GAC7B,IAMIN,EAEAO,EARAC,EAAS,GACTC,EAAoB,EACpBC,GAAa,EACbC,EAAO,EACPtB,GAAS,EAMb,OAASA,GAASR,EAAKS,QAAQ,CAC7B,GAAID,EAAQR,EAAKS,OACfU,EAAOnB,EAAKU,YAAYF,OACnB,IAAa,KAATW,EACT,MAEAA,EAAO,EACR,CAED,GAAa,KAATA,EAAuB,CACzB,GAAIU,IAAcrB,EAAQ,GAAc,IAATsB,QAExB,GAAID,IAAcrB,EAAQ,GAAc,IAATsB,EAAY,CAChD,GACEH,EAAOlB,OAAS,GACM,IAAtBmB,GAC0C,KAA1CD,EAAOjB,YAAYiB,EAAOlB,OAAS,IACO,KAA1CkB,EAAOjB,YAAYiB,EAAOlB,OAAS,GAEnC,GAAIkB,EAAOlB,OAAS,GAGlB,GAFAiB,EAAiBC,EAAOI,YAAY,KAEhCL,IAAmBC,EAAOlB,OAAS,EAAG,CACpCiB,EAAiB,GACnBC,EAAS,GACTC,EAAoB,IAEpBD,EAASA,EAAOhB,MAAM,EAAGe,GACzBE,EAAoBD,EAAOlB,OAAS,EAAIkB,EAAOI,YAAY,MAG7DF,EAAYrB,EACZsB,EAAO,EACP,QACD,OACI,GAAIH,EAAOlB,OAAS,EAAG,CAC5BkB,EAAS,GACTC,EAAoB,EACpBC,EAAYrB,EACZsB,EAAO,EACP,QACD,CAGCL,IACFE,EAASA,EAAOlB,OAAS,EAAIkB,EAAS,MAAQ,KAC9CC,EAAoB,EAE9B,MACYD,EAAOlB,OAAS,EAClBkB,GAAU,IAAM3B,EAAKW,MAAMkB,EAAY,EAAGrB,GAE1CmB,EAAS3B,EAAKW,MAAMkB,EAAY,EAAGrB,GAGrCoB,EAAoBpB,EAAQqB,EAAY,EAG1CA,EAAYrB,EACZsB,EAAO,CACR,MAAmB,KAATX,GAAyBW,GAAQ,EAC1CA,IAEAA,GAAQ,CAEX,CAED,OAAOH,CACT,CAtGcK,CAAgBhC,GAAOuB,GAEd,IAAjBC,EAAMf,QAAiBc,IACzBC,EAAQ,KAGNA,EAAMf,OAAS,GAA2C,KAAtCT,EAAKU,YAAYV,EAAKS,OAAS,KACrDe,GAAS,KAGX,OAAOD,EAAW,IAAMC,EAAQA,CAClC,CA9BsCS,CAAUX,EAChD,EA5O0DY,IAAK,KA8W/D,SAAS9B,EAAWJ,GAClB,GAAoB,iBAATA,EACT,MAAM,IAAIG,UACR,mCAAqCgC,KAAKC,UAAUpC,GAG1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minproc.browser.js","sources":["../../../../../node_modules/vfile/lib/minproc.browser.js"],"sourcesContent":["// Somewhat based on:\n// <https://github.com/defunctzombie/node-process/blob/master/browser.js>.\n// But I don’t think one tiny line of code can be copyrighted. 😅\nexport const minproc = {cwd}\n\nfunction cwd() {\n return '/'\n}\n"],"names":["minproc","cwd"],"mappings":"oEAGY,MAACA,EAAU,CAACC,IAExB,WACE,MAAO,GACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./minurl.shared.js");exports.isUrl=e.isUrl,exports.urlToPath=function(o){if("string"==typeof o)o=new URL(o);else if(!e.isUrl(o)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+o+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if("file:"!==o.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const o=e.pathname;let t=-1;for(;++t<o.length;)if(37===o.codePointAt(t)&&50===o.codePointAt(t+1)){const e=o.codePointAt(t+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(o)}(o)};
|
|
2
|
+
//# sourceMappingURL=minurl.browser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minurl.browser.js","sources":["../../../../../node_modules/vfile/lib/minurl.browser.js"],"sourcesContent":["import {isUrl} from './minurl.shared.js'\n\nexport {isUrl} from './minurl.shared.js'\n\n// See: <https://github.com/nodejs/node/blob/6a3403c/lib/internal/url.js>\n\n/**\n * @param {URL | string} path\n * File URL.\n * @returns {string}\n * File URL.\n */\nexport function urlToPath(path) {\n if (typeof path === 'string') {\n path = new URL(path)\n } else if (!isUrl(path)) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'The \"path\" argument must be of type string or an instance of URL. Received `' +\n path +\n '`'\n )\n error.code = 'ERR_INVALID_ARG_TYPE'\n throw error\n }\n\n if (path.protocol !== 'file:') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError('The URL must be of scheme file')\n error.code = 'ERR_INVALID_URL_SCHEME'\n throw error\n }\n\n return getPathFromURLPosix(path)\n}\n\n/**\n * Get a path from a POSIX URL.\n *\n * @param {URL} url\n * URL.\n * @returns {string}\n * File path.\n */\nfunction getPathFromURLPosix(url) {\n if (url.hostname !== '') {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL host must be \"localhost\" or empty on darwin'\n )\n error.code = 'ERR_INVALID_FILE_URL_HOST'\n throw error\n }\n\n const pathname = url.pathname\n let index = -1\n\n while (++index < pathname.length) {\n if (\n pathname.codePointAt(index) === 37 /* `%` */ &&\n pathname.codePointAt(index + 1) === 50 /* `2` */\n ) {\n const third = pathname.codePointAt(index + 2)\n if (third === 70 /* `F` */ || third === 102 /* `f` */) {\n /** @type {NodeJS.ErrnoException} */\n const error = new TypeError(\n 'File URL path must not include encoded / characters'\n )\n error.code = 'ERR_INVALID_FILE_URL_PATH'\n throw error\n }\n }\n }\n\n return decodeURIComponent(pathname)\n}\n"],"names":["path","URL","isUrl","error","TypeError","code","protocol","url","hostname","pathname","index","length","codePointAt","third","decodeURIComponent","getPathFromURLPosix"],"mappings":"gJAYO,SAAmBA,GACxB,GAAoB,iBAATA,EACTA,EAAO,IAAIC,IAAID,QACV,IAAKE,QAAMF,GAAO,CAEvB,MAAMG,EAAQ,IAAIC,UAChB,+EACEJ,EACA,KAGJ,MADAG,EAAME,KAAO,uBACPF,CACP,CAED,GAAsB,UAAlBH,EAAKM,SAAsB,CAE7B,MAAMH,EAAQ,IAAIC,UAAU,kCAE5B,MADAD,EAAME,KAAO,yBACPF,CACP,CAED,OAWF,SAA6BI,GAC3B,GAAqB,KAAjBA,EAAIC,SAAiB,CAEvB,MAAML,EAAQ,IAAIC,UAChB,wDAGF,MADAD,EAAME,KAAO,4BACPF,CACP,CAED,MAAMM,EAAWF,EAAIE,SACrB,IAAIC,GAAS,EAEb,OAASA,EAAQD,EAASE,QACxB,GACkC,KAAhCF,EAASG,YAAYF,IACe,KAApCD,EAASG,YAAYF,EAAQ,GAC7B,CACA,MAAMG,EAAQJ,EAASG,YAAYF,EAAQ,GAC3C,GAAc,KAAVG,GAAoC,MAAVA,EAAyB,CAErD,MAAMV,EAAQ,IAAIC,UAChB,uDAGF,MADAD,EAAME,KAAO,4BACPF,CACP,CACF,CAGH,OAAOW,mBAAmBL,EAC5B,CA1CSM,CAAoBf,EAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minurl.shared.js","sources":["../../../../../node_modules/vfile/lib/minurl.shared.js"],"sourcesContent":["/**\n * Checks if a value has the shape of a WHATWG URL object.\n *\n * Using a symbol or instanceof would not be able to recognize URL objects\n * coming from other implementations (e.g. in Electron), so instead we are\n * checking some well known properties for a lack of a better test.\n *\n * We use `href` and `protocol` as they are the only properties that are\n * easy to retrieve and calculate due to the lazy nature of the getters.\n *\n * We check for auth attribute to distinguish legacy url instance with\n * WHATWG URL instance.\n *\n * @param {unknown} fileUrlOrPath\n * File path or URL.\n * @returns {fileUrlOrPath is URL}\n * Whether it’s a URL.\n */\n// From: <https://github.com/nodejs/node/blob/6a3403c/lib/internal/url.js#L720>\nexport function isUrl(fileUrlOrPath) {\n return Boolean(\n fileUrlOrPath !== null &&\n typeof fileUrlOrPath === 'object' &&\n 'href' in fileUrlOrPath &&\n fileUrlOrPath.href &&\n 'protocol' in fileUrlOrPath &&\n fileUrlOrPath.protocol &&\n // @ts-expect-error: indexing is fine.\n fileUrlOrPath.auth === undefined\n )\n}\n"],"names":["fileUrlOrPath","Boolean","href","protocol","undefined","auth"],"mappings":"kFAmBO,SAAeA,GACpB,OAAOC,QACa,OAAlBD,GAC2B,iBAAlBA,GACP,SAAUA,GACVA,EAAcE,MACd,aAAcF,GACdA,EAAcG,eAESC,IAAvBJ,EAAcK,KAEpB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../unist-util-stringify-position/lib/index.js");class t extends Error{constructor(t,s,o){super(),"string"==typeof s&&(o=s,s=void 0);let i="",r={},a=!1;if(s&&(r="line"in s&&"column"in s||"start"in s&&"end"in s?{place:s}:"type"in s?{ancestors:[s],place:s.position}:{...s}),"string"==typeof t?i=t:!r.cause&&t&&(a=!0,i=t.message,r.cause=t),!r.ruleId&&!r.source&&"string"==typeof o){const e=o.indexOf(":");-1===e?r.ruleId=o:(r.source=o.slice(0,e),r.ruleId=o.slice(e+1))}if(!r.place&&r.ancestors&&r.ancestors){const e=r.ancestors[r.ancestors.length-1];e&&(r.place=e.position)}const c=r.place&&"start"in r.place?r.place.start:r.place;this.ancestors=r.ancestors||void 0,this.cause=r.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=c?c.line:void 0,this.name=e.stringifyPosition(r.place)||"1:1",this.place=r.place||void 0,this.reason=this.message,this.ruleId=r.ruleId||void 0,this.source=r.source||void 0,this.stack=a&&r.cause&&"string"==typeof r.cause.stack?r.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}t.prototype.file="",t.prototype.name="",t.prototype.reason="",t.prototype.message="",t.prototype.stack="",t.prototype.column=void 0,t.prototype.line=void 0,t.prototype.ancestors=void 0,t.prototype.cause=void 0,t.prototype.fatal=void 0,t.prototype.place=void 0,t.prototype.ruleId=void 0,t.prototype.source=void 0,exports.VFileMessage=t;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/vfile-message/lib/index.js"],"sourcesContent":["/**\n * @import {Node, Point, Position} from 'unist'\n */\n\n/**\n * @typedef {object & {type: string, position?: Position | undefined}} NodeLike\n *\n * @typedef Options\n * Configuration.\n * @property {Array<Node> | null | undefined} [ancestors]\n * Stack of (inclusive) ancestor nodes surrounding the message (optional).\n * @property {Error | null | undefined} [cause]\n * Original error cause of the message (optional).\n * @property {Point | Position | null | undefined} [place]\n * Place of message (optional).\n * @property {string | null | undefined} [ruleId]\n * Category of message (optional, example: `'my-rule'`).\n * @property {string | null | undefined} [source]\n * Namespace of who sent the message (optional, example: `'my-package'`).\n */\n\nimport {stringifyPosition} from 'unist-util-stringify-position'\n\n/**\n * Message.\n */\nexport class VFileMessage extends Error {\n /**\n * Create a message for `reason`.\n *\n * > 🪦 **Note**: also has obsolete signatures.\n *\n * @overload\n * @param {string} reason\n * @param {Options | null | undefined} [options]\n * @returns\n *\n * @overload\n * @param {string} reason\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @overload\n * @param {string} reason\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @overload\n * @param {string} reason\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Node | NodeLike | null | undefined} parent\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {Point | Position | null | undefined} place\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @overload\n * @param {Error | VFileMessage} cause\n * @param {string | null | undefined} [origin]\n * @returns\n *\n * @param {Error | VFileMessage | string} causeOrReason\n * Reason for message, should use markdown.\n * @param {Node | NodeLike | Options | Point | Position | string | null | undefined} [optionsOrParentOrPlace]\n * Configuration (optional).\n * @param {string | null | undefined} [origin]\n * Place in code where the message originates (example:\n * `'my-package:my-rule'` or `'my-rule'`).\n * @returns\n * Instance of `VFileMessage`.\n */\n // eslint-disable-next-line complexity\n constructor(causeOrReason, optionsOrParentOrPlace, origin) {\n super()\n\n if (typeof optionsOrParentOrPlace === 'string') {\n origin = optionsOrParentOrPlace\n optionsOrParentOrPlace = undefined\n }\n\n /** @type {string} */\n let reason = ''\n /** @type {Options} */\n let options = {}\n let legacyCause = false\n\n if (optionsOrParentOrPlace) {\n // Point.\n if (\n 'line' in optionsOrParentOrPlace &&\n 'column' in optionsOrParentOrPlace\n ) {\n options = {place: optionsOrParentOrPlace}\n }\n // Position.\n else if (\n 'start' in optionsOrParentOrPlace &&\n 'end' in optionsOrParentOrPlace\n ) {\n options = {place: optionsOrParentOrPlace}\n }\n // Node.\n else if ('type' in optionsOrParentOrPlace) {\n options = {\n ancestors: [optionsOrParentOrPlace],\n place: optionsOrParentOrPlace.position\n }\n }\n // Options.\n else {\n options = {...optionsOrParentOrPlace}\n }\n }\n\n if (typeof causeOrReason === 'string') {\n reason = causeOrReason\n }\n // Error.\n else if (!options.cause && causeOrReason) {\n legacyCause = true\n reason = causeOrReason.message\n options.cause = causeOrReason\n }\n\n if (!options.ruleId && !options.source && typeof origin === 'string') {\n const index = origin.indexOf(':')\n\n if (index === -1) {\n options.ruleId = origin\n } else {\n options.source = origin.slice(0, index)\n options.ruleId = origin.slice(index + 1)\n }\n }\n\n if (!options.place && options.ancestors && options.ancestors) {\n const parent = options.ancestors[options.ancestors.length - 1]\n\n if (parent) {\n options.place = parent.position\n }\n }\n\n const start =\n options.place && 'start' in options.place\n ? options.place.start\n : options.place\n\n /**\n * Stack of ancestor nodes surrounding the message.\n *\n * @type {Array<Node> | undefined}\n */\n this.ancestors = options.ancestors || undefined\n\n /**\n * Original error cause of the message.\n *\n * @type {Error | undefined}\n */\n this.cause = options.cause || undefined\n\n /**\n * Starting column of message.\n *\n * @type {number | undefined}\n */\n this.column = start ? start.column : undefined\n\n /**\n * State of problem.\n *\n * * `true` — error, file not usable\n * * `false` — warning, change may be needed\n * * `undefined` — change likely not needed\n *\n * @type {boolean | null | undefined}\n */\n this.fatal = undefined\n\n /**\n * Path of a file (used throughout the `VFile` ecosystem).\n *\n * @type {string | undefined}\n */\n this.file = ''\n\n // Field from `Error`.\n /**\n * Reason for message.\n *\n * @type {string}\n */\n this.message = reason\n\n /**\n * Starting line of error.\n *\n * @type {number | undefined}\n */\n this.line = start ? start.line : undefined\n\n // Field from `Error`.\n /**\n * Serialized positional info of message.\n *\n * On normal errors, this would be something like `ParseError`, buit in\n * `VFile` messages we use this space to show where an error happened.\n */\n this.name = stringifyPosition(options.place) || '1:1'\n\n /**\n * Place of message.\n *\n * @type {Point | Position | undefined}\n */\n this.place = options.place || undefined\n\n /**\n * Reason for message, should use markdown.\n *\n * @type {string}\n */\n this.reason = this.message\n\n /**\n * Category of message (example: `'my-rule'`).\n *\n * @type {string | undefined}\n */\n this.ruleId = options.ruleId || undefined\n\n /**\n * Namespace of message (example: `'my-package'`).\n *\n * @type {string | undefined}\n */\n this.source = options.source || undefined\n\n // Field from `Error`.\n /**\n * Stack of message.\n *\n * This is used by normal errors to show where something happened in\n * programming code, irrelevant for `VFile` messages,\n *\n * @type {string}\n */\n this.stack =\n legacyCause && options.cause && typeof options.cause.stack === 'string'\n ? options.cause.stack\n : ''\n\n // The following fields are “well known”.\n // Not standard.\n // Feel free to add other non-standard fields to your messages.\n\n /**\n * Specify the source value that’s being reported, which is deemed\n * incorrect.\n *\n * @type {string | undefined}\n */\n this.actual = undefined\n\n /**\n * Suggest acceptable values that can be used instead of `actual`.\n *\n * @type {Array<string> | undefined}\n */\n this.expected = undefined\n\n /**\n * Long form description of the message (you should use markdown).\n *\n * @type {string | undefined}\n */\n this.note = undefined\n\n /**\n * Link to docs for the message.\n *\n * > 👉 **Note**: this must be an absolute URL that can be passed as `x`\n * > to `new URL(x)`.\n *\n * @type {string | undefined}\n */\n this.url = undefined\n }\n}\n\nVFileMessage.prototype.file = ''\nVFileMessage.prototype.name = ''\nVFileMessage.prototype.reason = ''\nVFileMessage.prototype.message = ''\nVFileMessage.prototype.stack = ''\nVFileMessage.prototype.column = undefined\nVFileMessage.prototype.line = undefined\nVFileMessage.prototype.ancestors = undefined\nVFileMessage.prototype.cause = undefined\nVFileMessage.prototype.fatal = undefined\nVFileMessage.prototype.place = undefined\nVFileMessage.prototype.ruleId = undefined\nVFileMessage.prototype.source = undefined\n"],"names":["VFileMessage","Error","constructor","causeOrReason","optionsOrParentOrPlace","origin","super","undefined","reason","options","legacyCause","place","ancestors","position","cause","message","ruleId","source","index","indexOf","slice","parent","length","start","this","column","fatal","file","line","name","stringifyPosition","stack","actual","expected","note","url","prototype"],"mappings":"sIA0BO,MAAMA,UAAqBC,MAwDhC,WAAAC,CAAYC,EAAeC,EAAwBC,GACjDC,QAEsC,iBAA3BF,IACTC,EAASD,EACTA,OAAyBG,GAI3B,IAAIC,EAAS,GAETC,EAAU,CAAE,EACZC,GAAc,EAwClB,GAtCIN,IAMAK,EAHA,SAAUL,GACV,WAAYA,GAMZ,UAAWA,GACX,QAASA,EALC,CAACO,MAAOP,GAUX,SAAUA,EACP,CACRQ,UAAW,CAACR,GACZO,MAAOP,EAAuBS,UAKtB,IAAIT,IAIW,iBAAlBD,EACTK,EAASL,GAGDM,EAAQK,OAASX,IACzBO,GAAc,EACdF,EAASL,EAAcY,QACvBN,EAAQK,MAAQX,IAGbM,EAAQO,SAAWP,EAAQQ,QAA4B,iBAAXZ,EAAqB,CACpE,MAAMa,EAAQb,EAAOc,QAAQ,MAEd,IAAXD,EACFT,EAAQO,OAASX,GAEjBI,EAAQQ,OAASZ,EAAOe,MAAM,EAAGF,GACjCT,EAAQO,OAASX,EAAOe,MAAMF,EAAQ,GAEzC,CAED,IAAKT,EAAQE,OAASF,EAAQG,WAAaH,EAAQG,UAAW,CAC5D,MAAMS,EAASZ,EAAQG,UAAUH,EAAQG,UAAUU,OAAS,GAExDD,IACFZ,EAAQE,MAAQU,EAAOR,SAE1B,CAED,MAAMU,EACJd,EAAQE,OAAS,UAAWF,EAAQE,MAChCF,EAAQE,MAAMY,MACdd,EAAQE,MAOda,KAAKZ,UAAYH,EAAQG,gBAAaL,EAOtCiB,KAAKV,MAAQL,EAAQK,YAASP,EAO9BiB,KAAKC,OAASF,EAAQA,EAAME,YAASlB,EAWrCiB,KAAKE,WAAQnB,EAObiB,KAAKG,KAAO,GAQZH,KAAKT,QAAUP,EAOfgB,KAAKI,KAAOL,EAAQA,EAAMK,UAAOrB,EASjCiB,KAAKK,KAAOC,EAAAA,kBAAkBrB,EAAQE,QAAU,MAOhDa,KAAKb,MAAQF,EAAQE,YAASJ,EAO9BiB,KAAKhB,OAASgB,KAAKT,QAOnBS,KAAKR,OAASP,EAAQO,aAAUT,EAOhCiB,KAAKP,OAASR,EAAQQ,aAAUV,EAWhCiB,KAAKO,MACHrB,GAAeD,EAAQK,OAAwC,iBAAxBL,EAAQK,MAAMiB,MACjDtB,EAAQK,MAAMiB,MACd,GAYNP,KAAKQ,YAASzB,EAOdiB,KAAKS,cAAW1B,EAOhBiB,KAAKU,UAAO3B,EAUZiB,KAAKW,SAAM5B,CACZ,EAGHP,EAAaoC,UAAUT,KAAO,GAC9B3B,EAAaoC,UAAUP,KAAO,GAC9B7B,EAAaoC,UAAU5B,OAAS,GAChCR,EAAaoC,UAAUrB,QAAU,GACjCf,EAAaoC,UAAUL,MAAQ,GAC/B/B,EAAaoC,UAAUX,YAASlB,EAChCP,EAAaoC,UAAUR,UAAOrB,EAC9BP,EAAaoC,UAAUxB,eAAYL,EACnCP,EAAaoC,UAAUtB,WAAQP,EAC/BP,EAAaoC,UAAUV,WAAQnB,EAC/BP,EAAaoC,UAAUzB,WAAQJ,EAC/BP,EAAaoC,UAAUpB,YAAST,EAChCP,EAAaoC,UAAUnB,YAASV"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js");exports.restoreAuditVersion=function(t){var r=t.baseUrl,o=t.endpoint,i=t.historyId,n=t.method,s=void 0===n?"POST":n;return e.__awaiter(this,void 0,void 0,function(){var t;return e.__generator(this,function(e){switch(e.label){case 0:return[4,fetch("".concat(r).concat(o),{method:s,headers:{"Content-Type":"application/json"},body:JSON.stringify({change_log_id:i})})];case 1:if(!(t=e.sent()).ok)throw new Error("Failed to restore audit version");return[2,t.json()]}})})};
|
|
2
|
+
//# sourceMappingURL=restoreAuditVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restoreAuditVersion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js"),t=require("react"),n=require("../node_modules/axios/lib/axios.js");exports.useAuditLogDistinctValues=function(r){var a=r.baseUrl,u=r.endpoint,i=void 0===u?"/audit-log/distinct-values":u,o=r.configId,l=r.externalResourceId,c=r.enabled,s=void 0===c||c,d=t.useState(null),v=d[0],f=d[1],_=t.useState(!1),p=_[0],b=_[1],g=t.useState(null),m=g[0],h=g[1],j=!!a&&!!o&&!!l&&s;t.useEffect(function(){if(j){var t=!1;return e.__awaiter(void 0,void 0,void 0,function(){var r,u,c,s,d,v;return e.__generator(this,function(e){switch(e.label){case 0:b(!0),h(null),e.label=1;case 1:return e.trys.push([1,3,4,5]),r=l.map(function(e){return"external_resource_id=".concat(encodeURIComponent(e))}).join("&"),u="".concat(a).concat(i,"/").concat(o,"?").concat(r),[4,n.default.get(u,{headers:{accept:"application/json"}})];case 2:return c=e.sent(),t||f(null!==(v=null===(d=c.data)||void 0===d?void 0:d.data)&&void 0!==v?v:null),[3,5];case 3:return s=e.sent(),t||(console.error("Audit log distinct-values fetch failed:",s),h(s)),[3,5];case 4:return t||b(!1),[7];case 5:return[2]}})}),function(){t=!0}}},[a,i,o,l,j]);var x=t.useMemo(function(){var e,t=null!==(e=null==v?void 0:v.change_made_by_user)&&void 0!==e?e:{};return Object.entries(t).map(function(e){return{label:e[0],value:e[1]}})},[v]),y=t.useMemo(function(){var e;return(null!==(e=null==v?void 0:v.change_made_title)&&void 0!==e?e:[]).map(function(e){return{label:e,value:e}})},[v]);return{data:v,loading:p,error:m,modifiedByOptions:x,changeTitleOptions:y}};
|
|
2
|
+
//# sourceMappingURL=useAuditLogDistinctValues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuditLogDistinctValues.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js"),t=require("react"),i=require("../components/auditLog.api.js");exports.useAuditLogsData=function(r){var n=r.baseUrl,a=r.endpoint,o=r.configId,d=r.query,u=t.useState([]),c=u[0],l=u[1],s=t.useState(!1),f=s[0],v=s[1],g=t.useState(!1),m=g[0],_=g[1],S=t.useState(),h=S[0],p=S[1],y=t.useState(!0),E=y[0],D=y[1],I=t.useRef(!1),x=function(t,r){return void 0===t&&(t=!1),e.__awaiter(void 0,void 0,void 0,function(){var u,c,s,f,g,m,S,y,E,x;return e.__generator(this,function(b){switch(b.label){case 0:if(I.current)return[2];I.current=!0,t?v(!0):_(!0),b.label=1;case 1:return b.trys.push([1,3,4,5]),u={configId:o,filters:{externalResourceId:d.externalResourceId,userEmails:d.userEmails,changeTitle:d.changeTitle,content:d.content,modifiedDateStart:d.modifiedDateStart?d.modifiedDateStart.toISOString():void 0,modifiedDateEnd:d.modifiedDateEnd?d.modifiedDateEnd.toISOString():void 0,orderBy:null!==(S=d.orderBy)&&void 0!==S?S:"latestFirst",impactPercentageStart:d.impactPercentageStart,impactPercentageEnd:d.impactPercentageEnd},pageSize:d.pageSize,cursor:t?void 0:null!=r?r:h},[4,i.fetchAuditLogs(n,a,u)];case 2:return c=b.sent(),s=null!==(y=null==c?void 0:c.data)&&void 0!==y?y:{},f=null!==(E=s.items)&&void 0!==E?E:[],g=f.map(function(t,i){var r;return e.__assign(e.__assign({},t),{id:null!==(r=null==t?void 0:t.change_log_id)&&void 0!==r?r:"".concat(null==t?void 0:t.created_at,"_").concat(i),historyId:null==t?void 0:t.change_log_id,externalResourceId:null==t?void 0:t.external_resource_id,modifiedBy:null==t?void 0:t.modifiedbyname,modifiedByEmail:null==t?void 0:t.modifiedbyemail,actionType:null==t?void 0:t.changeTitle,actionText:null==t?void 0:t.change,actionDate:null==t?void 0:t.created_at})}),l(function(i){return t?g:e.__spreadArray(e.__spreadArray([],i,!0),g,!0)}),p(null!==(x=null==s?void 0:s.nextCursor)&&void 0!==x?x:void 0),D(!!(null==s?void 0:s.hasNext)),[3,5];case 3:return m=b.sent(),console.error("Audit log fetch failed:",m),[3,5];case 4:return I.current=!1,t?v(!1):_(!1),[7];case 5:return[2]}})})};t.useEffect(function(){l([]),p(void 0),D(!0),x(!0)},[o,JSON.stringify(d.externalResourceId),d.orderBy,d.content,JSON.stringify(d.userEmails),JSON.stringify(d.changeTitle),d.modifiedDateStart?d.modifiedDateStart.toISOString():void 0,d.modifiedDateEnd?d.modifiedDateEnd.toISOString():void 0,d.impactPercentageStart,d.impactPercentageEnd]);return{audits:c,loading:f,loadingMore:m,hasMore:E,fetchMore:function(){!E||m||I.current||x(!1,h)},refetch:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return l([]),p(void 0),D(!0),[4,x(!0)];case 1:return e.sent(),[2]}})})}}};
|
|
2
|
+
//# sourceMappingURL=useAuditLogsData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuditLogsData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.App{height:100vh;overflow-y:auto;width:100vw}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:center}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;height:92px;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.log-toolbar{align-items:center;display:flex;gap:16px;width:100%}.log-filterFooter{border-top:1px solid #eee;padding:16px 20px}.log-toolbar__search{flex:1;position:relative}.log-toolbar__search input{border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;font-family:Inter;font-size:14px;font-weight:500;height:40px;padding:0 14px 0 42px;width:100%}.log-toolbar__search input:focus{border-color:#cbd5e1;outline:none}.log-toolbar__search-icon{color:#6b7280;left:14px;position:absolute;top:50%;transform:translateY(-50%)}.log-toolbar__actions{display:flex;gap:12px}.log-toolbar__btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;gap:8px;height:40px;padding:0 18px;transition:.2s ease}.log-toolbar__btn:hover{background:#f8fafc;border-color:#dbe3ef}.log-toolbar__sort{position:relative}.log-toolbar__dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 12px 24px #0000001f;min-width:260px;overflow:hidden;padding:6px;position:absolute;right:0;top:52px;z-index:99}.log-toolbar__dropdown button{background:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;margin:2px;padding:5px 15px;text-align:left;width:100%}.log-toolbar__dropdown button:hover{background:#f3f4f6}.log-toolbar__dropdown--active{background:#f5f3ff!important;color:#7c3aed}.log-toolbar_list:hover{background:#f5f5f5}.log-toolbar__btn--active{border:1px solid #6d28d9;color:#6d28d9}.log-toolbar__btn--active svg{color:#6d28d9}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl{width:100%}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#2563eb;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.cms-root{position:relative;width:100%}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#2563eb;border-color:#2563eb}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.AuditLogPanel-module_overlay__mnfs5{background-color:#0003;bottom:0;left:0;position:fixed;right:0;top:0;z-index:9998}.AuditLogPanel-module_panel__btKWo{background-color:#fff;box-shadow:-4px 0 20px #0000001a;display:flex;flex-direction:column;height:100vh;max-width:100vw;position:fixed;right:0;top:0;transition:transform .3s ease;width:480px;z-index:9999}.AuditLogPanel-module_panelOpen__Tj0EH{transform:translateX(0)}.AuditLogPanel-module_panelClosed__2nUTn{transform:translateX(100%)}.AuditLogPanel-module_header__4Ld8n{align-items:flex-start;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.AuditLogPanel-module_title__YkOer{color:#0f172a;font-size:18px;font-weight:600;margin:0}.AuditLogPanel-module_subtitle__NHQxF{color:#64748b;font-size:13px;margin:4px 0 0}.AuditLogPanel-module_closeBtn__9Raqs{align-items:center;background:none;border:none;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:4px}.AuditLogPanel-module_scrollArea__QVsJl{flex:1;overflow-y:auto;padding:24px}.AuditLogPanel-module_emptyState__ZqwuX{color:#64748b;margin-top:40px;text-align:center}.AuditLogPanel-module_compCard__KiH-p{background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px}.AuditLogPanel-module_compHeader__R5tvd{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;user-select:none}.AuditLogPanel-module_compTitle__Y4FIG{color:#0f172a;font-size:14px;font-weight:600}.AuditLogPanel-module_compIcon__gYnr7{align-items:center;color:#475569;display:flex}.AuditLogPanel-module_compBody__hEdrH{border-top:1px solid #f1f5f9;display:flex;flex-direction:column;gap:12px;padding:16px}.AuditLogPanel-module_compSectionLabel__2Lm4E{color:#475569;font-size:12px;font-weight:600;margin-bottom:6px}.AuditLogPanel-module_compLatestText__jpMml{background-color:#f0fdf4;border:1px solid #dcfce7;border-radius:6px;color:#166534;font-size:13px;padding:12px}.AuditLogPanel-module_compOriginalText__FcXep{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;color:#64748b;font-size:13px;padding:12px}.AuditLogPanel-module_itemWrapper__uucps{border-bottom:1px solid #e2e8f0}.AuditLogPanel-module_itemHeader__JueVB{align-items:center;background-color:initial;display:flex;justify-content:space-between;padding:16px 0}.AuditLogPanel-module_itemHeaderClickable__wzqVP{cursor:pointer}.AuditLogPanel-module_itemHeaderDefault__SH2oI{cursor:default}.AuditLogPanel-module_itemLeft__2LBs1{align-items:flex-start;display:flex;gap:12px}.AuditLogPanel-module_itemIconWrapper__LE0QA{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:32px;justify-content:center;width:32px}.AuditLogPanel-module_itemTitle__sDycO{color:#0f172a;font-size:14px;font-weight:600}.AuditLogPanel-module_itemSubtitle__Y7fME{color:#64748b;font-size:12px;margin-top:2px}.AuditLogPanel-module_itemRight__AalDS{align-items:center;display:flex;gap:12px}.AuditLogPanel-module_itemTimestamp__ooTn5{color:#64748b;font-size:12px}.AuditLogPanel-module_itemChevron__-wnQo{align-items:center;border-radius:50%;display:flex;padding:4px;transition:background-color .2s ease}.AuditLogPanel-module_itemExpanded__ZUp8c{display:flex;flex-direction:column;gap:16px;padding-bottom:20px;padding-left:44px}.AuditLogPanel-module_tagsChip__m3AM5{align-items:center;background-color:#f1f5f9;border-radius:12px;color:#475569;display:inline-flex;flex-wrap:wrap;font-size:12px;font-weight:500;gap:6px;padding:4px 12px}.AuditLogPanel-module_tagSeparator__Kxa4w{color:#94a3b8;font-size:14px}.AuditLogPanel-module_impactContainer__v16Y0{border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:16px;padding:16px}.AuditLogPanel-module_impactHeader__ggNw-{align-items:center;display:flex;gap:8px;margin-bottom:8px}.AuditLogPanel-module_impactLabel__FOmPT{color:#0f172a;font-size:13px;font-weight:600}.AuditLogPanel-module_impactDescription__5wja1{color:#475569;font-size:13px;line-height:1.5;margin-top:8px}.AuditLogPanel-module_severityBadge__-sPO7{border-radius:12px;font-size:11px;font-weight:500;padding:2px 8px}.AuditLogPanel-module_severityHigh__e--68{background-color:#fee2e2;color:#991b1b}.AuditLogPanel-module_severityOther__m-OrS{background-color:#f1f5f9;color:#475569}.AuditLogPanel-module_divider__td5ot{background-color:#e2e8f0;height:1px}.AuditLogPanel-module_contentBlock__7sjMa{display:flex;flex-direction:column;gap:6px}.AuditLogPanel-module_contentBlockLabel__v8g5e{color:#0f172a;font-size:13px;font-weight:600}.AuditLogPanel-module_contentBlockText__dfcpm{background-color:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;color:#475569;font-size:13px;padding:12px}.AuditLogPanel-module_markdown__7r3Qt{margin:0;white-space:pre-wrap;word-break:break-word}.AuditLogPanel-module_markdown__7r3Qt p{display:inline;margin:0}.AuditLogPanel-module_truncateContainer__ajjKt{align-items:flex-start;display:flex;flex-direction:column;position:relative;width:100%}.AuditLogPanel-module_truncateText__1F-7K{-webkit-box-orient:vertical;color:inherit;display:-webkit-box;line-height:1.5;overflow:hidden;width:100%}.AuditLogPanel-module_truncateExpandedScrollable__txaww{display:block!important;overflow-y:auto;padding-right:6px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar{width:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.AuditLogPanel-module_truncateExpandedScrollable__txaww::-webkit-scrollbar-thumb:hover{background:#94a3b8}.AuditLogPanel-module_toggleBtn__rfU8F{background:none;border:none;color:#2563eb;cursor:pointer;font-size:13px;font-style:italic;font-weight:500;margin-top:6px;padding:0}.AuditLogPanel-module_filterSection__b-3av{border-bottom:1px solid #e2e8f0;display:flex;flex-direction:column;gap:12px;margin-bottom:16px;padding:16px 0}.AuditLogPanel-module_filterGrid__IGB8-{align-items:flex-end;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.AuditLogPanel-module_filterItem__rg6ci{display:flex;flex-direction:column;gap:4px}.AuditLogPanel-module_filterLabel__5V4QY{color:#475569}.AuditLogPanel-module_filterInput__CvuQ5,.AuditLogPanel-module_filterSelect__1mD44{background-color:#fff}.AuditLogPanel-module_dateRangeGroup__TGqpn{align-items:center;display:flex;gap:6px}.AuditLogPanel-module_filterHeader__YpEH-{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:8px;user-select:none}.AuditLogPanel-module_filterHeaderLeft__2IvKC{align-items:center;color:#475569;display:flex;font-size:13px;font-weight:600;gap:8px}.AuditLogPanel-module_activeBadge__irk0W{background-color:#2563eb;border-radius:12px;color:#fff;font-size:11px;font-weight:700;padding:2px 8px}.AuditLogPanel-module_clearBtn__sRfO0{background:none;border:none;color:#dc2626;cursor:pointer;font-size:11px;margin-left:8px;padding:0 4px;text-decoration:underline}.AuditLogPanel-module_filterPopupWrapper__jBPyK{display:flex;justify-content:flex-end;margin-bottom:16px;position:relative}.AuditLogPanel-module_filterTriggerBtn__yL7ko{align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 1px 2px #0000000d;color:#0f172a;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;padding:8px 16px;transition:all .2s}.AuditLogPanel-module_filterTriggerBtn__yL7ko:hover{background:#f8fafc;border-color:#94a3b8}.AuditLogPanel-module_filterPopupContent__inbJs{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 25px -5px #0000001a;margin-top:8px;max-height:70vh;overflow-y:auto;padding:16px;position:absolute;right:0;top:100%;width:340px;z-index:100}.AuditLogPanel-module_filterHint__n0Udq{color:#64748b;line-height:1.3;margin-bottom:4px}.AuditLogPanel-module_multiSelectGroup__ZQU0e{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;display:flex;flex-direction:column;gap:8px;max-height:120px;overflow-y:auto;padding:10px}.AuditLogPanel-module_checkboxItem__-Rwa1{align-items:center;color:#334155;cursor:pointer;display:flex;font-size:13px;gap:8px}.AuditLogPanel-module_rangeGroup__x-K5-{align-items:center;display:flex;gap:8px}.AuditLogPanel-module_rangeInput__hydGj{border:1px solid #cbd5e1;border-radius:6px;font-size:13px;padding:8px 10px;width:100%}.AuditLogPanel-module_filterFooter__21RHT{align-items:center;border-top:1px dashed #e2e8f0;display:flex;gap:12px;justify-content:flex-end;margin-top:16px;padding-top:12px}.AuditLogPanel-module_applyBtn__SsGu2{background-color:#2563eb;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 16px;transition:background-color .2s}.AuditLogPanel-module_applyBtn__SsGu2:hover{background-color:#1d4ed8}.AuditLogPanel-module_skeletonPulse__Jqdac{animation:AuditLogPanel-module_pulse__SFUMS 1.5s cubic-bezier(.4,0,.6,1) infinite}@keyframes AuditLogPanel-module_pulse__SFUMS{0%,to{opacity:1}50%{opacity:.5}}.AuditLogPanel-module_loadingText__M41Xb{color:#64748b;font-size:13px;font-style:italic;padding:16px;text-align:center}.AuditLogPanel-module_iconTriggerBtn__Cu-XV{align-items:center;background:#0000;border:none;border-radius:6px;color:#64748b;cursor:pointer;display:flex;height:32px;justify-content:center;position:relative;transition:all .2s;width:32px}.AuditLogPanel-module_iconTriggerBtn__Cu-XV:hover{background:#f1f5f9;color:#0f172a}.AuditLogPanel-module_iconTriggerBadge__rokhX{align-items:center;background:#2563eb;border:2px solid #fff;border-radius:12px;color:#fff;display:flex;font-size:10px;font-weight:700;height:16px;justify-content:center;min-width:16px;padding:0 4px;position:absolute;right:-4px;top:-4px}.AuditLogPanel-module_modalBackdrop__IJAuf{align-items:center;backdrop-filter:blur(3px);background-color:#0f172a80;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:9999}.AuditLogPanel-module_modalContainer__zRPuE{background:#fff;border-radius:12px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-height:90vh;max-width:600px;overflow:hidden;width:100%}.AuditLogPanel-module_modalHeader__CR8rf{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px 20px}.AuditLogPanel-module_modalTitle__EwALY{align-items:center;color:#0f172a;display:flex;font-size:15px;font-weight:600;gap:8px;margin:0}.AuditLogPanel-module_modalClose__3XGih{background:#0000;border:none;border-radius:4px;color:#64748b;cursor:pointer;display:flex;padding:4px;transition:background .2s}.AuditLogPanel-module_modalClose__3XGih:hover{background:#f1f5f9;color:#0f172a}.AuditLogPanel-module_modalBody__Fn2Xb{flex:1;overflow-y:auto;padding:20px}.AuditLogPanel-module_modalFooter__1vn3I{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:16px 20px}.AuditLogPanel-module_accordionContainer__92rQR{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;margin:0 16px 16px;max-height:60vh;overflow:hidden}.AuditLogPanel-module_accordionHeader__fBYZr{align-items:center;background:#fff;border-bottom:1px solid #0000;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;user-select:none;z-index:45}.AuditLogPanel-module_accordionHeaderExpanded__R82zY{border-bottom-color:#e2e8f0}.AuditLogPanel-module_accordionTitle__SfXdv{align-items:center;color:#0f172a;display:flex;font-size:13px;font-weight:600;gap:8px}.AuditLogPanel-module_accordionContentWrapper__WJ6ZE{display:flex;flex:1;flex-direction:column;overflow:hidden}.AuditLogPanel-module_accordionBody__MBU1x{flex:1;overflow-y:auto;padding:16px}.AuditLogPanel-module_accordionFooter__jBIof{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:12px 16px}.AuditLogPanel-module_filterFormGrid__QoLKp{display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.AuditLogPanel-module_filterField__-UAtF{display:flex;flex-direction:column;gap:8px}.AuditLogPanel-module_filterLabel__5V4QY{color:#334155;font-size:12px;font-weight:600;letter-spacing:.5px}.AuditLogPanel-module_filterHint__n0Udq{color:#94a3b8;font-size:11px}.AuditLogPanel-module_inputWrapper__WrBnR{position:relative}.AuditLogPanel-module_inputIcon__cOOa8{color:#94a3b8;left:10px;position:absolute;top:50%;transform:translateY(-50%)}.AuditLogPanel-module_filterInput__CvuQ5,.AuditLogPanel-module_filterSelect__1mD44{background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 1px 2px #00000005;box-sizing:border-box;color:#0f172a;font-size:13px;outline:none;padding:8px 12px;transition:border-color .2s;width:100%}.AuditLogPanel-module_filterInput__CvuQ5:focus,.AuditLogPanel-module_filterSelect__1mD44:focus{border-color:#2563eb}.AuditLogPanel-module_filterInputWithIcon__o5dTT{padding-left:32px}.AuditLogPanel-module_btnSecondary__s9Ts7{background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 1px 2px #0000000d;color:#475569;cursor:pointer;font-size:13px;font-weight:600;padding:8px 20px;transition:background .2s}.AuditLogPanel-module_btnSecondary__s9Ts7:hover{background:#f1f5f9}.AuditLogPanel-module_btnPrimary__l1zRY{background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:8px;box-shadow:0 4px 12px #2563eb40;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 24px;transition:opacity .2s}.AuditLogPanel-module_btnPrimary__l1zRY:hover{opacity:.9}.lgfd__overlay{background:#0000;border:none;cursor:default;inset:0;padding:0;position:fixed;z-index:999}.lgfd__panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 24px #0000001f;display:flex;flex-direction:column;max-height:520px;overflow:hidden;position:fixed;width:400px;z-index:1000}.lgfd__header{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;flex-shrink:0;justify-content:space-between;padding:14px 16px 12px}.lgfd__title{color:#111827;font-size:14px;font-weight:600}.lgfd__closeBtn{background:none;border:none;border-radius:4px;color:#9ca3af;cursor:pointer;font-size:13px;line-height:1;padding:2px 6px;transition:background .1s,color .1s}.lgfd__closeBtn:hover{background:#f3f4f6;color:#374151}.lgfd__body{flex:1;overflow-y:auto}.lgfd__block{border-bottom:1px solid #f3f4f6;padding:14px 16px}.lgfd__block:last-child{border-bottom:none}.lgfd__label{color:#374151;font-size:13px;font-weight:600;margin-bottom:4px}.lgfd__hint{line-height:1.4}.lgfd__empty,.lgfd__hint{color:#9ca3af;font-size:12px}.lgfd__empty{padding:6px 0}.lgfd__footer{border-top:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:8px;padding:12px 16px}.lgfd__resetBtn{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;flex:1;font-size:13px;font-weight:500;padding:8px 12px;transition:background .1s}.lgfd__resetBtn:hover{background:#f9fafb}.lgfd__applyBtn{background:#7c3aed;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1;font-size:13px;font-weight:500;padding:8px 12px;transition:background .1s}.lgfd__applyBtn:hover{background:#6d28d9}.lgfd__actorSearch{align-items:center;display:flex;margin-bottom:6px;position:relative}.lgfd__actorInput{border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;color:#374151;font-size:13px;outline:none;padding:7px 32px 7px 10px;width:100%}.lgfd__actorInput:focus{border-color:#6b7280}.lgfd__actorSpinner{animation:lgfd-spin .6s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#6b7280;height:14px;position:absolute;right:10px;width:14px}@keyframes lgfd-spin{to{transform:rotate(1turn)}}.lgfd__actorList{display:flex;flex-direction:column;gap:1px;max-height:128px;overflow-y:auto}.lgfd__actorItem{align-items:center;border-radius:5px;cursor:pointer;display:flex;gap:8px;padding:6px;user-select:none}.lgfd__actorItem:hover{background:#f9fafb}.lgfd__actorItem--checked{background:#f5f3ff}.lgfd__actorCheckbox{align-items:center;background:#fff;border:1.5px solid #d1d5db;border-radius:3px;color:#fff;display:flex;flex-shrink:0;font-size:10px;height:15px;justify-content:center;width:15px}.lgfd__actorCheckbox--checked{background:#7c3aed;border-color:#7c3aed}.lgfd__actorLabel{color:#374151;font-size:13px}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../_virtual/_tslib.js";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useState as a}from"react";function c(c){var n=c.title,r=c.desciption,l=c.tone,s=c.icon,o=c.chipStyle,d=a(!1),u=d[0],p=d[1],h="string"==typeof r?r:"",m=h.length>95,f=m?h.slice(0,95)+"...":h;return t("div",e({className:"audit-actionCell"},{children:[n&&t("span",e({className:"audit-chip ".concat(l?"audit-chip--".concat(l):""),style:o},{children:[s&&i("span",e({className:"audit-chip__icon"},{children:s})),i("span",e({className:"audit-chip__label"},{children:n}))]})),t("div",e({className:"audit-actionText"},{children:[i("span",{children:u?h:f||"—"}),m&&i("button",e({type:"button",className:"audit-seeMore",onClick:function(){return p(function(e){return!e})}},{children:u?"See less":"See More"}))]}))]}))}export{c as default};
|
|
2
|
+
//# sourceMappingURL=ActionTakenBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionTakenBody.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as i,Fragment as t,jsx as r}from"react/jsx-runtime";import o,{useMemo as l}from"react";import{X as n}from"lucide-react";import{AuditLogItem as a}from"./AuditLogPanelItem.js";import{ComparisonSummaryCard as s}from"./ComparisonSummaryCard.js";import{FilterSection as d}from"./FilterSection.js";import{useAuditLogsData as c}from"./Services/useAuditLogPanelData.js";import{useAuditLogDistinctValues as m}from"./Services/useAuditLogPanelDistinctValues.js";import{useAuditLogFilters as u}from"./Services/useAuditLogPanelFilters.js";import{useAuditLogScroll as p}from"./Services/useAuditLogPanelScroll.js";import{extractComparisonContext as g}from"./Services/AuditLogPanelAdapter.js";import"primereact/resources/themes/lara-light-indigo/theme.css";import"primereact/resources/primereact.min.css";import v from"./AuditLogPanel.module.css.js";var f=function(f){var h=f.isOpen,y=f.onClose,C=f.title,L=void 0===C?"Redline History":C,x=f.subtitle,A=f.emptyState,S=void 0===A?"No history available.":A,I=f.logs,N=f.getData,b=f.distinctValuesApi,j=f.loading,F=void 0!==j&&j,M=f.loadingMore,w=void 0!==M&&M,P=f.hasMore,H=void 0!==P&&P,k=f.onLoadMore,B=f.comparisonContext,R=f.showComparisonCard,D=f.filters,T=void 0===D?[]:D,E=f.filterValues,O=f.onFilterChange,V=f.autoFilter,_=void 0!==V&&V,q=f.filterDisplayMode,z=void 0===q?"popup":q,Q=f.showApplyButton,W=void 0===Q||Q,G=f.onRowClick,J=f.itemConfig,K=f.renderCustomFilterSection,U=f.renderHeaderControls,X=f.renderCustomLogEntry,Y=f.renderItemHeaderLeft,Z=f.renderItemHeaderRight,$=f.renderItemExpandedBody,ee=f.globalIcons,ie=f.classNames,te=f.styles,re=f.labels,oe=f.dataSourceMode,le=f.query,ne=f.truncationConfig,ae="external"===oe,se=m(b,null==N?void 0:N.configId,null==le?void 0:le.externalResourceId,h).dynamicOptionsMap,de=u(T,E,O,se,le),ce=de.activeFilters,me=de.handleFilterChange,ue=de.enrichedFilters,pe=de.apiQuery,ge=de.showApplyButton,ve=de.filterLabels,fe=c(N,ce,h,ae,re,pe,ne),he=fe.apiLogs,ye=fe.apiLoading,Ce=fe.apiLoadingMore,Le=fe.apiHasMore,xe=fe.fetchLogs,Ae=ae?I||[]:he,Se=ae?F:ye,Ie=ae?w:Ce,Ne=ae?H:Le,be=l(function(){return _&&ae&&0!==ue.length?Ae.filter(function(e){return ue.every(function(i){var t=ce[i.id];return!t||""===t||("text"===i.type?String(e.title||"").toLowerCase().includes(String(t).toLowerCase()):"select"===i.type?e.actionType===t:"multi-select"!==i.type||Array.isArray(t)&&t.includes(e.actionType))})}):Ae},[Ae,ce,ue,_,ae]),je=l(function(){if((null==B?void 0:B.latestText)||(null==B?void 0:B.originalText))return B;if(!ae&&I&&I.length>0){var i=(null==B?void 0:B.truncation)||ne,t=g(I,re,i);return t?e(e({},t),B):void 0}},[B,ae,I,re,ne]),Fe=p(h,Ne,Ie,function(){return ae&&k?k():!ae&&xe(!1)},be.length),Me=void 0!==R?R:!!je,we=W||ge;return h?i(t,{children:[r("div",{className:"".concat(v.overlay," ").concat((null==ie?void 0:ie.overlay)||""),onClick:y}),i("div",e({className:"".concat(v.panel," ").concat(h?v.panelOpen:v.panelClosed," ").concat((null==ie?void 0:ie.panel)||"")},{children:[i("div",e({className:v.header},{children:[i("div",{children:[r("h2",e({className:v.title},{children:L})),x&&r("div",e({className:v.subtitle},{children:x}))]}),i("div",e({style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[K?K():ue.length>0?r(d,{configs:ue,values:ce,onChange:me,displayMode:z,showApplyButton:we,filterLabels:ve,classNames:ie,styles:te}):null,r("button",e({onClick:y,className:v.closeBtn},{children:(null==ee?void 0:ee.close)||r(n,{size:20})}))]}))]})),i("div",e({ref:Fe,className:v.scrollArea},{children:[U?U():Me&&je?r(s,{data:je,globalIcons:ee}):null,Se&&0===be.length?r("div",e({style:{display:"flex",flexDirection:"column",gap:"16px"}},{children:[1,2,3,4,5].map(function(e){return r("div",{className:"".concat(v.itemWrapper," ").concat(v.skeletonPulse),style:{height:"70px",background:"#f8fafc"}},e)})})):0===be.length?r("div",e({className:v.emptyState},{children:S})):be.map(function(e,i){return r(o.Fragment,{children:X?X(e,i):r(a,{log:e,globalIcons:ee,onRowClick:G,itemConfig:J,renderItemHeaderLeft:Y,renderItemHeaderRight:Z,renderItemExpandedBody:$})},e.id)}),Ie&&r("div",e({className:v.loadingText},{children:(null==re?void 0:re.loadingMore)||"Fetching older history..."}))]}))]}))]}):null};export{f as AuditLogPanel};
|
|
2
|
+
//# sourceMappingURL=AuditLogPanel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditLogPanel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={overlay:"AuditLogPanel-module_overlay__mnfs5",panel:"AuditLogPanel-module_panel__btKWo",panelOpen:"AuditLogPanel-module_panelOpen__Tj0EH",panelClosed:"AuditLogPanel-module_panelClosed__2nUTn",header:"AuditLogPanel-module_header__4Ld8n",title:"AuditLogPanel-module_title__YkOer",subtitle:"AuditLogPanel-module_subtitle__NHQxF",closeBtn:"AuditLogPanel-module_closeBtn__9Raqs",scrollArea:"AuditLogPanel-module_scrollArea__QVsJl",emptyState:"AuditLogPanel-module_emptyState__ZqwuX",compCard:"AuditLogPanel-module_compCard__KiH-p",compHeader:"AuditLogPanel-module_compHeader__R5tvd",compTitle:"AuditLogPanel-module_compTitle__Y4FIG",compIcon:"AuditLogPanel-module_compIcon__gYnr7",compBody:"AuditLogPanel-module_compBody__hEdrH",compSectionLabel:"AuditLogPanel-module_compSectionLabel__2Lm4E",compLatestText:"AuditLogPanel-module_compLatestText__jpMml",compOriginalText:"AuditLogPanel-module_compOriginalText__FcXep",itemWrapper:"AuditLogPanel-module_itemWrapper__uucps",itemHeader:"AuditLogPanel-module_itemHeader__JueVB",itemHeaderClickable:"AuditLogPanel-module_itemHeaderClickable__wzqVP",itemHeaderDefault:"AuditLogPanel-module_itemHeaderDefault__SH2oI",itemLeft:"AuditLogPanel-module_itemLeft__2LBs1",itemIconWrapper:"AuditLogPanel-module_itemIconWrapper__LE0QA",itemTitle:"AuditLogPanel-module_itemTitle__sDycO",itemSubtitle:"AuditLogPanel-module_itemSubtitle__Y7fME",itemRight:"AuditLogPanel-module_itemRight__AalDS",itemTimestamp:"AuditLogPanel-module_itemTimestamp__ooTn5",itemChevron:"AuditLogPanel-module_itemChevron__-wnQo",itemExpanded:"AuditLogPanel-module_itemExpanded__ZUp8c",tagsChip:"AuditLogPanel-module_tagsChip__m3AM5",tagSeparator:"AuditLogPanel-module_tagSeparator__Kxa4w",impactContainer:"AuditLogPanel-module_impactContainer__v16Y0",impactHeader:"AuditLogPanel-module_impactHeader__ggNw-",impactLabel:"AuditLogPanel-module_impactLabel__FOmPT",impactDescription:"AuditLogPanel-module_impactDescription__5wja1",severityBadge:"AuditLogPanel-module_severityBadge__-sPO7",severityHigh:"AuditLogPanel-module_severityHigh__e--68",severityOther:"AuditLogPanel-module_severityOther__m-OrS",divider:"AuditLogPanel-module_divider__td5ot",contentBlock:"AuditLogPanel-module_contentBlock__7sjMa",contentBlockLabel:"AuditLogPanel-module_contentBlockLabel__v8g5e",contentBlockText:"AuditLogPanel-module_contentBlockText__dfcpm",markdown:"AuditLogPanel-module_markdown__7r3Qt",truncateContainer:"AuditLogPanel-module_truncateContainer__ajjKt",truncateText:"AuditLogPanel-module_truncateText__1F-7K",truncateExpandedScrollable:"AuditLogPanel-module_truncateExpandedScrollable__txaww",toggleBtn:"AuditLogPanel-module_toggleBtn__rfU8F",filterSection:"AuditLogPanel-module_filterSection__b-3av",filterGrid:"AuditLogPanel-module_filterGrid__IGB8-",filterItem:"AuditLogPanel-module_filterItem__rg6ci",filterLabel:"AuditLogPanel-module_filterLabel__5V4QY",filterInput:"AuditLogPanel-module_filterInput__CvuQ5",filterSelect:"AuditLogPanel-module_filterSelect__1mD44",dateRangeGroup:"AuditLogPanel-module_dateRangeGroup__TGqpn",filterHeader:"AuditLogPanel-module_filterHeader__YpEH-",filterHeaderLeft:"AuditLogPanel-module_filterHeaderLeft__2IvKC",activeBadge:"AuditLogPanel-module_activeBadge__irk0W",clearBtn:"AuditLogPanel-module_clearBtn__sRfO0",filterPopupWrapper:"AuditLogPanel-module_filterPopupWrapper__jBPyK",filterTriggerBtn:"AuditLogPanel-module_filterTriggerBtn__yL7ko",filterPopupContent:"AuditLogPanel-module_filterPopupContent__inbJs",filterHint:"AuditLogPanel-module_filterHint__n0Udq",multiSelectGroup:"AuditLogPanel-module_multiSelectGroup__ZQU0e",checkboxItem:"AuditLogPanel-module_checkboxItem__-Rwa1",rangeGroup:"AuditLogPanel-module_rangeGroup__x-K5-",rangeInput:"AuditLogPanel-module_rangeInput__hydGj",filterFooter:"AuditLogPanel-module_filterFooter__21RHT",applyBtn:"AuditLogPanel-module_applyBtn__SsGu2",skeletonPulse:"AuditLogPanel-module_skeletonPulse__Jqdac",pulse:"AuditLogPanel-module_pulse__SFUMS",loadingText:"AuditLogPanel-module_loadingText__M41Xb",iconTriggerBtn:"AuditLogPanel-module_iconTriggerBtn__Cu-XV",iconTriggerBadge:"AuditLogPanel-module_iconTriggerBadge__rokhX",modalBackdrop:"AuditLogPanel-module_modalBackdrop__IJAuf",modalContainer:"AuditLogPanel-module_modalContainer__zRPuE",modalHeader:"AuditLogPanel-module_modalHeader__CR8rf",modalTitle:"AuditLogPanel-module_modalTitle__EwALY",modalClose:"AuditLogPanel-module_modalClose__3XGih",modalBody:"AuditLogPanel-module_modalBody__Fn2Xb",modalFooter:"AuditLogPanel-module_modalFooter__1vn3I",accordionContainer:"AuditLogPanel-module_accordionContainer__92rQR",accordionHeader:"AuditLogPanel-module_accordionHeader__fBYZr",accordionHeaderExpanded:"AuditLogPanel-module_accordionHeaderExpanded__R82zY",accordionTitle:"AuditLogPanel-module_accordionTitle__SfXdv",accordionContentWrapper:"AuditLogPanel-module_accordionContentWrapper__WJ6ZE",accordionBody:"AuditLogPanel-module_accordionBody__MBU1x",accordionFooter:"AuditLogPanel-module_accordionFooter__jBIof",filterFormGrid:"AuditLogPanel-module_filterFormGrid__QoLKp",filterField:"AuditLogPanel-module_filterField__-UAtF",inputWrapper:"AuditLogPanel-module_inputWrapper__WrBnR",inputIcon:"AuditLogPanel-module_inputIcon__cOOa8",filterInputWithIcon:"AuditLogPanel-module_filterInputWithIcon__o5dTT",btnSecondary:"AuditLogPanel-module_btnSecondary__s9Ts7",btnPrimary:"AuditLogPanel-module_btnPrimary__l1zRY"};export{e as default};
|
|
2
|
+
//# sourceMappingURL=AuditLogPanel.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditLogPanel.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as i,jsxs as n,Fragment as t}from"react/jsx-runtime";import c,{useState as a}from"react";import{Sparkles as l,RefreshCcw as o,PenLine as r,CheckCircle2 as d,XCircle as s,RotateCcw as m,RotateCw as p,History as g,ChevronUp as v,ChevronDown as u}from"lucide-react";import{TruncatedText as h}from"./CommonUI.js";import f from"./AuditLogPanel.module.css.js";var b={AI_SUGGESTED:{icon:i(l,{size:14,color:"#9333ea"}),bg:"#f3e8ff"},ITERATED:{icon:i(o,{size:14,color:"#2563eb"}),bg:"#dbeafe"},MODIFIED:{icon:i(r,{size:14,color:"#f59e0b"}),bg:"#fef3c7"},APPROVED:{icon:i(d,{size:16,color:"#16a34a"}),bg:"#dcfce7"},ACCEPTED:{icon:i(d,{size:16,color:"#16a34a"}),bg:"#dcfce7"},REJECTED:{icon:i(s,{size:16,color:"#dc2626"}),bg:"#fee2e2"},REVERTED:{icon:i(m,{size:14,color:"#ea580c"}),bg:"#ffedd5"},REINSTATE:{icon:i(p,{size:14,color:"#059669"}),bg:"#d1fae5"},RESTORE:{icon:i(g,{size:14,color:"#4f46e5"}),bg:"#e0e7ff"}},E=function(l){var o,r,d,s,m,p=l.log,g=l.globalIcons,E=l.globalClasses,N=l.globalStyles,y=l.renderItemHeaderLeft,B=l.renderItemHeaderRight,C=l.renderItemExpandedBody,k=l.onRowClick,I=l.itemConfig,R=a(p.isInitiallyExpanded||!1),T=R[0],x=R[1],H={isExpanded:T,expand:function(){return x(!0)},collapse:function(){return x(!1)},toggle:function(){return x(!T)}},z=y?y(p):null,D=B?B(p,T,H):null,S=C?C(p,H):null,L=Boolean(p.renderExpandedBody||p.customExpandedContent),A=Boolean(p.tags&&p.tags.length>0||p.impact||p.contentBlocks&&p.contentBlocks.length>0),j=L||Boolean(S)||A,w=function(e){if(!e)return{icon:i("div",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:"#64748b"}}),bg:"#f1f5f9"};var n=e.toUpperCase().trim();return b[n]||{icon:i("div",{style:{width:8,height:8,borderRadius:"50%",backgroundColor:"#64748b"}}),bg:"#f1f5f9"}}(p.actionType),O=(null===(o=null==I?void 0:I.getIcon)||void 0===o?void 0:o.call(I,p))||p.icon||(null===(r=null==g?void 0:g.actionTypes)||void 0===r?void 0:r[p.actionType])||w.icon,P=(null===(d=null==I?void 0:I.getIconBg)||void 0===d?void 0:d.call(I,p))||p.iconBgColor||w.bg,U=(null===(s=null==I?void 0:I.getStyle)||void 0===s?void 0:s.call(I,p))||{};return n("div",e({className:"".concat(f.itemWrapper," ").concat((null==E?void 0:E.itemWrapper)||""," ").concat(p.className||""),style:e(e(e({},null==N?void 0:N.itemWrapper),p.style),U)},{children:[n("div",e({onClick:function(e){e.target.closest("button, a, input, select")||(k&&k(p,H),j&&x(!T))},className:"".concat(f.itemHeader," ").concat(j?f.itemHeaderClickable:f.itemHeaderDefault)},{children:[i("div",e({className:f.itemLeft},{children:p.renderHeaderLeft?p.renderHeaderLeft():z||n(t,{children:[i("div",e({className:f.itemIconWrapper,style:{backgroundColor:P}},{children:O})),n("div",{children:[i("div",e({className:f.itemTitle},{children:p.title})),i("div",e({className:f.itemSubtitle},{children:p.subtitle}))]})]})})),i("div",e({className:f.itemRight},{children:p.renderHeaderRight?p.renderHeaderRight(T,H):D||n(t,{children:[i("span",e({className:f.itemTimestamp},{children:p.timestamp})),j&&i("div",e({className:f.itemChevron},{children:T?(null==g?void 0:g.chevronUp)||i(v,{size:16}):(null==g?void 0:g.chevronDown)||i(u,{size:16})}))]})}))]})),T&&j&&i("div",e({className:f.itemExpanded},{children:p.renderExpandedBody?p.renderExpandedBody(H):S||(p.customExpandedContent?p.customExpandedContent:n(t,{children:[p.tags&&p.tags.length>0&&i("div",{children:i("div",e({className:f.tagsChip},{children:p.tags.map(function(t,a){return n(c.Fragment,{children:[i("span",{children:t}),a<p.tags.length-1&&i("span",e({className:f.tagSeparator},{children:"•"}))]},a)})}))}),(p.impact||p.contentBlocks&&p.contentBlocks.length>0)&&n("div",e({className:f.impactContainer},{children:[p.impact&&n("div",e({className:p.impact.className,style:p.impact.style},{children:[n("div",e({className:f.impactHeader},{children:[i("span",e({className:f.impactLabel},{children:p.impact.label||"Impact"})),p.impact.severity&&i("span",e({className:"".concat(f.severityBadge," ").concat("High"===p.impact.severity?f.severityHigh:f.severityOther)},{children:p.impact.severity}))]})),i("div",e({className:f.impactDescription},{children:i(h,{content:p.impact.description,config:p.impact.truncation})}))]})),p.impact&&p.contentBlocks&&p.contentBlocks.length>0&&i("div",{className:f.divider}),null===(m=p.contentBlocks)||void 0===m?void 0:m.map(function(t,c){return n("div",e({className:f.contentBlock},{children:[i("span",e({className:f.contentBlockLabel},{children:t.label})),i("div",e({className:f.contentBlockText},{children:i(h,{content:t.content,config:t.truncation})}))]}),c)})]}))]}))}))]}))};export{E as AuditLogItem,b as DEFAULT_ACTION_CONFIGS};
|
|
2
|
+
//# sourceMappingURL=AuditLogPanelItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditLogPanelItem.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useState as o,useEffect as n}from"react";import{AuditLogPanel as a}from"./AuditLogPanel.js";import{transformBackendLogs as r,extractComparisonContext as l}from"./Services/AuditLogPanelAdapter.js";import{Trash2 as d,Bot as c,RotateCcw as s,ShieldAlert as p}from"lucide-react";var g={enabled:!0,lines:2,viewMoreLabel:"...View More",viewLessLabel:"View Less"},u={items:[{change_log_id:"log-1",changeTitle:"REVERTED",modifiedbyname:"Load Test",created_at:"2026-06-18T18:03:04.442613Z",actionType:"REVERTED",isLive:!0,changelog_metadata:[{property_name:"Union",property_value:{previous_value:{Union:"Contract redlining can significantly impact the outcome of a contract by identifying and modifying risky, unclear, or unfavorable terms. It helps reduce legal and financial exposure, improves clarity of obligations, and ensures compliance with company policies."},current_value:{Union:"latest value"}},metadata:{impact:"High priority union status change. High priority union status change. High priority union status change.",severity:"high",tags:["Linent","Grounded"]}}]},{change_log_id:"log-2",changeTitle:"ITERATED",actionType:"ITERATED",modifiedbyname:"AI Agent",created_at:"2026-06-19T10:00:00Z",ai_summary:"Shifted the risk to the vendor.",changelog_metadata:[]},{change_log_id:"log-3",changeTitle:"AI_SUGGESTED",actionType:"AI_SUGGESTED",modifiedbyname:"System Engine",created_at:"2026-06-20T14:30:00Z",changelog_metadata:[]},{change_log_id:"log-4",changeTitle:"REJECTED",modifiedbyname:"Hitesh",created_at:"2026-06-21T09:15:00Z",changelog_metadata:[]}],nextCursor:"eyJ0cyI6IjIwMjYtMDUtMjBUMTU6MTU6NDMuNTEzODM1KzAwOjAwIiwiY2lkIjoiMjA2NDI4YmItYTMzOS00NjkxLWI4ZjEtY2YwMGU4ZDA3YmY1Iiwib3JkZXIiOiJsYXRlc3RGaXJzdCJ9",hasNext:!0},h=function(){var h=o(!0),m=h[0],f=h[1],y=o([]);y[0];var b=y[1],x=o();x[0];var v=x[1],T=o(!0),I=T[0],E=T[1],w={emptyState:"No history found for this claim.",impactSectionTitle:"System Impact Score",changedToSuffix:"Changed To:",fromSuffix:"Before:"};return n(function(){setTimeout(function(){var e=u.items,i=r(e,w,g),t=l(e,{comparisonTitle:"Final Approved Text Vs. Original",comparisonLatestLabel:"Latest text",comparisonOriginalLabel:"Original text"},g);b(i),v(t),E(!1)},800)},[]),i("div",e({style:{padding:"40px",fontFamily:"system-ui",backgroundColor:"#f1f5f9",minHeight:"100vh"}},{children:[t("button",e({onClick:function(){return f(!0)},style:{padding:"12px 24px",background:"#0f172a",color:"white",borderRadius:"8px",cursor:"pointer",border:"none",fontWeight:"bold"}},{children:"Open Redline Sandbox"})),t(a,{getData:{baseUrl:"https://dev.appmod.ai",endpoint:"/changelog/audit-log/fetch",configId:"6a3e5ddeb4d25cd1bfe68c56",method:"POST"},distinctValuesApi:{baseUrl:"https://dev.appmod.ai",endpoint:"/changelog/audit-log/distinct-values"},query:{externalResourceId:["173a1acc-3266-48c2-85b3-5c45d006945b"],paginationLimit:10},filters:{config:{showFilterButton:!0,showSort:!0,showDateFilter:!0,showSearch:!0,showAnalystFilter:!0,showChangeTitleFilter:!0,showImpactPercentage:!0,sortOptions:{latest:!1,oldest:!0},showApplyButton:!0},labels:{impactHintLabel:"This is hint for impact label"},impactRangeLimits:{min:-100,max:100}},truncationConfig:g,isOpen:m,onClose:function(){return f(!1)},title:"Redline Master History",subtitle:"Tracking all modifications and AI iterations",dataSourceMode:"internal",loading:I,labels:w,filterDisplayMode:"popup",comparisonContext:void 0,globalIcons:{actionTypes:{REJECTED:t(d,{size:16,color:"#dc2626"})}},renderItemHeaderLeft:function(o){var n;return"ITERATED"===(null===(n=o.rawPayload)||void 0===n?void 0:n.changeTitle)?i("div",e({style:{display:"flex",gap:"12px",alignItems:"center"}},{children:[t("div",e({style:{padding:"8px",background:"#fdf4ff",borderRadius:"8px",border:"1px solid #f0abfc"}},{children:t(c,{size:20,color:"#c026d3"})})),i("div",{children:[t("div",e({style:{color:"#c026d3",fontWeight:"bold",fontSize:"14px"}},{children:"AI Agent Suggestion"})),t("div",e({style:{fontSize:"11px",color:"#64748b"}},{children:"Awaiting your approval..."}))]})]})):null},renderItemHeaderRight:function(o,n,a){var r;return"REJECTED"===(null===(r=o.rawPayload)||void 0===r?void 0:r.changeTitle)?i("div",e({style:{display:"flex",alignItems:"center",gap:"12px"}},{children:[i("button",e({onClick:function(e){e.stopPropagation(),alert("Restoring Redline...")},style:{display:"flex",gap:"4px",alignItems:"center",padding:"4px 8px",borderRadius:"4px",border:"1px solid #cbd5e1",cursor:"pointer",background:"white",fontSize:"11px",fontWeight:600,color:"#334155"}},{children:[t(s,{size:12})," Restore"]})),t("span",e({style:{fontSize:"11px",color:"#94a3b8"}},{children:o.timestamp})),t("span",e({style:{color:"#94a3b8"}},{children:n?"▲":"▼"}))]})):null},renderItemExpandedBody:function(o,n){var a;return"ITERATED"===(null===(a=o.rawPayload)||void 0===a?void 0:a.changeTitle)?i("div",e({style:{padding:"16px",background:"#f8fafc",borderRadius:"8px",border:"1px dashed #cbd5e1",display:"flex",flexDirection:"column",gap:"12px"}},{children:[i("div",e({style:{display:"flex",gap:"8px",alignItems:"center",color:"#0f172a",fontWeight:"bold"}},{children:[t(p,{size:16,color:"#eab308"}),"Custom Iteration Review"]})),i("div",e({style:{fontSize:"13px",color:"#475569"}},{children:[t("strong",{children:"AI Summary: "})," ",o.rawPayload.ai_summary]})),i("div",e({style:{display:"flex",gap:"8px"}},{children:[t("button",e({onClick:n.collapse,style:{padding:"6px 12px",background:"#e2e8f0",border:"none",borderRadius:"4px",fontSize:"12px",cursor:"pointer",fontWeight:600}},{children:"Close View"})),t("button",e({style:{padding:"6px 12px",background:"#2563eb",color:"white",border:"none",borderRadius:"4px",fontSize:"12px",cursor:"pointer",fontWeight:600}},{children:"Approve Changes"}))]}))]})):null}})]}))};export{h as AuditLogSandbox};
|
|
2
|
+
//# sourceMappingURL=AuditLogSandBox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditLogSandBox.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as n}from"../../_virtual/_tslib.js";import{jsx as t,jsxs as e,Fragment as o}from"react/jsx-runtime";import{useState as l,useRef as i,useEffect as r}from"react";import{Markdown as c}from"../../node_modules/react-markdown/lib/index.js";import a from"./AuditLogPanel.module.css.js";var u=function(e){var o=e.content;return t("div",n({className:a.markdown},{children:t(c,{children:o})}))},s=function(n){var e=n.content;return"string"==typeof e?t(u,{content:e}):t(o,{children:e})},d=function(o){var c,u=o.content,d=o.config,v=o.globalClasses,m=o.globalStyles,f=l(!1),g=f[0],p=f[1],b=l(!1),x=b[0],h=b[1],w=i(null),C=null!==(c=null==d?void 0:d.enabled)&&void 0!==c&&c,L=(null==d?void 0:d.lines)||2,y=(null==d?void 0:d.maxExpandedHeight)||"120px";return r(function(){var n=w.current;if(n&&C){var t=function(){window.requestAnimationFrame(function(){n&&h(n.scrollHeight>n.clientHeight)})},e=new ResizeObserver(t);return e.observe(n),t(),function(){return e.disconnect()}}},[u,C]),C?e("div",n({className:"".concat(a.truncateContainer," ").concat((null==v?void 0:v.truncateContainer)||""," ").concat((null==d?void 0:d.className)||""),style:n(n({},null==m?void 0:m.truncateContainer),null==d?void 0:d.style)},{children:[t("div",n({ref:w,className:"".concat(a.truncateText," ").concat(g?a.truncateExpandedScrollable:""," ").concat((null==v?void 0:v.truncateText)||""),style:n(n({},null==m?void 0:m.truncateText),{WebkitLineClamp:g?"unset":L,maxHeight:g?y:"unset"})},{children:t(s,{content:u})})),(x||g)&&t("button",n({onClick:function(n){n.stopPropagation(),p(!g)},className:"".concat(a.toggleBtn," ").concat((null==v?void 0:v.toggleBtn)||"")},{children:g?(null==d?void 0:d.viewLessLabel)||"View Less":(null==d?void 0:d.viewMoreLabel)||"...View More"}))]})):t(s,{content:u})};export{u as MarkdownRenderer,s as SmartContent,d as TruncatedText};
|
|
2
|
+
//# sourceMappingURL=CommonUI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommonUI.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../_virtual/_tslib.js";import{jsx as l,jsxs as a,Fragment as t}from"react/jsx-runtime";import{useState as i}from"react";import{ChevronUp as n,ChevronDown as o}from"lucide-react";import{TruncatedText as r}from"./CommonUI.js";import c from"./AuditLogPanel.module.css.js";var d=function(d){var s=d.data,m=d.globalClasses,p=d.globalStyles,g=d.globalIcons,v=i(s.isInitiallyExpanded||!1),u=v[0],x=v[1],h={isExpanded:u,expand:function(){return x(!0)},collapse:function(){return x(!1)},toggle:function(){return x(!u)}},f=(null==g?void 0:g.chevronUp)||l(n,{size:18}),b=(null==g?void 0:g.chevronDown)||l(o,{size:18});return a("div",e({className:"".concat(c.compCard," ").concat((null==m?void 0:m.compCard)||""," ").concat(s.className||""),style:e(e({},null==p?void 0:p.compCard),s.style)},{children:[a("div",e({onClick:h.toggle,className:c.compHeader},{children:[l("div",e({className:c.compTitle},{children:s.renderHeaderLeft?s.renderHeaderLeft():s.title||"Deviation Summary"})),l("div",e({className:c.compIcon},{children:s.renderHeaderRight?s.renderHeaderRight(u,h):u?f:b}))]})),u&&l("div",e({className:c.compBody},{children:s.renderExpandedBody?s.renderExpandedBody(h):a(t,{children:[s.latestText&&a("div",{children:[l("div",e({className:c.compSectionLabel},{children:s.latestTextLabel||"Latest Text"})),l("div",e({className:c.compLatestText},{children:l(r,{content:s.latestText,config:s.truncation,globalClasses:m,globalStyles:p})}))]}),s.originalText&&a("div",e({style:{marginTop:"12px"}},{children:[l("div",e({className:c.compSectionLabel},{children:s.originalTextLabel||"Original Text"})),l("div",e({className:c.compOriginalText},{children:l(r,{content:s.originalText,config:s.truncation,globalClasses:m,globalStyles:p})}))]}))]})}))]}))};export{d as ComparisonSummaryCard};
|
|
2
|
+
//# sourceMappingURL=ComparisonSummaryCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonSummaryCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|