@burdenoff/microfe-store 2026.720.3 → 2026.721.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/components/MarkdownEditor.js +5 -5
- package/dist/components/MarkdownEditor.js.map +1 -1
- package/dist/generated/global-operations.d.ts +18 -0
- package/dist/generated/global-operations.js +16 -0
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2 -0
- package/dist/generated/global-types.js.map +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +8 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +93 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/dist/node_modules/bail/index.js +8 -0
- package/dist/node_modules/bail/index.js.map +1 -0
- package/dist/node_modules/comma-separated-tokens/index.js +9 -0
- package/dist/node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +12 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
- package/dist/node_modules/devlop/lib/default.js +7 -0
- package/dist/node_modules/devlop/lib/default.js.map +1 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +9 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
- package/dist/node_modules/extend/index.js +42 -0
- package/dist/node_modules/extend/index.js.map +1 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +255 -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 +12 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +38 -0
- package/dist/node_modules/html-url-attributes/lib/index.js.map +1 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +92 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js.map +1 -0
- package/dist/node_modules/is-plain-obj/index.js +10 -0
- package/dist/node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +559 -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 +105 -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 +14 -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 +17 -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 +24 -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 +14 -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 +14 -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 +32 -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 +14 -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 +14 -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 +23 -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 +17 -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 +58 -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 +19 -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 +20 -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 +17 -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 +61 -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 +22 -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 +14 -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 +12 -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 +14 -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 +14 -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 +26 -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 +37 -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 +13 -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 +14 -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 +21 -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 +22 -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 +110 -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 +26 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/node_modules/micromark/lib/constructs.js +82 -0
- package/dist/node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +179 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +36 -0
- package/dist/node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +104 -0
- package/dist/node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +27 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +88 -0
- package/dist/node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/node_modules/micromark/lib/parse.js +31 -0
- package/dist/node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/node_modules/micromark/lib/postprocess.js +10 -0
- package/dist/node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/node_modules/micromark/lib/preprocess.js +34 -0
- package/dist/node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +116 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +45 -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 +20 -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 +40 -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 +19 -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 +31 -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 +91 -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 +45 -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 +45 -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 +49 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +62 -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 +19 -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 +69 -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 +143 -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 +102 -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 +160 -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 +25 -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 +22 -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 +16 -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 +80 -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 +61 -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 +27 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/node_modules/micromark-factory-destination/index.js +28 -0
- package/dist/node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-label/index.js +22 -0
- package/dist/node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-space/index.js +16 -0
- package/dist/node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +14 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/node_modules/micromark-util-character/index.js +26 -0
- package/dist/node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/node_modules/micromark-util-chunked/index.js +13 -0
- package/dist/node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +28 -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 +9 -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 +19 -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 +11 -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 +8 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +13 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +20 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +37 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +59 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/dist/node_modules/property-information/index.js +28 -0
- package/dist/node_modules/property-information/index.js.map +1 -0
- package/dist/node_modules/property-information/lib/aria.js +63 -0
- package/dist/node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/find.js.map +1 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +24 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js.map +1 -0
- package/dist/node_modules/property-information/lib/html.js +328 -0
- package/dist/node_modules/property-information/lib/html.js.map +1 -0
- package/dist/node_modules/property-information/lib/normalize.js +8 -0
- package/dist/node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/node_modules/property-information/lib/svg.js +566 -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 +9 -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 +8 -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 +16 -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 +20 -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 +11 -0
- package/dist/node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/merge.js +11 -0
- package/dist/node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/schema.js +11 -0
- package/dist/node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/node_modules/property-information/lib/util/types.js +18 -0
- package/dist/node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/node_modules/property-information/lib/xlink.js +21 -0
- package/dist/node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/node_modules/property-information/lib/xml.js +17 -0
- package/dist/node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/node_modules/property-information/lib/xmlns.js +16 -0
- package/dist/node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/node_modules/react-markdown/lib/index.js +142 -0
- package/dist/node_modules/react-markdown/lib/index.js.map +1 -0
- package/dist/node_modules/remark-parse/lib/index.js +18 -0
- package/dist/node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/node_modules/remark-rehype/lib/index.js +20 -0
- package/dist/node_modules/remark-rehype/lib/index.js.map +1 -0
- package/dist/node_modules/space-separated-tokens/index.js +8 -0
- package/dist/node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/node_modules/style-to-js/cjs/index.js +21 -0
- package/dist/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/dist/node_modules/style-to-object/cjs/index.js +25 -0
- package/dist/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/dist/node_modules/trim-lines/index.js +23 -0
- package/dist/node_modules/trim-lines/index.js.map +1 -0
- package/dist/node_modules/trough/lib/index.js +52 -0
- package/dist/node_modules/trough/lib/index.js.map +1 -0
- package/dist/node_modules/unified/lib/callable-instance.js +11 -0
- package/dist/node_modules/unified/lib/callable-instance.js.map +1 -0
- package/dist/node_modules/unified/lib/index.js +163 -0
- package/dist/node_modules/unified/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-is/lib/index.js +49 -0
- package/dist/node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/node_modules/unist-util-position/lib/index.js +24 -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 +17 -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 +14 -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 +8 -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 +38 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/node_modules/vfile/lib/index.js +91 -0
- package/dist/node_modules/vfile/lib/index.js.map +1 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +101 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +9 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +33 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +8 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/node_modules/vfile-message/lib/index.js +26 -0
- package/dist/node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/pages/AdminSubmissionsQueuePage.js +174 -174
- package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
- package/dist/pages/MarketplaceHomePage.js +472 -422
- package/dist/pages/MarketplaceHomePage.js.map +1 -1
- package/dist/pages/ProductDetailPage.js +469 -440
- package/dist/pages/ProductDetailPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), s = (e, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in e) t(r, i, {
|
|
5
|
+
get: e[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
}, c = (e, i, o, s) => {
|
|
10
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
11
|
+
get: ((e) => i[e]).bind(null, d),
|
|
12
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
|
+
});
|
|
14
|
+
return e;
|
|
15
|
+
}, l = (n, r, a) => (a = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule ? t(a, "default", {
|
|
16
|
+
value: n,
|
|
17
|
+
enumerable: !0
|
|
18
|
+
}) : a, n));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { o as __commonJSMin, s as __exportAll, l as __toESM };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Markdown as e } from "../node_modules/react-markdown/lib/index.js";
|
|
2
|
+
import { useMemo as t, useRef as n, useState as r } from "react";
|
|
3
3
|
import { Bold as i, Code as a, Italic as o, Link as s, List as c } from "lucide-react";
|
|
4
4
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/MarkdownEditor.tsx
|
|
@@ -18,7 +18,7 @@ var d = (e, t, n = t) => {
|
|
|
18
18
|
let d = r, f = r + u.length;
|
|
19
19
|
n.setSelectionRange(d, f), n.dispatchEvent(new Event("input", { bubbles: !0 }));
|
|
20
20
|
}, p = ({ id: p, value: m, onChange: h, label: g, placeholder: _, rows: v = 5, className: y = "" }) => {
|
|
21
|
-
let b =
|
|
21
|
+
let b = n(null), [x, S] = r("write"), C = (e) => `rounded-md px-2.5 py-1 text-xs font-medium transition-colors ${x === e ? "bg-surface-accent text-text-on-accent" : "text-text-secondary hover:bg-surface-hover hover:text-text-primary"}`, w = "inline-flex items-center justify-center rounded-md p-1.5 text-text-secondary transition-colors hover:bg-surface-hover hover:text-text-primary", T = t(() => m, [m]);
|
|
22
22
|
return /* @__PURE__ */ u("div", {
|
|
23
23
|
className: `space-y-2 ${y}`,
|
|
24
24
|
children: [g && /* @__PURE__ */ l("label", {
|
|
@@ -100,9 +100,9 @@ var d = (e, t, n = t) => {
|
|
|
100
100
|
className: "w-full resize-y bg-surface-default px-3 py-2 text-sm text-text-primary placeholder:text-text-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]"
|
|
101
101
|
}) : /* @__PURE__ */ l("div", {
|
|
102
102
|
className: "min-h-[theme(spacing.32)] bg-surface-default px-3 py-2",
|
|
103
|
-
children: m.trim() ? /* @__PURE__ */ l(
|
|
103
|
+
children: m.trim() ? /* @__PURE__ */ l("div", {
|
|
104
104
|
className: "text-sm text-text-primary",
|
|
105
|
-
children: T
|
|
105
|
+
children: /* @__PURE__ */ l(e, { children: T })
|
|
106
106
|
}) : /* @__PURE__ */ l("p", {
|
|
107
107
|
className: "text-sm text-text-muted italic",
|
|
108
108
|
children: "Nothing to preview."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditor.js","names":[],"sources":["../../src/components/MarkdownEditor.tsx"],"sourcesContent":["import type { FC, ReactNode, RefObject } from 'react';\nimport { useMemo, useRef, useState } from 'react';\nimport { Bold, Italic, Link, Code, List } from 'lucide-react';\nimport
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.js","names":[],"sources":["../../src/components/MarkdownEditor.tsx"],"sourcesContent":["import type { FC, ReactNode, RefObject } from 'react';\nimport { useMemo, useRef, useState } from 'react';\nimport { Bold, Italic, Link, Code, List } from 'lucide-react';\nimport Markdown from 'react-markdown';\n\nexport interface MarkdownEditorProps {\n id?: string;\n value: string;\n onChange: (value: string) => void;\n label?: ReactNode;\n placeholder?: string;\n rows?: number;\n className?: string;\n}\n\ntype Tab = 'write' | 'preview';\n\nconst applyWrap = (\n textareaRef: RefObject<HTMLTextAreaElement | null>,\n prefix: string,\n suffix: string = prefix\n) => {\n const el = textareaRef.current;\n if (!el) return;\n\n const { selectionStart, selectionEnd, value } = el;\n const before = value.slice(0, selectionStart);\n const selected = value.slice(selectionStart, selectionEnd);\n const after = value.slice(selectionEnd);\n\n const replacement = `${prefix}${selected}${suffix}`;\n const nextValue = `${before}${replacement}${after}`;\n\n el.value = nextValue;\n el.focus();\n\n const cursorOffset = selected.length === 0 ? prefix.length : selected.length + prefix.length;\n const nextCursor = selectionStart + cursorOffset;\n el.setSelectionRange(nextCursor, nextCursor);\n\n // Dispatch an input event so parent onChange handlers are notified.\n el.dispatchEvent(new Event('input', { bubbles: true }));\n};\n\nconst applyLinePrefix = (textareaRef: RefObject<HTMLTextAreaElement | null>, prefix: string) => {\n const el = textareaRef.current;\n if (!el) return;\n\n const { selectionStart, selectionEnd, value } = el;\n const before = value.slice(0, selectionStart);\n const selected = value.slice(selectionStart, selectionEnd);\n const after = value.slice(selectionEnd);\n\n const lines = selected.split('\\n');\n const prefixedLines = lines.every((line) => line === '' || line.startsWith(prefix))\n ? lines.map((line) => (line.startsWith(prefix) ? line.slice(prefix.length) : line)).join('\\n')\n : lines.map((line) => `${prefix}${line}`).join('\\n');\n\n const replacement = prefixedLines;\n const nextValue = `${before}${replacement}${after}`;\n\n el.value = nextValue;\n el.focus();\n\n const nextCursorStart = selectionStart;\n const nextCursorEnd = selectionStart + replacement.length;\n el.setSelectionRange(nextCursorStart, nextCursorEnd);\n\n el.dispatchEvent(new Event('input', { bubbles: true }));\n};\n\nexport const MarkdownEditor: FC<MarkdownEditorProps> = ({\n id,\n value,\n onChange,\n label,\n placeholder,\n rows = 5,\n className = '',\n}) => {\n const textareaRef = useRef<HTMLTextAreaElement>(null);\n const [activeTab, setActiveTab] = useState<Tab>('write');\n\n const tabButtonClass = (tab: Tab) =>\n `rounded-md px-2.5 py-1 text-xs font-medium transition-colors ${\n activeTab === tab\n ? 'bg-surface-accent text-text-on-accent'\n : 'text-text-secondary hover:bg-surface-hover hover:text-text-primary'\n }`;\n\n const toolbarButtonClass =\n 'inline-flex items-center justify-center rounded-md p-1.5 text-text-secondary transition-colors hover:bg-surface-hover hover:text-text-primary';\n\n const memoizedValue = useMemo(() => value, [value]);\n\n return (\n <div className={`space-y-2 ${className}`}>\n {label && (\n <label htmlFor={id} className=\"block text-xs text-text-secondary\">\n {label}\n </label>\n )}\n\n <div className=\"overflow-hidden rounded-lg border border-border-default bg-surface-default\">\n <div className=\"flex items-center justify-between border-b border-border-default px-2 py-1.5\">\n <div className=\"flex items-center gap-1\">\n <button\n type=\"button\"\n onClick={() => setActiveTab('write')}\n className={tabButtonClass('write')}\n aria-pressed={activeTab === 'write'}\n >\n Write\n </button>\n <button\n type=\"button\"\n onClick={() => setActiveTab('preview')}\n className={tabButtonClass('preview')}\n aria-pressed={activeTab === 'preview'}\n >\n Preview\n </button>\n </div>\n\n <div className=\"flex items-center gap-0.5\" aria-label=\"Markdown formatting\">\n <button\n type=\"button\"\n onClick={() => applyWrap(textareaRef, '**')}\n className={toolbarButtonClass}\n title=\"Bold\"\n aria-label=\"Bold\"\n >\n <Bold className=\"size-3.5\" />\n </button>\n <button\n type=\"button\"\n onClick={() => applyWrap(textareaRef, '_')}\n className={toolbarButtonClass}\n title=\"Italic\"\n aria-label=\"Italic\"\n >\n <Italic className=\"size-3.5\" />\n </button>\n <button\n type=\"button\"\n onClick={() => applyWrap(textareaRef, '[', '](url)')}\n className={toolbarButtonClass}\n title=\"Link\"\n aria-label=\"Link\"\n >\n <Link className=\"size-3.5\" />\n </button>\n <button\n type=\"button\"\n onClick={() => applyWrap(textareaRef, '`')}\n className={toolbarButtonClass}\n title=\"Inline code\"\n aria-label=\"Inline code\"\n >\n <Code className=\"size-3.5\" />\n </button>\n <button\n type=\"button\"\n onClick={() => applyLinePrefix(textareaRef, '- ')}\n className={toolbarButtonClass}\n title=\"Bullet list\"\n aria-label=\"Bullet list\"\n >\n <List className=\"size-3.5\" />\n </button>\n </div>\n </div>\n\n {activeTab === 'write' ? (\n <textarea\n ref={textareaRef}\n id={id}\n value={value}\n onChange={(e) => onChange(e.target.value)}\n placeholder={placeholder}\n rows={rows}\n className=\"w-full resize-y bg-surface-default px-3 py-2 text-sm text-text-primary placeholder:text-text-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]\"\n />\n ) : (\n <div className=\"min-h-[theme(spacing.32)] bg-surface-default px-3 py-2\">\n {value.trim() ? (\n <div className=\"text-sm text-text-primary\">\n <Markdown>{memoizedValue}</Markdown>\n </div>\n ) : (\n <p className=\"text-sm text-text-muted italic\">Nothing to preview.</p>\n )}\n </div>\n )}\n </div>\n </div>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EAAU,GAAa,IAAI;OAC1C,WAAW;OACX,OAAM;OACN,cAAW;iBAEX,kBAAC,GAAD,EAAM,WAAU,YAAa,CAAA;OACtB,CAAA;MACT,kBAAC,UAAD;OACE,MAAK;OACL,eAAe,EAAgB,GAAa,KAAK;OACjD,WAAW;OACX,OAAM;OACN,cAAW;iBAEX,kBAAC,GAAD,EAAM,WAAU,YAAa,CAAA;OACtB,CAAA;MACL;OACF;OAEL,MAAc,UACb,kBAAC,YAAD;IACE,KAAK;IACD;IACG;IACP,WAAW,MAAM,EAAS,EAAE,OAAO,MAAM;IAC5B;IACP;IACN,WAAU;IACV,CAAA,GAEF,kBAAC,OAAD;IAAK,WAAU;cACZ,EAAM,MAAM,GACX,kBAAC,OAAD;KAAK,WAAU;eACb,kBAAC,GAAD,EAAA,UAAW,GAAyB,CAAA;KAChC,CAAA,GAEN,kBAAC,KAAD;KAAG,WAAU;eAAiC;KAAuB,CAAA;IAEnE,CAAA,CAEJ;KACF"}
|
|
@@ -943,6 +943,15 @@ export type StoreProductDetailsQuery = {
|
|
|
943
943
|
websiteUrl?: string | null;
|
|
944
944
|
bio?: string | null;
|
|
945
945
|
email: string;
|
|
946
|
+
organizationId?: string | null;
|
|
947
|
+
developerOrganization?: {
|
|
948
|
+
__typename?: 'DeveloperOrganization';
|
|
949
|
+
id: string;
|
|
950
|
+
name: string;
|
|
951
|
+
logoUrl?: string | null;
|
|
952
|
+
isVerified: boolean;
|
|
953
|
+
description?: string | null;
|
|
954
|
+
} | null;
|
|
946
955
|
} | null;
|
|
947
956
|
};
|
|
948
957
|
publisher?: {
|
|
@@ -954,6 +963,15 @@ export type StoreProductDetailsQuery = {
|
|
|
954
963
|
websiteUrl?: string | null;
|
|
955
964
|
bio?: string | null;
|
|
956
965
|
email: string;
|
|
966
|
+
organizationId?: string | null;
|
|
967
|
+
developerOrganization?: {
|
|
968
|
+
__typename?: 'DeveloperOrganization';
|
|
969
|
+
id: string;
|
|
970
|
+
name: string;
|
|
971
|
+
logoUrl?: string | null;
|
|
972
|
+
isVerified: boolean;
|
|
973
|
+
description?: string | null;
|
|
974
|
+
} | null;
|
|
957
975
|
} | null;
|
|
958
976
|
relatedProducts: Array<{
|
|
959
977
|
__typename?: 'StoreProduct';
|
|
@@ -1286,6 +1286,14 @@ var Y = t`
|
|
|
1286
1286
|
websiteUrl
|
|
1287
1287
|
bio
|
|
1288
1288
|
email
|
|
1289
|
+
organizationId
|
|
1290
|
+
developerOrganization {
|
|
1291
|
+
id
|
|
1292
|
+
name
|
|
1293
|
+
logoUrl
|
|
1294
|
+
isVerified
|
|
1295
|
+
description
|
|
1296
|
+
}
|
|
1289
1297
|
}
|
|
1290
1298
|
}
|
|
1291
1299
|
publisher {
|
|
@@ -1296,6 +1304,14 @@ var Y = t`
|
|
|
1296
1304
|
websiteUrl
|
|
1297
1305
|
bio
|
|
1298
1306
|
email
|
|
1307
|
+
organizationId
|
|
1308
|
+
developerOrganization {
|
|
1309
|
+
id
|
|
1310
|
+
name
|
|
1311
|
+
logoUrl
|
|
1312
|
+
isVerified
|
|
1313
|
+
description
|
|
1314
|
+
}
|
|
1299
1315
|
}
|
|
1300
1316
|
relatedProducts {
|
|
1301
1317
|
id
|